#2E388A#2E388A
#2E388A is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.4% C 0.136 H 273.0°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).
Color values
| HEX | #2E388A |
|---|---|
| RGB | rgb(46, 56, 138) |
| HSL | hsl(233, 50%, 36%) |
| HSV | hsv(233, 67%, 54%) |
| CMYK | cmyk(66.7%, 59.4%, 0%, 45.9%) |
| CIE-LAB | lab(27.42, 23.70, -47.08) |
| CIE-LCH | lch(27.42, 52.71, 296.72°) |
| OKLab | oklab(38.36% 0.007 -0.1355) |
| OKLCH | oklch(38.36% 0.136 273) |
| XYZ | xyz(7.1268, 5.2435, 24.6764) |
| Luminance | 0.0524 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 4.43
Darkslateblue
#483D8B
ΔE00 4.65
Sapphire (survey)
#2138AB
ΔE00 5.00
Cobalt (survey)
#1E488F
ΔE00 6.89
Darkish Blue
#014182
ΔE00 7.44
Cobalt
#0047AB
ΔE00 7.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E388A #8A802E
analogous
#2E668A #2E388A #522E8A
triadic
#2E388A #8A2E38 #388A2E
tetradic
#2E388A #8A2E66 #8A802E #2E8A52
square
#2E388A #8A2E66 #8A802E #2E8A52
split-complementary
#2E388A #8A522E #668A2E
monochromatic
#0F132E #1F255C #2E388A #3D4BB8 #6671CC
Accessibility & contrast
On white
10.25
#2E388A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.05
#2E388A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E388A
10.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E388A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E388A | 1.00 | 10.25 | 2.05 | 10.25 |
| #FFFFFF | 10.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00458D
Deuteranopia (green-blind)
#003D88
Tritanopia (blue-blind)
#004C5B
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #2e388a; /* rgb */ color: rgb(46, 56, 138); /* oklch */ color: oklch(38.4% 0.136 273.0);
Tailwind
colors: {
custom: {
50: '#726ead',
500: '#2e388a',
950: '#000000',
},
}SCSS
$custom: #2e388a; $custom-light: #726ead; $custom-dark: #000000;
JSON
{
"hex": "#2e388a",
"rgb": {
"r": 46,
"g": 56,
"b": 138
},
"hsl": {
"h": 233.478,
"s": 50,
"l": 36.078
},
"oklch": {
"l": 0.38358,
"c": 0.13565,
"h": 273
},
"luminance": 0.05244
}Semantic roles & 50–950 ramp
primary
#2E388A
secondary
#B3AA61
accent
#CA4EDA
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090710
muted
#7B7A7F