#2E4BB7#2E4BB7
#2E4BB7 is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.9% C 0.174 H 267.5°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).
Color values
| HEX | #2E4BB7 |
|---|---|
| RGB | rgb(46, 75, 183) |
| HSL | hsl(227, 60%, 45%) |
| HSV | hsv(227, 75%, 72%) |
| CMYK | cmyk(74.9%, 59%, 0%, 28.2%) |
| CIE-LAB | lab(36.04, 27.81, -60.22) |
| CIE-LCH | lch(36.04, 66.33, 294.78°) |
| OKLab | oklab(45.92% -0.0076 -0.1738) |
| OKLCH | oklch(45.92% 0.174 267.5) |
| XYZ | xyz(12.1871, 9.0306, 45.8914) |
| Luminance | 0.0903 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.51
Cobalt
#0047AB
ΔE00 3.74
Sapphire
#0F52BA
ΔE00 3.85
Blue (survey)
#0343DF
ΔE00 5.41
Sapphire (survey)
#2138AB
ΔE00 5.81
Ocean Blue
#4F42B5
ΔE00 6.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E4BB7 #B79A2E
analogous
#2E90B7 #2E4BB7 #552EB7
triadic
#2E4BB7 #B72E4B #4BB72E
tetradic
#2E4BB7 #B72E90 #B79A2E #2EB755
square
#2E4BB7 #B72E90 #B79A2E #2EB755
split-complementary
#2E4BB7 #B7552E #90B72E
monochromatic
#152355 #223786 #2E4BB7 #4F6BD3 #8094DF
Accessibility & contrast
On white
7.48
#2E4BB7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.81
#2E4BB7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E4BB7
7.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E4BB7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E4BB7 | 1.00 | 7.48 | 2.81 | 7.48 |
| #FFFFFF | 7.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BBB
Deuteranopia (green-blind)
#004FB5
Tritanopia (blue-blind)
#006679
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #2e4bb7; /* rgb */ color: rgb(46, 75, 183); /* oklch */ color: oklch(45.9% 0.174 267.5);
Tailwind
colors: {
custom: {
50: '#7b7ccd',
500: '#2e4bb7',
950: '#000000',
},
}SCSS
$custom: #2e4bb7; $custom-light: #7b7ccd; $custom-dark: #000000;
JSON
{
"hex": "#2e4bb7",
"rgb": {
"r": 46,
"g": 75,
"b": 183
},
"hsl": {
"h": 227.299,
"s": 59.825,
"l": 44.902
},
"oklch": {
"l": 0.45917,
"c": 0.17402,
"h": 267.5
},
"luminance": 0.09032
}Semantic roles & 50–950 ramp
primary
#2E4BB7
secondary
#C8B779
accent
#C245E3
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0914
muted
#7C7B82