#2E4381#2E4381
#2E4381 is a dark, moderate blue. Relative luminance 0.062; OKLCH L 40.0% C 0.107 H 267.4°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).
Color values
| HEX | #2E4381 |
|---|---|
| RGB | rgb(46, 67, 129) |
| HSL | hsl(225, 47%, 34%) |
| HSV | hsv(225, 64%, 51%) |
| CMYK | cmyk(64.3%, 48.1%, 0%, 49.4%) |
| CIE-LAB | lab(29.86, 12.85, -37.54) |
| CIE-LCH | lch(29.86, 39.68, 288.90°) |
| OKLab | oklab(39.99% -0.005 -0.1073) |
| OKLCH | oklch(39.99% 0.107 267.4) |
| XYZ | xyz(7.0950, 6.1795, 21.5835) |
| Luminance | 0.0618 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.70
Darkish Blue
#014182
ΔE00 4.68
Twilight Blue
#0A437A
ΔE00 5.21
Blueberry
#464196
ΔE00 6.28
Marine Blue
#01386A
ΔE00 6.37
Cobalt
#0047AB
ΔE00 6.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E4381 #816C2E
analogous
#2E6D81 #2E4381 #422E81
triadic
#2E4381 #812E43 #43812E
tetradic
#2E4381 #812E6D #816C2E #2E8142
square
#2E4381 #812E6D #816C2E #2E8142
split-complementary
#2E4381 #81422E #6D812E
monochromatic
#0E1427 #1E2C54 #2E4381 #3E5AAE #627CC7
Accessibility & contrast
On white
9.39
#2E4381 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.24
#2E4381 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E4381
9.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E4381 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E4381 | 1.00 | 9.39 | 2.24 | 9.39 |
| #FFFFFF | 9.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#254A83
Deuteranopia (green-blind)
#174380
Tritanopia (blue-blind)
#00515B
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #2e4381; /* rgb */ color: rgb(46, 67, 129); /* oklch */ color: oklch(40.0% 0.107 267.4);
Tailwind
colors: {
custom: {
50: '#6f76a6',
500: '#2e4381',
950: '#000000',
},
}SCSS
$custom: #2e4381; $custom-light: #6f76a6; $custom-dark: #000000;
JSON
{
"hex": "#2e4381",
"rgb": {
"r": 46,
"g": 67,
"b": 129
},
"hsl": {
"h": 224.819,
"s": 47.429,
"l": 34.314
},
"oklch": {
"l": 0.39994,
"c": 0.10738,
"h": 267.4
},
"luminance": 0.0618
}Semantic roles & 50–950 ramp
primary
#2E4381
secondary
#AE995D
accent
#B551D7
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#08080F
muted
#7B7B7F