#2F199F#2F199F
#2F199F is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.8% C 0.196 H 277.4°. Best body text is #FFFFFF at 11.93:1 contrast (WCAG AA passes).
Color values
| HEX | #2F199F |
|---|---|
| RGB | rgb(47, 25, 159) |
| HSL | hsl(250, 73%, 36%) |
| HSV | hsv(250, 84%, 62%) |
| CMYK | cmyk(70.4%, 84.3%, 0%, 37.6%) |
| CIE-LAB | lab(23.01, 48.93, -67.25) |
| CIE-LCH | lch(23.01, 83.17, 306.04°) |
| OKLab | oklab(35.84% 0.0251 -0.1943) |
| OKLCH | oklch(35.84% 0.196 277.4) |
| XYZ | xyz(7.7759, 3.8021, 33.1183) |
| Luminance | 0.0380 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.77
Cobalt Blue
#030AA7
ΔE00 3.14
Royal
#0C1793
ΔE00 3.28
Ultramarine
#2000B1
ΔE00 3.39
Royal Blue (survey)
#0504AA
ΔE00 3.47
Indigo (survey)
#380282
ΔE00 5.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F199F #899F19
analogous
#19469F #2F199F #72199F
triadic
#2F199F #9F2F19 #199F2F
tetradic
#2F199F #9F1946 #899F19 #199F72
square
#2F199F #9F1946 #899F19 #199F72
split-complementary
#2F199F #9F7219 #469F19
monochromatic
#100835 #1F116A #2F199F #3F21D4 #674FE3
Accessibility & contrast
On white
11.93
#2F199F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.76
#2F199F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F199F
11.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F199F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F199F | 1.00 | 11.93 | 1.76 | 11.93 |
| #FFFFFF | 11.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003CA3
Deuteranopia (green-blind)
#00319D
Tritanopia (blue-blind)
#00445E
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #2f199f; /* rgb */ color: rgb(47, 25, 159); /* oklch */ color: oklch(35.8% 0.196 277.4);
Tailwind
colors: {
custom: {
50: '#7a5bbd',
500: '#2f199f',
950: '#000000',
},
}SCSS
$custom: #2f199f; $custom-light: #7a5bbd; $custom-dark: #000000;
JSON
{
"hex": "#2f199f",
"rgb": {
"r": 47,
"g": 25,
"b": 159
},
"hsl": {
"h": 249.851,
"s": 72.826,
"l": 36.078
},
"oklch": {
"l": 0.35835,
"c": 0.19591,
"h": 277.4
},
"luminance": 0.03803
}Semantic roles & 50–950 ramp
primary
#2F199F
secondary
#B2C64E
accent
#F038D1
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981