#2E2F78#2E2F78
#2E2F78 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.0% C 0.122 H 277.5°. Best body text is #FFFFFF at 11.71:1 contrast (WCAG AA passes).
Color values
| HEX | #2E2F78 |
|---|---|
| RGB | rgb(46, 47, 120) |
| HSL | hsl(239, 45%, 33%) |
| HSV | hsv(239, 62%, 47%) |
| CMYK | cmyk(61.7%, 60.8%, 0%, 52.9%) |
| CIE-LAB | lab(23.57, 23.21, -42.03) |
| CIE-LCH | lch(23.57, 48.01, 298.91°) |
| OKLab | oklab(35.05% 0.0159 -0.1207) |
| OKLCH | oklch(35.05% 0.122 277.5) |
| XYZ | xyz(5.5323, 3.9695, 18.2403) |
| Luminance | 0.0397 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.70
Midnight Blue
#191970
ΔE00 6.25
Blueberry
#464196
ΔE00 6.87
Marine
#042E60
ΔE00 7.61
Sapphire (survey)
#2138AB
ΔE00 8.09
Royal
#0C1793
ΔE00 8.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E2F78 #78772E
analogous
#2E5478 #2E2F78 #522E78
triadic
#2E2F78 #782E2F #2F782E
tetradic
#2E2F78 #782E54 #78772E #2E7852
square
#2E2F78 #782E54 #78772E #2E7852
split-complementary
#2E2F78 #78522E #54782E
monochromatic
#0C0C20 #1D1E4C #2E2F78 #3F40A4 #5F60C2
Accessibility & contrast
On white
11.71
#2E2F78 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.79
#2E2F78 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E2F78
11.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E2F78 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E2F78 | 1.00 | 11.71 | 1.79 | 11.71 |
| #FFFFFF | 11.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B7A
Deuteranopia (green-blind)
#003577
Tritanopia (blue-blind)
#00404E
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #2e2f78; /* rgb */ color: rgb(46, 47, 120); /* oklch */ color: oklch(35.0% 0.122 277.5);
Tailwind
colors: {
custom: {
50: '#6f67a0',
500: '#2e2f78',
950: '#000000',
},
}SCSS
$custom: #2e2f78; $custom-light: #6f67a0; $custom-dark: #000000;
JSON
{
"hex": "#2e2f78",
"rgb": {
"r": 46,
"g": 47,
"b": 120
},
"hsl": {
"h": 239.189,
"s": 44.578,
"l": 32.549
},
"oklch": {
"l": 0.35047,
"c": 0.12175,
"h": 277.5
},
"luminance": 0.0397
}Semantic roles & 50–950 ramp
primary
#2E2F78
secondary
#A8A75A
accent
#D354D4
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#08060F
muted
#7B7A7E