#2C199E#2C199E
#2C199E is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.5% C 0.195 H 276.2°. Best body text is #FFFFFF at 12.07:1 contrast (WCAG AA passes).
Color values
| HEX | #2C199E |
|---|---|
| RGB | rgb(44, 25, 158) |
| HSL | hsl(249, 73%, 36%) |
| HSV | hsv(249, 84%, 62%) |
| CMYK | cmyk(72.2%, 84.2%, 0%, 38%) |
| CIE-LAB | lab(22.65, 48.40, -67.24) |
| CIE-LCH | lch(22.65, 82.85, 305.75°) |
| OKLab | oklab(35.49% 0.0211 -0.1943) |
| OKLCH | oklch(35.49% 0.195 276.2) |
| XYZ | xyz(7.5559, 3.6986, 32.6568) |
| Luminance | 0.0370 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.93
Cobalt Blue
#030AA7
ΔE00 2.97
Indigo Blue
#3A18B1
ΔE00 3.06
Royal Blue (survey)
#0504AA
ΔE00 3.35
Ultramarine
#2000B1
ΔE00 3.43
Darkblue
#00008B
ΔE00 5.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C199E #8B9E19
analogous
#19499E #2C199E #6E199E
triadic
#2C199E #9E2C19 #199E2C
tetradic
#2C199E #9E1949 #8B9E19 #199E6E
square
#2C199E #9E1949 #8B9E19 #199E6E
split-complementary
#2C199E #9E6E19 #499E19
monochromatic
#0F0834 #1D1169 #2C199E #3B21D3 #644EE3
Accessibility & contrast
On white
12.07
#2C199E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.74
#2C199E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C199E
12.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C199E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C199E | 1.00 | 12.07 | 1.74 | 12.07 |
| #FFFFFF | 12.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003BA2
Deuteranopia (green-blind)
#00309C
Tritanopia (blue-blind)
#00445E
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #2c199e; /* rgb */ color: rgb(44, 25, 158); /* oklch */ color: oklch(35.5% 0.195 276.2);
Tailwind
colors: {
custom: {
50: '#785bbc',
500: '#2c199e',
950: '#000000',
},
}SCSS
$custom: #2c199e; $custom-light: #785bbc; $custom-dark: #000000;
JSON
{
"hex": "#2c199e",
"rgb": {
"r": 44,
"g": 25,
"b": 158
},
"hsl": {
"h": 248.571,
"s": 72.678,
"l": 35.882
},
"oklch": {
"l": 0.35494,
"c": 0.19546,
"h": 276.2
},
"luminance": 0.03699
}Semantic roles & 50–950 ramp
primary
#2C199E
secondary
#B4C54E
accent
#EF38D5
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981