#2E4AA8#2E4AA8
#2E4AA8 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.5% C 0.155 H 267.2°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).
Color values
| HEX | #2E4AA8 |
|---|---|
| RGB | rgb(46, 74, 168) |
| HSL | hsl(226, 57%, 42%) |
| HSV | hsv(226, 73%, 66%) |
| CMYK | cmyk(72.6%, 56%, 0%, 34.1%) |
| CIE-LAB | lab(34.61, 22.84, -53.65) |
| CIE-LCH | lch(34.61, 58.31, 293.06°) |
| OKLab | oklab(44.48% -0.0075 -0.1546) |
| OKLCH | oklch(44.48% 0.155 267.2) |
| XYZ | xyz(10.6409, 8.3044, 38.0803) |
| Luminance | 0.0831 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.86
Sapphire
#0F52BA
ΔE00 4.24
Cobalt (survey)
#1E488F
ΔE00 4.47
Blue Blue
#2242C7
ΔE00 5.05
Sapphire (survey)
#2138AB
ΔE00 5.64
Blueberry
#464196
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E4AA8 #A88C2E
analogous
#2E87A8 #2E4AA8 #4F2EA8
triadic
#2E4AA8 #A82E4A #4AA82E
tetradic
#2E4AA8 #A82E87 #A88C2E #2EA84F
square
#2E4AA8 #A82E87 #A88C2E #2EA84F
split-complementary
#2E4AA8 #A84F2E #87A82E
monochromatic
#142048 #213578 #2E4AA8 #4765CD #778DDA
Accessibility & contrast
On white
7.89
#2E4AA8 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.66
#2E4AA8 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E4AA8
7.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E4AA8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E4AA8 | 1.00 | 7.89 | 2.66 | 7.89 |
| #FFFFFF | 7.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0057AB
Deuteranopia (green-blind)
#004CA6
Tritanopia (blue-blind)
#006171
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #2e4aa8; /* rgb */ color: rgb(46, 74, 168); /* oklch */ color: oklch(44.5% 0.155 267.2);
Tailwind
colors: {
custom: {
50: '#777cc3',
500: '#2e4aa8',
950: '#000000',
},
}SCSS
$custom: #2e4aa8; $custom-light: #777cc3; $custom-dark: #000000;
JSON
{
"hex": "#2e4aa8",
"rgb": {
"r": 46,
"g": 74,
"b": 168
},
"hsl": {
"h": 226.23,
"s": 57.009,
"l": 41.961
},
"oklch": {
"l": 0.44476,
"c": 0.15474,
"h": 267.2
},
"luminance": 0.08306
}Semantic roles & 50–950 ramp
primary
#2E4AA8
secondary
#C2AF70
accent
#BD48E0
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0912
muted
#7C7B81