#2E4BA4#2E4BA4
#2E4BA4 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.4% C 0.148 H 266.7°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).
Color values
| HEX | #2E4BA4 |
|---|---|
| RGB | rgb(46, 75, 164) |
| HSL | hsl(225, 56%, 41%) |
| HSV | hsv(225, 72%, 64%) |
| CMYK | cmyk(72%, 54.3%, 0%, 35.7%) |
| CIE-LAB | lab(34.58, 20.66, -51.30) |
| CIE-LCH | lch(34.58, 55.30, 291.94°) |
| OKLab | oklab(44.36% -0.0086 -0.1476) |
| OKLCH | oklch(44.36% 0.148 266.7) |
| XYZ | xyz(10.3413, 8.2923, 36.1703) |
| Luminance | 0.0829 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.87
Cobalt (survey)
#1E488F
ΔE00 3.87
Sapphire
#0F52BA
ΔE00 4.19
Dusk Blue
#26538D
ΔE00 5.50
Blue Blue
#2242C7
ΔE00 5.78
Denim Blue
#3B5B92
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E4BA4 #A4872E
analogous
#2E86A4 #2E4BA4 #4C2EA4
triadic
#2E4BA4 #A42E4B #4BA42E
tetradic
#2E4BA4 #A42E86 #A4872E #2EA44C
square
#2E4BA4 #A42E86 #A4872E #2EA44C
split-complementary
#2E4BA4 #A44C2E #86A42E
monochromatic
#131F44 #213574 #2E4BA4 #4565CB #748DD8
Accessibility & contrast
On white
7.90
#2E4BA4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.66
#2E4BA4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E4BA4
7.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E4BA4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E4BA4 | 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)
#0757A7
Deuteranopia (green-blind)
#004CA2
Tritanopia (blue-blind)
#006070
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #2e4ba4; /* rgb */ color: rgb(46, 75, 164); /* oklch */ color: oklch(44.4% 0.148 266.7);
Tailwind
colors: {
custom: {
50: '#767cc0',
500: '#2e4ba4',
950: '#000000',
},
}SCSS
$custom: #2e4ba4; $custom-light: #767cc0; $custom-dark: #000000;
JSON
{
"hex": "#2e4ba4",
"rgb": {
"r": 46,
"g": 75,
"b": 164
},
"hsl": {
"h": 225.254,
"s": 56.19,
"l": 41.176
},
"oklch": {
"l": 0.44363,
"c": 0.14787,
"h": 266.7
},
"luminance": 0.08293
}Semantic roles & 50–950 ramp
primary
#2E4BA4
secondary
#C0AC6E
accent
#BA48DF
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#0A0912
muted
#7C7B81