#2C199F#2C199F
#2C199F is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.6% C 0.197 H 276.1°. Best body text is #FFFFFF at 12.02:1 contrast (WCAG AA passes).
Color values
| HEX | #2C199F |
|---|---|
| RGB | rgb(44, 25, 159) |
| HSL | hsl(249, 73%, 36%) |
| HSV | hsv(249, 84%, 62%) |
| CMYK | cmyk(72.3%, 84.3%, 0%, 37.6%) |
| CIE-LAB | lab(22.77, 48.70, -67.65) |
| CIE-LCH | lch(22.77, 83.36, 305.75°) |
| OKLab | oklab(35.61% 0.0208 -0.1955) |
| OKLCH | oklch(35.61% 0.197 276.1) |
| XYZ | xyz(7.6423, 3.7332, 33.1120) |
| Luminance | 0.0373 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.94
Cobalt Blue
#030AA7
ΔE00 2.94
Royal
#0C1793
ΔE00 3.02
Royal Blue (survey)
#0504AA
ΔE00 3.31
Ultramarine
#2000B1
ΔE00 3.34
True Blue
#010FCC
ΔE00 5.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C199F #8C9F19
analogous
#19499F #2C199F #6F199F
triadic
#2C199F #9F2C19 #199F2C
tetradic
#2C199F #9F1949 #8C9F19 #199F6F
square
#2C199F #9F1949 #8C9F19 #199F6F
split-complementary
#2C199F #9F6F19 #499F19
monochromatic
#0F0835 #1D116A #2C199F #3B21D4 #644FE3
Accessibility & contrast
On white
12.02
#2C199F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.75
#2C199F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C199F
12.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C199F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C199F | 1.00 | 12.02 | 1.75 | 12.02 |
| #FFFFFF | 12.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003CA3
Deuteranopia (green-blind)
#00309D
Tritanopia (blue-blind)
#00445E
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #2c199f; /* rgb */ color: rgb(44, 25, 159); /* oklch */ color: oklch(35.6% 0.197 276.1);
Tailwind
colors: {
custom: {
50: '#795bbd',
500: '#2c199f',
950: '#000000',
},
}SCSS
$custom: #2c199f; $custom-light: #795bbd; $custom-dark: #000000;
JSON
{
"hex": "#2c199f",
"rgb": {
"r": 44,
"g": 25,
"b": 159
},
"hsl": {
"h": 248.507,
"s": 72.826,
"l": 36.078
},
"oklch": {
"l": 0.35611,
"c": 0.19662,
"h": 276.1
},
"luminance": 0.03734
}Semantic roles & 50–950 ramp
primary
#2C199F
secondary
#B5C64E
accent
#F038D6
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981