#2E2F7C#2E2F7C
#2E2F7C is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.4% C 0.128 H 277.1°. Best body text is #FFFFFF at 11.58:1 contrast (WCAG AA passes).
Color values
| HEX | #2E2F7C |
|---|---|
| RGB | rgb(46, 47, 124) |
| HSL | hsl(239, 46%, 33%) |
| HSV | hsv(239, 63%, 49%) |
| CMYK | cmyk(62.9%, 62.1%, 0%, 51.4%) |
| CIE-LAB | lab(23.90, 24.65, -44.03) |
| CIE-LCH | lch(23.90, 50.46, 299.24°) |
| OKLab | oklab(35.39% 0.0158 -0.1266) |
| OKLCH | oklch(35.39% 0.128 277.1) |
| XYZ | xyz(5.7801, 4.0687, 19.5456) |
| Luminance | 0.0407 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.49
Midnight Blue
#191970
ΔE00 6.18
Blueberry
#464196
ΔE00 6.52
Sapphire (survey)
#2138AB
ΔE00 7.44
Royal
#0C1793
ΔE00 7.79
Marine
#042E60
ΔE00 7.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E2F7C #7C7B2E
analogous
#2E567C #2E2F7C #542E7C
triadic
#2E2F7C #7C2E2F #2F7C2E
tetradic
#2E2F7C #7C2E56 #7C7B2E #2E7C54
square
#2E2F7C #7C2E56 #7C7B2E #2E7C54
split-complementary
#2E2F7C #7C542E #567C2E
monochromatic
#0D0D23 #1D1E4F #2E2F7C #3F40A9 #6062C4
Accessibility & contrast
On white
11.58
#2E2F7C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.81
#2E2F7C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E2F7C
11.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E2F7C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E2F7C | 1.00 | 11.58 | 1.81 | 11.58 |
| #FFFFFF | 11.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C7F
Deuteranopia (green-blind)
#00367A
Tritanopia (blue-blind)
#004250
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #2e2f7c; /* rgb */ color: rgb(46, 47, 124); /* oklch */ color: oklch(35.4% 0.128 277.1);
Tailwind
colors: {
custom: {
50: '#7067a3',
500: '#2e2f7c',
950: '#000000',
},
}SCSS
$custom: #2e2f7c; $custom-light: #7067a3; $custom-dark: #000000;
JSON
{
"hex": "#2e2f7c",
"rgb": {
"r": 46,
"g": 47,
"b": 124
},
"hsl": {
"h": 239.231,
"s": 45.882,
"l": 33.333
},
"oklch": {
"l": 0.35392,
"c": 0.12758,
"h": 277.1
},
"luminance": 0.04069
}Semantic roles & 50–950 ramp
primary
#2E2F7C
secondary
#ABAA5B
accent
#D452D6
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F