#2F2E7B#2F2E7B
#2F2E7B is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.2% C 0.127 H 278.2°. Best body text is #FFFFFF at 11.68:1 contrast (WCAG AA passes).
Color values
| HEX | #2F2E7B |
|---|---|
| RGB | rgb(47, 46, 123) |
| HSL | hsl(241, 46%, 33%) |
| HSV | hsv(241, 63%, 48%) |
| CMYK | cmyk(61.8%, 62.6%, 0%, 51.8%) |
| CIE-LAB | lab(23.63, 25.15, -43.83) |
| CIE-LCH | lch(23.63, 50.53, 299.85°) |
| OKLab | oklab(35.19% 0.0181 -0.126) |
| OKLCH | oklch(35.19% 0.127 278.2) |
| XYZ | xyz(5.7233, 3.9880, 19.2032) |
| Luminance | 0.0399 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.56
Midnight Blue
#191970
ΔE00 5.92
Blueberry
#464196
ΔE00 6.71
Royal
#0C1793
ΔE00 7.67
Sapphire (survey)
#2138AB
ΔE00 7.72
Marine
#042E60
ΔE00 8.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F2E7B #7A7B2E
analogous
#2E537B #2F2E7B #552E7B
triadic
#2F2E7B #7B2F2E #2E7B2F
tetradic
#2F2E7B #7B2E53 #7A7B2E #2E7B55
square
#2F2E7B #7B2E53 #7A7B2E #2E7B55
split-complementary
#2F2E7B #7B552E #537B2E
monochromatic
#0D0D22 #1E1D4E #2F2E7B #403FA8 #6160C3
Accessibility & contrast
On white
11.68
#2F2E7B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.80
#2F2E7B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F2E7B
11.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F2E7B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F2E7B | 1.00 | 11.68 | 1.80 | 11.68 |
| #FFFFFF | 11.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B7E
Deuteranopia (green-blind)
#003579
Tritanopia (blue-blind)
#004150
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #2f2e7b; /* rgb */ color: rgb(47, 46, 123); /* oklch */ color: oklch(35.2% 0.127 278.2);
Tailwind
colors: {
custom: {
50: '#7067a2',
500: '#2f2e7b',
950: '#000000',
},
}SCSS
$custom: #2f2e7b; $custom-light: #7067a2; $custom-dark: #000000;
JSON
{
"hex": "#2f2e7b",
"rgb": {
"r": 47,
"g": 46,
"b": 123
},
"hsl": {
"h": 240.779,
"s": 45.562,
"l": 33.137
},
"oklch": {
"l": 0.3519,
"c": 0.12728,
"h": 278.2
},
"luminance": 0.03988
}Semantic roles & 50–950 ramp
primary
#2F2E7B
secondary
#A9AA5B
accent
#D553D4
background
#F7F6FA
surface
#EDEBF3
border
#C8C6CD
text
#08060F
muted
#7B7A7F