#2E3F87#2E3F87
#2E3F87 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.6% C 0.122 H 270.0°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).
Color values
| HEX | #2E3F87 |
|---|---|
| RGB | rgb(46, 63, 135) |
| HSL | hsl(229, 49%, 35%) |
| HSV | hsv(229, 66%, 53%) |
| CMYK | cmyk(65.9%, 53.3%, 0%, 47.1%) |
| CIE-LAB | lab(29.12, 17.82, -42.46) |
| CIE-LCH | lch(29.12, 46.05, 292.77°) |
| OKLab | oklab(39.56% 0 -0.1218) |
| OKLCH | oklch(39.56% 0.122 270) |
| XYZ | xyz(7.2759, 5.8845, 23.6694) |
| Luminance | 0.0588 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 4.64
Blueberry
#464196
ΔE00 4.92
Darkslateblue
#483D8B
ΔE00 5.55
Darkish Blue
#014182
ΔE00 5.57
Sapphire (survey)
#2138AB
ΔE00 6.23
Cobalt
#0047AB
ΔE00 6.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E3F87 #87762E
analogous
#2E6B87 #2E3F87 #492E87
triadic
#2E3F87 #872E3F #3F872E
tetradic
#2E3F87 #872E6B #87762E #2E8749
square
#2E3F87 #872E6B #87762E #2E8749
split-complementary
#2E3F87 #87492E #6B872E
monochromatic
#0F142C #1E2A59 #2E3F87 #3E54B5 #6578CA
Accessibility & contrast
On white
9.65
#2E3F87 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.18
#2E3F87 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E3F87
9.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E3F87 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E3F87 | 1.00 | 9.65 | 2.18 | 9.65 |
| #FFFFFF | 9.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#14498A
Deuteranopia (green-blind)
#004186
Tritanopia (blue-blind)
#00505C
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #2e3f87; /* rgb */ color: rgb(46, 63, 135); /* oklch */ color: oklch(39.6% 0.122 270.0);
Tailwind
colors: {
custom: {
50: '#7173aa',
500: '#2e3f87',
950: '#000000',
},
}SCSS
$custom: #2e3f87; $custom-light: #7173aa; $custom-dark: #000000;
JSON
{
"hex": "#2e3f87",
"rgb": {
"r": 46,
"g": 63,
"b": 135
},
"hsl": {
"h": 228.539,
"s": 49.171,
"l": 35.49
},
"oklch": {
"l": 0.39562,
"c": 0.1218,
"h": 270
},
"luminance": 0.05885
}Semantic roles & 50–950 ramp
primary
#2E3F87
secondary
#B1A260
accent
#BE4FD9
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080810
muted
#7B7B7F