#2F2E90#2F2E90
#2F2E90 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.1% C 0.157 H 276.0°. Best body text is #FFFFFF at 10.97:1 contrast (WCAG AA passes).
Color values
| HEX | #2F2E90 |
|---|---|
| RGB | rgb(47, 46, 144) |
| HSL | hsl(241, 52%, 37%) |
| HSV | hsv(241, 68%, 56%) |
| CMYK | cmyk(67.4%, 68.1%, 0%, 43.5%) |
| CIE-LAB | lab(25.48, 32.60, -53.96) |
| CIE-LCH | lch(25.48, 63.04, 301.14°) |
| OKLab | oklab(37.11% 0.0165 -0.1557) |
| OKLCH | oklch(37.11% 0.157 276) |
| XYZ | xyz(7.1817, 4.5713, 26.8840) |
| Luminance | 0.0457 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.87
Darkslateblue
#483D8B
ΔE00 5.69
Royal
#0C1793
ΔE00 5.88
Blueberry
#464196
ΔE00 5.89
Indigo Blue
#3A18B1
ΔE00 6.93
Midnight Blue
#191970
ΔE00 6.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F2E90 #8F902E
analogous
#2E5E90 #2F2E90 #602E90
triadic
#2F2E90 #902F2E #2E902F
tetradic
#2F2E90 #902E5E #8F902E #2E9060
square
#2F2E90 #902E5E #8F902E #2E9060
split-complementary
#2F2E90 #90602E #5E902E
monochromatic
#111033 #201F62 #2F2E90 #3E3DBE #6A69CF
Accessibility & contrast
On white
10.97
#2F2E90 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.91
#2F2E90 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F2E90
10.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F2E90 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F2E90 | 1.00 | 10.97 | 1.91 | 10.97 |
| #FFFFFF | 10.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004193
Deuteranopia (green-blind)
#00388E
Tritanopia (blue-blind)
#00485B
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #2f2e90; /* rgb */ color: rgb(47, 46, 144); /* oklch */ color: oklch(37.1% 0.157 276.0);
Tailwind
colors: {
custom: {
50: '#7567b1',
500: '#2f2e90',
950: '#000000',
},
}SCSS
$custom: #2f2e90; $custom-light: #7567b1; $custom-dark: #000000;
JSON
{
"hex": "#2f2e90",
"rgb": {
"r": 47,
"g": 46,
"b": 144
},
"hsl": {
"h": 240.612,
"s": 51.579,
"l": 37.255
},
"oklch": {
"l": 0.37111,
"c": 0.15658,
"h": 276
},
"luminance": 0.04572
}Semantic roles & 50–950 ramp
primary
#2F2E90
secondary
#B5B664
accent
#DB4DDA
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80