#2E4281#2E4281
#2E4281 is a dark, moderate blue. Relative luminance 0.061; OKLCH L 39.8% C 0.109 H 268.0°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).
Color values
| HEX | #2E4281 |
|---|---|
| RGB | rgb(46, 66, 129) |
| HSL | hsl(226, 47%, 34%) |
| HSV | hsv(226, 64%, 51%) |
| CMYK | cmyk(64.3%, 48.8%, 0%, 49.4%) |
| CIE-LAB | lab(29.57, 13.53, -38.01) |
| CIE-LCH | lch(29.57, 40.35, 289.59°) |
| OKLab | oklab(39.77% -0.0039 -0.1087) |
| OKLCH | oklch(39.77% 0.109 268) |
| XYZ | xyz(7.0360, 6.0616, 21.5638) |
| Luminance | 0.0606 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.96
Darkish Blue
#014182
ΔE00 4.83
Twilight Blue
#0A437A
ΔE00 5.42
Blueberry
#464196
ΔE00 6.08
Marine Blue
#01386A
ΔE00 6.38
Cobalt
#0047AB
ΔE00 6.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E4281 #816D2E
analogous
#2E6C81 #2E4281 #442E81
triadic
#2E4281 #812E42 #42812E
tetradic
#2E4281 #812E6C #816D2E #2E8144
square
#2E4281 #812E6C #816D2E #2E8144
split-complementary
#2E4281 #81442E #6C812E
monochromatic
#0E1427 #1E2B54 #2E4281 #3E59AE #627BC7
Accessibility & contrast
On white
9.49
#2E4281 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.21
#2E4281 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E4281
9.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E4281 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E4281 | 1.00 | 9.49 | 2.21 | 9.49 |
| #FFFFFF | 9.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#234A83
Deuteranopia (green-blind)
#144280
Tritanopia (blue-blind)
#00505B
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #2e4281; /* rgb */ color: rgb(46, 66, 129); /* oklch */ color: oklch(39.8% 0.109 268.0);
Tailwind
colors: {
custom: {
50: '#6f76a6',
500: '#2e4281',
950: '#000000',
},
}SCSS
$custom: #2e4281; $custom-light: #6f76a6; $custom-dark: #000000;
JSON
{
"hex": "#2e4281",
"rgb": {
"r": 46,
"g": 66,
"b": 129
},
"hsl": {
"h": 225.542,
"s": 47.429,
"l": 34.314
},
"oklch": {
"l": 0.39769,
"c": 0.10874,
"h": 268
},
"luminance": 0.06062
}Semantic roles & 50–950 ramp
primary
#2E4281
secondary
#AE9A5D
accent
#B751D7
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#08080F
muted
#7B7B7F