#2E4A8A#2E4A8A
#2E4A8A is a dark, moderate blue. Relative luminance 0.073; OKLCH L 42.2% C 0.112 H 264.4°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).
Color values
| HEX | #2E4A8A |
|---|---|
| RGB | rgb(46, 74, 138) |
| HSL | hsl(222, 50%, 36%) |
| HSV | hsv(222, 67%, 54%) |
| CMYK | cmyk(66.7%, 46.4%, 0%, 45.9%) |
| CIE-LAB | lab(32.51, 11.50, -38.87) |
| CIE-LCH | lch(32.51, 40.53, 286.48°) |
| OKLab | oklab(42.21% -0.0109 -0.1111) |
| OKLCH | oklch(42.21% 0.112 264.4) |
| XYZ | xyz(8.1613, 7.3126, 25.0212) |
| Luminance | 0.0731 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.04
Dusk Blue
#26538D
ΔE00 4.14
Darkish Blue
#014182
ΔE00 4.57
Twilight Blue
#0A437A
ΔE00 4.92
Cobalt
#0047AB
ΔE00 5.01
Light Navy
#155084
ΔE00 5.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E4A8A #8A6E2E
analogous
#2E788A #2E4A8A #402E8A
triadic
#2E4A8A #8A2E4A #4A8A2E
tetradic
#2E4A8A #8A2E78 #8A6E2E #2E8A40
square
#2E4A8A #8A2E78 #8A6E2E #2E8A40
split-complementary
#2E4A8A #8A402E #788A2E
monochromatic
#0F192E #1F315C #2E4A8A #3D63B8 #6685CC
Accessibility & contrast
On white
8.53
#2E4A8A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.46
#2E4A8A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E4A8A
8.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E4A8A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E4A8A | 1.00 | 8.53 | 2.46 | 8.53 |
| #FFFFFF | 8.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B518C
Deuteranopia (green-blind)
#1B4989
Tritanopia (blue-blind)
#005963
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #2e4a8a; /* rgb */ color: rgb(46, 74, 138); /* oklch */ color: oklch(42.2% 0.112 264.4);
Tailwind
colors: {
custom: {
50: '#717cac',
500: '#2e4a8a',
950: '#000000',
},
}SCSS
$custom: #2e4a8a; $custom-light: #717cac; $custom-dark: #000000;
JSON
{
"hex": "#2e4a8a",
"rgb": {
"r": 46,
"g": 74,
"b": 138
},
"hsl": {
"h": 221.739,
"s": 50,
"l": 36.078
},
"oklch": {
"l": 0.4221,
"c": 0.1116,
"h": 264.4
},
"luminance": 0.07313
}Semantic roles & 50–950 ramp
primary
#2E4A8A
secondary
#B39A61
accent
#AF4EDA
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080910
muted
#7B7B7F