#2E4BAE#2E4BAE
#2E4BAE is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.2% C 0.162 H 267.2°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).
Color values
| HEX | #2E4BAE |
|---|---|
| RGB | rgb(46, 75, 174) |
| HSL | hsl(226, 58%, 43%) |
| HSV | hsv(226, 74%, 68%) |
| CMYK | cmyk(73.6%, 56.9%, 0%, 31.8%) |
| CIE-LAB | lab(35.34, 24.43, -56.05) |
| CIE-LCH | lch(35.34, 61.14, 293.56°) |
| OKLab | oklab(45.17% -0.008 -0.1616) |
| OKLCH | oklch(45.17% 0.162 267.2) |
| XYZ | xyz(11.2801, 8.6678, 41.1148) |
| Luminance | 0.0867 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.06
Sapphire
#0F52BA
ΔE00 3.79
Blue Blue
#2242C7
ΔE00 4.50
Cobalt (survey)
#1E488F
ΔE00 5.17
Sapphire (survey)
#2138AB
ΔE00 5.80
Blueberry
#464196
ΔE00 6.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E4BAE #AE912E
analogous
#2E8BAE #2E4BAE #512EAE
triadic
#2E4BAE #AE2E4B #4BAE2E
tetradic
#2E4BAE #AE2E8B #AE912E #2EAE51
square
#2E4BAE #AE2E8B #AE912E #2EAE51
split-complementary
#2E4BAE #AE512E #8BAE2E
monochromatic
#14214D #21367E #2E4BAE #4A68CF #7A91DC
Accessibility & contrast
On white
7.68
#2E4BAE on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.73
#2E4BAE on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E4BAE
7.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E4BAE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E4BAE | 1.00 | 7.68 | 2.73 | 7.68 |
| #FFFFFF | 7.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059B1
Deuteranopia (green-blind)
#004DAC
Tritanopia (blue-blind)
#006375
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #2e4bae; /* rgb */ color: rgb(46, 75, 174); /* oklch */ color: oklch(45.2% 0.162 267.2);
Tailwind
colors: {
custom: {
50: '#797cc7',
500: '#2e4bae',
950: '#000000',
},
}SCSS
$custom: #2e4bae; $custom-light: #797cc7; $custom-dark: #000000;
JSON
{
"hex": "#2e4bae",
"rgb": {
"r": 46,
"g": 75,
"b": 174
},
"hsl": {
"h": 226.406,
"s": 58.182,
"l": 43.137
},
"oklch": {
"l": 0.45167,
"c": 0.16178,
"h": 267.2
},
"luminance": 0.08669
}Semantic roles & 50–950 ramp
primary
#2E4BAE
secondary
#C4B274
accent
#BE46E1
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0913
muted
#7C7B82