#2E3E8D#2E3E8D
#2E3E8D is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.8% C 0.132 H 270.6°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).
Color values
| HEX | #2E3E8D |
|---|---|
| RGB | rgb(46, 62, 141) |
| HSL | hsl(230, 51%, 37%) |
| HSV | hsv(230, 67%, 55%) |
| CMYK | cmyk(67.4%, 56%, 0%, 44.7%) |
| CIE-LAB | lab(29.28, 20.75, -45.91) |
| CIE-LCH | lch(29.28, 50.38, 294.32°) |
| OKLab | oklab(39.83% 0.0015 -0.132) |
| OKLCH | oklch(39.83% 0.132 270.6) |
| XYZ | xyz(7.6554, 5.9485, 25.9389) |
| Luminance | 0.0595 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 4.30
Cobalt (survey)
#1E488F
ΔE00 5.01
Sapphire (survey)
#2138AB
ΔE00 5.13
Darkslateblue
#483D8B
ΔE00 5.19
Cobalt
#0047AB
ΔE00 5.95
Darkish Blue
#014182
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E3E8D #8D7D2E
analogous
#2E6E8D #2E3E8D #4E2E8D
triadic
#2E3E8D #8D2E3E #3E8D2E
tetradic
#2E3E8D #8D2E6E #8D7D2E #2E8D4E
square
#2E3E8D #8D2E6E #8D7D2E #2E8D4E
split-complementary
#2E3E8D #8D4E2E #6E8D2E
monochromatic
#101531 #1F2A5F #2E3E8D #3D52BB #6879CE
Accessibility & contrast
On white
9.59
#2E3E8D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.19
#2E3E8D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E3E8D
9.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E3E8D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E3E8D | 1.00 | 9.59 | 2.19 | 9.59 |
| #FFFFFF | 9.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#014990
Deuteranopia (green-blind)
#00418B
Tritanopia (blue-blind)
#00515F
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #2e3e8d; /* rgb */ color: rgb(46, 62, 141); /* oklch */ color: oklch(39.8% 0.132 270.6);
Tailwind
colors: {
custom: {
50: '#7273af',
500: '#2e3e8d',
950: '#000000',
},
}SCSS
$custom: #2e3e8d; $custom-light: #7273af; $custom-dark: #000000;
JSON
{
"hex": "#2e3e8d",
"rgb": {
"r": 46,
"g": 62,
"b": 141
},
"hsl": {
"h": 229.895,
"s": 50.802,
"l": 36.667
},
"oklch": {
"l": 0.39826,
"c": 0.13197,
"h": 270.6
},
"luminance": 0.05949
}Semantic roles & 50–950 ramp
primary
#2E3E8D
secondary
#B5A762
accent
#C34EDA
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#090810
muted
#7B7B7F