#2F2EBA#2F2EBA
#2F2EBA is a dark, highly saturated blue. Relative luminance 0.061; OKLCH L 41.4% C 0.210 H 272.7°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).
Color values
| HEX | #2F2EBA |
|---|---|
| RGB | rgb(47, 46, 186) |
| HSL | hsl(240, 60%, 45%) |
| HSV | hsv(240, 75%, 73%) |
| CMYK | cmyk(74.7%, 75.3%, 0%, 27.1%) |
| CIE-LAB | lab(29.67, 46.88, -72.46) |
| CIE-LCH | lch(29.67, 86.30, 302.90°) |
| OKLab | oklab(41.37% 0.0098 -0.2097) |
| OKLCH | oklch(41.37% 0.21 272.7) |
| XYZ | xyz(11.0092, 6.1023, 47.0425) |
| Luminance | 0.0610 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.06
Indigo Blue
#3A18B1
ΔE00 4.55
True Blue
#010FCC
ΔE00 5.23
Blue With A Hint Of Purple
#533CC6
ΔE00 5.56
Blue Blue
#2242C7
ΔE00 5.76
Blurple
#5539CC
ΔE00 5.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F2EBA #B9BA2E
analogous
#2E73BA #2F2EBA #752EBA
triadic
#2F2EBA #BA2F2E #2EBA2F
tetradic
#2F2EBA #BA2E73 #B9BA2E #2EBA75
square
#2F2EBA #BA2E73 #B9BA2E #2EBA75
split-complementary
#2F2EBA #BA752E #73BA2E
monochromatic
#161658 #232289 #2F2EBA #5251D4 #8382E0
Accessibility & contrast
On white
9.46
#2F2EBA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.22
#2F2EBA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F2EBA
9.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F2EBA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F2EBA | 1.00 | 9.46 | 2.22 | 9.46 |
| #FFFFFF | 9.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004DBE
Deuteranopia (green-blind)
#003FB8
Tritanopia (blue-blind)
#005772
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #2f2eba; /* rgb */ color: rgb(47, 46, 186); /* oklch */ color: oklch(41.4% 0.210 272.7);
Tailwind
colors: {
custom: {
50: '#7e69d0',
500: '#2f2eba',
950: '#000000',
},
}SCSS
$custom: #2f2eba; $custom-light: #7e69d0; $custom-dark: #000000;
JSON
{
"hex": "#2f2eba",
"rgb": {
"r": 47,
"g": 46,
"b": 186
},
"hsl": {
"h": 240.429,
"s": 60.345,
"l": 45.49
},
"oklch": {
"l": 0.41373,
"c": 0.20992,
"h": 272.7
},
"luminance": 0.06103
}Semantic roles & 50–950 ramp
primary
#2F2EBA
secondary
#C9C97B
accent
#E344E2
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83