#2E4EA6#2E4EA6
#2E4EA6 is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.1% C 0.147 H 265.7°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).
Color values
| HEX | #2E4EA6 |
|---|---|
| RGB | rgb(46, 78, 166) |
| HSL | hsl(224, 57%, 42%) |
| HSV | hsv(224, 72%, 65%) |
| CMYK | cmyk(72.3%, 53%, 0%, 34.9%) |
| CIE-LAB | lab(35.56, 19.42, -50.92) |
| CIE-LCH | lch(35.56, 54.49, 290.88°) |
| OKLab | oklab(45.15% -0.011 -0.1464) |
| OKLCH | oklch(45.15% 0.147 265.7) |
| XYZ | xyz(10.7316, 8.7817, 37.1985) |
| Luminance | 0.0878 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.11
Sapphire
#0F52BA
ΔE00 3.41
Cobalt (survey)
#1E488F
ΔE00 4.07
Dusk Blue
#26538D
ΔE00 4.93
Denim Blue
#3B5B92
ΔE00 5.31
Blue Blue
#2242C7
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E4EA6 #A6862E
analogous
#2E8AA6 #2E4EA6 #4A2EA6
triadic
#2E4EA6 #A62E4E #4EA62E
tetradic
#2E4EA6 #A62E8A #A6862E #2EA64A
square
#2E4EA6 #A62E8A #A6862E #2EA64A
split-complementary
#2E4EA6 #A64A2E #8AA62E
monochromatic
#132146 #213776 #2E4EA6 #4669CC #7690D9
Accessibility & contrast
On white
7.62
#2E4EA6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.76
#2E4EA6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E4EA6
7.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E4EA6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E4EA6 | 1.00 | 7.62 | 2.76 | 7.62 |
| #FFFFFF | 7.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1259A9
Deuteranopia (green-blind)
#004EA4
Tritanopia (blue-blind)
#006372
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #2e4ea6; /* rgb */ color: rgb(46, 78, 166); /* oklch */ color: oklch(45.1% 0.147 265.7);
Tailwind
colors: {
custom: {
50: '#777fc1',
500: '#2e4ea6',
950: '#000000',
},
}SCSS
$custom: #2e4ea6; $custom-light: #777fc1; $custom-dark: #000000;
JSON
{
"hex": "#2e4ea6",
"rgb": {
"r": 46,
"g": 78,
"b": 166
},
"hsl": {
"h": 224,
"s": 56.604,
"l": 41.569
},
"oklch": {
"l": 0.45147,
"c": 0.14686,
"h": 265.7
},
"luminance": 0.08783
}Semantic roles & 50–950 ramp
primary
#2E4EA6
secondary
#C1AB6F
accent
#B748E0
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#0A0A12
muted
#7C7C81