#2E3E95#2E3E95
#2E3E95 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.5% C 0.143 H 270.7°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).
Color values
| HEX | #2E3E95 |
|---|---|
| RGB | rgb(46, 62, 149) |
| HSL | hsl(231, 53%, 38%) |
| HSV | hsv(231, 69%, 58%) |
| CMYK | cmyk(69.1%, 58.4%, 0%, 41.6%) |
| CIE-LAB | lab(29.90, 23.74, -49.82) |
| CIE-LCH | lch(29.90, 55.19, 295.48°) |
| OKLab | oklab(40.48% 0.0018 -0.1434) |
| OKLCH | oklch(40.48% 0.143 270.7) |
| XYZ | xyz(8.2723, 6.1952, 29.1878) |
| Luminance | 0.0620 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.93
Blueberry
#464196
ΔE00 3.95
Darkslateblue
#483D8B
ΔE00 5.27
Cobalt (survey)
#1E488F
ΔE00 5.33
Cobalt
#0047AB
ΔE00 5.38
Darkish Blue
#014182
ΔE00 6.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E3E95 #95852E
analogous
#2E7195 #2E3E95 #512E95
triadic
#2E3E95 #952E3E #3E952E
tetradic
#2E3E95 #952E71 #95852E #2E9551
square
#2E3E95 #952E71 #95852E #2E9551
split-complementary
#2E3E95 #95512E #71952E
monochromatic
#111737 #202B66 #2E3E95 #3D52C3 #6C7CD2
Accessibility & contrast
On white
9.38
#2E3E95 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.24
#2E3E95 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E3E95
9.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E3E95 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E3E95 | 1.00 | 9.38 | 2.24 | 9.38 |
| #FFFFFF | 9.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004B98
Deuteranopia (green-blind)
#004293
Tritanopia (blue-blind)
#005363
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #2e3e95; /* rgb */ color: rgb(46, 62, 149); /* oklch */ color: oklch(40.5% 0.143 270.7);
Tailwind
colors: {
custom: {
50: '#7473b5',
500: '#2e3e95',
950: '#000000',
},
}SCSS
$custom: #2e3e95; $custom-light: #7473b5; $custom-dark: #000000;
JSON
{
"hex": "#2e3e95",
"rgb": {
"r": 46,
"g": 62,
"b": 149
},
"hsl": {
"h": 230.68,
"s": 52.821,
"l": 38.235
},
"oklch": {
"l": 0.40483,
"c": 0.14346,
"h": 270.7
},
"luminance": 0.06196
}Semantic roles & 50–950 ramp
primary
#2E3E95
secondary
#B9AC66
accent
#C64CDC
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090811
muted
#7B7B80