#2E3F95#2E3F95
#2E3F95 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.7% C 0.142 H 270.4°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).
Color values
| HEX | #2E3F95 |
|---|---|
| RGB | rgb(46, 63, 149) |
| HSL | hsl(230, 53%, 38%) |
| HSV | hsv(230, 69%, 58%) |
| CMYK | cmyk(69.1%, 57.7%, 0%, 41.6%) |
| CIE-LAB | lab(30.17, 23.06, -49.38) |
| CIE-LCH | lch(30.17, 54.50, 295.04°) |
| OKLab | oklab(40.69% 0.0009 -0.1422) |
| OKLCH | oklch(40.69% 0.142 270.4) |
| XYZ | xyz(8.3272, 6.3050, 29.2061) |
| Luminance | 0.0631 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 4.02
Sapphire (survey)
#2138AB
ΔE00 4.12
Cobalt (survey)
#1E488F
ΔE00 5.02
Cobalt
#0047AB
ΔE00 5.15
Darkslateblue
#483D8B
ΔE00 5.40
Darkish Blue
#014182
ΔE00 6.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E3F95 #95842E
analogous
#2E7295 #2E3F95 #502E95
triadic
#2E3F95 #952E3F #3F952E
tetradic
#2E3F95 #952E72 #95842E #2E9550
square
#2E3F95 #952E72 #95842E #2E9550
split-complementary
#2E3F95 #95502E #72952E
monochromatic
#111737 #202B66 #2E3F95 #3D53C3 #6C7DD2
Accessibility & contrast
On white
9.29
#2E3F95 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.26
#2E3F95 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E3F95
9.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E3F95 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E3F95 | 1.00 | 9.29 | 2.26 | 9.29 |
| #FFFFFF | 9.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004C98
Deuteranopia (green-blind)
#004393
Tritanopia (blue-blind)
#005463
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #2e3f95; /* rgb */ color: rgb(46, 63, 149); /* oklch */ color: oklch(40.7% 0.142 270.4);
Tailwind
colors: {
custom: {
50: '#7473b5',
500: '#2e3f95',
950: '#000000',
},
}SCSS
$custom: #2e3f95; $custom-light: #7473b5; $custom-dark: #000000;
JSON
{
"hex": "#2e3f95",
"rgb": {
"r": 46,
"g": 63,
"b": 149
},
"hsl": {
"h": 230.097,
"s": 52.821,
"l": 38.235
},
"oklch": {
"l": 0.40685,
"c": 0.14216,
"h": 270.4
},
"luminance": 0.06306
}Semantic roles & 50–950 ramp
primary
#2E3F95
secondary
#B9AB66
accent
#C44CDC
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80