#2F2E8F#2F2E8F
#2F2E8F is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.0% C 0.155 H 276.1°. Best body text is #FFFFFF at 11.01:1 contrast (WCAG AA passes).
Color values
| HEX | #2F2E8F |
|---|---|
| RGB | rgb(47, 46, 143) |
| HSL | hsl(241, 51%, 37%) |
| HSV | hsv(241, 68%, 56%) |
| CMYK | cmyk(67.1%, 67.8%, 0%, 43.9%) |
| CIE-LAB | lab(25.38, 32.25, -53.49) |
| CIE-LCH | lch(25.38, 62.46, 301.09°) |
| OKLab | oklab(37.02% 0.0166 -0.1543) |
| OKLCH | oklch(37.02% 0.155 276.1) |
| XYZ | xyz(7.1056, 4.5409, 26.4833) |
| Luminance | 0.0454 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.98
Darkslateblue
#483D8B
ΔE00 5.65
Blueberry
#464196
ΔE00 5.89
Royal
#0C1793
ΔE00 5.92
Midnight Blue
#191970
ΔE00 6.85
Indigo Blue
#3A18B1
ΔE00 7.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F2E8F #8E8F2E
analogous
#2E5D8F #2F2E8F #602E8F
triadic
#2F2E8F #8F2F2E #2E8F2F
tetradic
#2F2E8F #8F2E5D #8E8F2E #2E8F60
square
#2F2E8F #8F2E5D #8E8F2E #2E8F60
split-complementary
#2F2E8F #8F602E #5D8F2E
monochromatic
#111032 #201F61 #2F2E8F #3E3DBD #6A69CF
Accessibility & contrast
On white
11.01
#2F2E8F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.91
#2F2E8F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F2E8F
11.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F2E8F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F2E8F | 1.00 | 11.01 | 1.91 | 11.01 |
| #FFFFFF | 11.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004092
Deuteranopia (green-blind)
#00388D
Tritanopia (blue-blind)
#00475A
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #2f2e8f; /* rgb */ color: rgb(47, 46, 143); /* oklch */ color: oklch(37.0% 0.155 276.1);
Tailwind
colors: {
custom: {
50: '#7467b1',
500: '#2f2e8f',
950: '#000000',
},
}SCSS
$custom: #2f2e8f; $custom-light: #7467b1; $custom-dark: #000000;
JSON
{
"hex": "#2f2e8f",
"rgb": {
"r": 47,
"g": 46,
"b": 143
},
"hsl": {
"h": 240.619,
"s": 51.323,
"l": 37.059
},
"oklch": {
"l": 0.37015,
"c": 0.15523,
"h": 276.1
},
"luminance": 0.04541
}Semantic roles & 50–950 ramp
primary
#2F2E8F
secondary
#B5B663
accent
#DB4DD9
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80