#2F2EB8#2F2EB8
#2F2EB8 is a dark, highly saturated blue. Relative luminance 0.060; OKLCH L 41.2% C 0.208 H 272.8°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).
Color values
| HEX | #2F2EB8 |
|---|---|
| RGB | rgb(47, 46, 184) |
| HSL | hsl(240, 60%, 45%) |
| HSV | hsv(240, 75%, 72%) |
| CMYK | cmyk(74.5%, 75%, 0%, 27.8%) |
| CIE-LAB | lab(29.46, 46.22, -71.62) |
| CIE-LCH | lch(29.46, 85.24, 302.84°) |
| OKLab | oklab(41.16% 0.0102 -0.2073) |
| OKLCH | oklch(41.16% 0.208 272.8) |
| XYZ | xyz(10.7981, 6.0179, 45.9306) |
| Luminance | 0.0602 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.93
Indigo Blue
#3A18B1
ΔE00 4.50
True Blue
#010FCC
ΔE00 5.31
Blue With A Hint Of Purple
#533CC6
ΔE00 5.69
Blue Blue
#2242C7
ΔE00 5.85
Blurple
#5539CC
ΔE00 5.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F2EB8 #B7B82E
analogous
#2E72B8 #2F2EB8 #742EB8
triadic
#2F2EB8 #B82F2E #2EB82F
tetradic
#2F2EB8 #B82E72 #B7B82E #2EB874
square
#2F2EB8 #B82E72 #B7B82E #2EB874
split-complementary
#2F2EB8 #B8742E #72B82E
monochromatic
#161656 #222287 #2F2EB8 #5150D3 #8281DF
Accessibility & contrast
On white
9.53
#2F2EB8 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.20
#2F2EB8 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F2EB8
9.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F2EB8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F2EB8 | 1.00 | 9.53 | 2.20 | 9.53 |
| #FFFFFF | 9.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004CBC
Deuteranopia (green-blind)
#003FB6
Tritanopia (blue-blind)
#005671
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #2f2eb8; /* rgb */ color: rgb(47, 46, 184); /* oklch */ color: oklch(41.2% 0.208 272.8);
Tailwind
colors: {
custom: {
50: '#7e69cf',
500: '#2f2eb8',
950: '#000000',
},
}SCSS
$custom: #2f2eb8; $custom-light: #7e69cf; $custom-dark: #000000;
JSON
{
"hex": "#2f2eb8",
"rgb": {
"r": 47,
"g": 46,
"b": 184
},
"hsl": {
"h": 240.435,
"s": 60,
"l": 45.098
},
"oklch": {
"l": 0.41161,
"c": 0.20751,
"h": 272.8
},
"luminance": 0.06019
}Semantic roles & 50–950 ramp
primary
#2F2EB8
secondary
#C8C879
accent
#E345E2
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82