#2E4D9C#2E4D9C
#2E4D9C is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.2% C 0.134 H 265.2°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).
Color values
| HEX | #2E4D9C |
|---|---|
| RGB | rgb(46, 77, 156) |
| HSL | hsl(223, 54%, 40%) |
| HSV | hsv(223, 71%, 61%) |
| CMYK | cmyk(70.5%, 50.6%, 0%, 38.8%) |
| CIE-LAB | lab(34.58, 16.30, -46.50) |
| CIE-LCH | lch(34.58, 49.28, 289.31°) |
| OKLab | oklab(44.18% -0.0112 -0.1335) |
| OKLCH | oklch(44.18% 0.134 265.2) |
| XYZ | xyz(9.7792, 8.2879, 32.5304) |
| Luminance | 0.0829 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.90
Cobalt
#0047AB
ΔE00 3.41
Dusk Blue
#26538D
ΔE00 4.19
Sapphire
#0F52BA
ΔE00 4.42
Denim Blue
#3B5B92
ΔE00 5.00
Darkish Blue
#014182
ΔE00 6.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E4D9C #9C7D2E
analogous
#2E849C #2E4D9C #462E9C
triadic
#2E4D9C #9C2E4D #4D9C2E
tetradic
#2E4D9C #9C2E84 #9C7D2E #2E9C46
square
#2E4D9C #9C2E84 #9C7D2E #2E9C46
split-complementary
#2E4D9C #9C462E #849C2E
monochromatic
#121E3D #20366D #2E4D9C #4066C7 #708CD5
Accessibility & contrast
On white
7.90
#2E4D9C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.66
#2E4D9C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E4D9C
7.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E4D9C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E4D9C | 1.00 | 7.90 | 2.66 | 7.90 |
| #FFFFFF | 7.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#20579F
Deuteranopia (green-blind)
#004D9A
Tritanopia (blue-blind)
#00606D
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #2e4d9c; /* rgb */ color: rgb(46, 77, 156); /* oklch */ color: oklch(44.2% 0.134 265.2);
Tailwind
colors: {
custom: {
50: '#757eba',
500: '#2e4d9c',
950: '#000000',
},
}SCSS
$custom: #2e4d9c; $custom-light: #757eba; $custom-dark: #000000;
JSON
{
"hex": "#2e4d9c",
"rgb": {
"r": 46,
"g": 77,
"b": 156
},
"hsl": {
"h": 223.091,
"s": 54.455,
"l": 39.608
},
"oklch": {
"l": 0.44175,
"c": 0.13394,
"h": 265.2
},
"luminance": 0.08289
}Semantic roles & 50–950 ramp
primary
#2E4D9C
secondary
#BCA56A
accent
#B44ADE
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#090912
muted
#7B7B81