#2E2F82#2E2F82
#2E2F82 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.9% C 0.136 H 276.6°. Best body text is #FFFFFF at 11.38:1 contrast (WCAG AA passes).
Color values
| HEX | #2E2F82 |
|---|---|
| RGB | rgb(46, 47, 130) |
| HSL | hsl(239, 48%, 35%) |
| HSV | hsv(239, 65%, 51%) |
| CMYK | cmyk(64.6%, 63.8%, 0%, 49%) |
| CIE-LAB | lab(24.40, 26.82, -46.99) |
| CIE-LCH | lch(24.40, 54.11, 299.71°) |
| OKLab | oklab(35.92% 0.0156 -0.1353) |
| OKLCH | oklch(35.92% 0.136 276.6) |
| XYZ | xyz(6.1712, 4.2251, 21.6051) |
| Luminance | 0.0423 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.34
Blueberry
#464196
ΔE00 6.12
Midnight Blue
#191970
ΔE00 6.26
Sapphire (survey)
#2138AB
ΔE00 6.52
Royal
#0C1793
ΔE00 7.11
Marine
#042E60
ΔE00 8.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E2F82 #82812E
analogous
#2E5982 #2E2F82 #572E82
triadic
#2E2F82 #822E2F #2F822E
tetradic
#2E2F82 #822E59 #82812E #2E8257
square
#2E2F82 #822E59 #82812E #2E8257
split-complementary
#2E2F82 #82572E #59822E
monochromatic
#0E0E28 #1E1F55 #2E2F82 #3E3FAF #6364C8
Accessibility & contrast
On white
11.38
#2E2F82 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.85
#2E2F82 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E2F82
11.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E2F82 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E2F82 | 1.00 | 11.38 | 1.85 | 11.38 |
| #FFFFFF | 11.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E85
Deuteranopia (green-blind)
#003680
Tritanopia (blue-blind)
#004454
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #2e2f82; /* rgb */ color: rgb(46, 47, 130); /* oklch */ color: oklch(35.9% 0.136 276.6);
Tailwind
colors: {
custom: {
50: '#7167a7',
500: '#2e2f82',
950: '#000000',
},
}SCSS
$custom: #2e2f82; $custom-light: #7167a7; $custom-dark: #000000;
JSON
{
"hex": "#2e2f82",
"rgb": {
"r": 46,
"g": 47,
"b": 130
},
"hsl": {
"h": 239.286,
"s": 47.727,
"l": 34.51
},
"oklch": {
"l": 0.35921,
"c": 0.13619,
"h": 276.6
},
"luminance": 0.04226
}Semantic roles & 50–950 ramp
primary
#2E2F82
secondary
#AEAD5D
accent
#D650D7
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F