#2F2EB5#2F2EB5
#2F2EB5 is a dark, highly saturated blue. Relative luminance 0.059; OKLCH L 40.8% C 0.204 H 273.0°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).
Color values
| HEX | #2F2EB5 |
|---|---|
| RGB | rgb(47, 46, 181) |
| HSL | hsl(240, 59%, 45%) |
| HSV | hsv(240, 75%, 71%) |
| CMYK | cmyk(74%, 74.6%, 0%, 29%) |
| CIE-LAB | lab(29.14, 45.24, -70.36) |
| CIE-LCH | lch(29.14, 83.65, 302.74°) |
| OKLab | oklab(40.84% 0.0107 -0.2036) |
| OKLCH | oklch(40.84% 0.204 273) |
| XYZ | xyz(10.4870, 5.8934, 44.2920) |
| Luminance | 0.0590 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.75
Indigo Blue
#3A18B1
ΔE00 4.46
True Blue
#010FCC
ΔE00 5.46
Blue With A Hint Of Purple
#533CC6
ΔE00 5.91
Blue Blue
#2242C7
ΔE00 5.99
Ocean Blue
#4F42B5
ΔE00 6.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F2EB5 #B4B52E
analogous
#2E71B5 #2F2EB5 #722EB5
triadic
#2F2EB5 #B52F2E #2EB52F
tetradic
#2F2EB5 #B52E71 #B4B52E #2EB572
square
#2F2EB5 #B52E71 #B4B52E #2EB572
split-complementary
#2F2EB5 #B5722E #71B52E
monochromatic
#161553 #222284 #2F2EB5 #4F4ED2 #807FDE
Accessibility & contrast
On white
9.64
#2F2EB5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.18
#2F2EB5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F2EB5
9.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F2EB5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F2EB5 | 1.00 | 9.64 | 2.18 | 9.64 |
| #FFFFFF | 9.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004BB9
Deuteranopia (green-blind)
#003EB3
Tritanopia (blue-blind)
#00556F
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #2f2eb5; /* rgb */ color: rgb(47, 46, 181); /* oklch */ color: oklch(40.8% 0.204 273.0);
Tailwind
colors: {
custom: {
50: '#7d69cc',
500: '#2f2eb5',
950: '#000000',
},
}SCSS
$custom: #2f2eb5; $custom-light: #7d69cc; $custom-dark: #000000;
JSON
{
"hex": "#2f2eb5",
"rgb": {
"r": 47,
"g": 46,
"b": 181
},
"hsl": {
"h": 240.444,
"s": 59.471,
"l": 44.51
},
"oklch": {
"l": 0.40843,
"c": 0.20387,
"h": 273
},
"luminance": 0.05895
}Semantic roles & 50–950 ramp
primary
#2F2EB5
secondary
#C7C778
accent
#E345E1
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0B0614
muted
#7C7A82