#2E4F97#2E4F97
#2E4F97 is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.3% C 0.124 H 263.6°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).
Color values
| HEX | #2E4F97 |
|---|---|
| RGB | rgb(46, 79, 151) |
| HSL | hsl(221, 53%, 39%) |
| HSV | hsv(221, 70%, 59%) |
| CMYK | cmyk(69.5%, 47.7%, 0%, 40.8%) |
| CIE-LAB | lab(34.81, 13.07, -43.10) |
| CIE-LCH | lch(34.81, 45.03, 286.87°) |
| OKLab | oklab(44.25% -0.0138 -0.1234) |
| OKLCH | oklch(44.25% 0.124 263.6) |
| XYZ | xyz(9.5066, 8.4062, 30.3937) |
| Luminance | 0.0841 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.70
Dusk Blue
#26538D
ΔE00 3.16
Cobalt
#0047AB
ΔE00 4.09
Denim Blue
#3B5B92
ΔE00 4.13
Sapphire
#0F52BA
ΔE00 4.67
Light Navy Blue
#2E5A88
ΔE00 5.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E4F97 #97762E
analogous
#2E8397 #2E4F97 #412E97
triadic
#2E4F97 #972E4F #4F972E
tetradic
#2E4F97 #972E83 #97762E #2E9741
square
#2E4F97 #972E83 #97762E #2E9741
split-complementary
#2E4F97 #97412E #83972E
monochromatic
#111E39 #203668 #2E4F97 #3E68C4 #6D8DD2
Accessibility & contrast
On white
7.83
#2E4F97 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.68
#2E4F97 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E4F97
7.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E4F97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E4F97 | 1.00 | 7.83 | 2.68 | 7.83 |
| #FFFFFF | 7.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A579A
Deuteranopia (green-blind)
#144D96
Tritanopia (blue-blind)
#00606B
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #2e4f97; /* rgb */ color: rgb(46, 79, 151); /* oklch */ color: oklch(44.3% 0.124 263.6);
Tailwind
colors: {
custom: {
50: '#737fb6',
500: '#2e4f97',
950: '#000000',
},
}SCSS
$custom: #2e4f97; $custom-light: #737fb6; $custom-dark: #000000;
JSON
{
"hex": "#2e4f97",
"rgb": {
"r": 46,
"g": 79,
"b": 151
},
"hsl": {
"h": 221.143,
"s": 53.299,
"l": 38.627
},
"oklch": {
"l": 0.4425,
"c": 0.12419,
"h": 263.6
},
"luminance": 0.08407
}Semantic roles & 50–950 ramp
primary
#2E4F97
secondary
#BAA067
accent
#AF4BDD
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80