#0500A3

A color in the Violet family

#0500a3 is a color in the Violet family: RGB(5, 0, 163), HSL(242°, 100%, 32%), CMYK(97%, 100%, 0%, 36%). Closest named color: darkblue. Contrast is 13.68:1 on white and 1.54:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#0500a3
RGBrgb(5 0 163)
RGB (legacy)rgb(5, 0, 163)
RGB %rgb(2% 0% 64%)
HSLhsl(242 100% 32%)
HSV / HSBhsv(242, 100%, 64%)
HWBhwb(242 0% 36%)
CMYKcmyk(97%, 100%, 0%, 36%)
CIELAB (D50)lab(16.77 48.94 -79.87)
LCHlch(16.77 93.68 301.5)
OKLaboklab(0.3247 -0.0197 -0.2222)
OKLCHoklch(0.3247 0.2231 264.95)
Decimal327843

Properties

Color ToneViolet
Closest named colordarkblue ΔE 4.4
Closest web-safe color#000099
Hue242°
Saturation (HSL / HSV)100% / 100%
Lightness (HSL)32%
Brightness or Value (HSV)64%
Luminance (Rec.601 / Rec.709)8% / 5%
Relative luminance (WCAG)0.0268
Red / Green / Blue5 / 0 / 163

WCAG 2.2 Contrast Ratio

On White (#ffffff)
13.68:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
1.54:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 97.5 / 0 · As background with white / black text: Lc -101 / 0

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #0500a3;
  --color-brand-oklch: oklch(32.47% 0.2231 264.95);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(5 0 163 / 50%); }
/* Tailwind CSS */
<div class="bg-[#0500a3] text-[#0500a3] border-[#0500a3]">