#2F2FB9#2F2FB9
#2F2FB9 is a dark, highly saturated blue. Relative luminance 0.061; OKLCH L 41.4% C 0.208 H 272.6°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).
Color values
| HEX | #2F2FB9 |
|---|---|
| RGB | rgb(47, 47, 185) |
| HSL | hsl(240, 59%, 45%) |
| HSV | hsv(240, 75%, 73%) |
| CMYK | cmyk(74.6%, 74.6%, 0%, 27.5%) |
| CIE-LAB | lab(29.76, 46.00, -71.71) |
| CIE-LCH | lch(29.76, 85.20, 302.68°) |
| OKLab | oklab(41.41% 0.0096 -0.2075) |
| OKLCH | oklch(41.41% 0.208 272.6) |
| XYZ | xyz(10.9428, 6.1390, 46.4978) |
| Luminance | 0.0614 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.82
Indigo Blue
#3A18B1
ΔE00 4.75
True Blue
#010FCC
ΔE00 5.47
Blue With A Hint Of Purple
#533CC6
ΔE00 5.52
Blue Blue
#2242C7
ΔE00 5.58
Blurple
#5539CC
ΔE00 5.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F2FB9 #B9B92F
analogous
#2F74B9 #2F2FB9 #742FB9
triadic
#2F2FB9 #B92F2F #2FB92F
tetradic
#2F2FB9 #B92F74 #B9B92F #2FB974
square
#2F2FB9 #B92F74 #B9B92F #2FB974
split-complementary
#2F2FB9 #B9742F #74B92F
monochromatic
#161657 #232388 #2F2FB9 #5252D3 #8383DF
Accessibility & contrast
On white
9.43
#2F2FB9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.23
#2F2FB9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F2FB9
9.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F2FB9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F2FB9 | 1.00 | 9.43 | 2.23 | 9.43 |
| #FFFFFF | 9.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004DBD
Deuteranopia (green-blind)
#003FB7
Tritanopia (blue-blind)
#005772
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #2f2fb9; /* rgb */ color: rgb(47, 47, 185); /* oklch */ color: oklch(41.4% 0.208 272.6);
Tailwind
colors: {
custom: {
50: '#7e69cf',
500: '#2f2fb9',
950: '#000000',
},
}SCSS
$custom: #2f2fb9; $custom-light: #7e69cf; $custom-dark: #000000;
JSON
{
"hex": "#2f2fb9",
"rgb": {
"r": 47,
"g": 47,
"b": 185
},
"hsl": {
"h": 240,
"s": 59.483,
"l": 45.49
},
"oklch": {
"l": 0.41407,
"c": 0.20775,
"h": 272.6
},
"luminance": 0.0614
}Semantic roles & 50–950 ramp
primary
#2F2FB9
secondary
#C9C97B
accent
#E345E3
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82