#2E4BB6#2E4BB6
#2E4BB6 is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.8% C 0.173 H 267.5°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).
Color values
| HEX | #2E4BB6 |
|---|---|
| RGB | rgb(46, 75, 182) |
| HSL | hsl(227, 60%, 45%) |
| HSV | hsv(227, 75%, 71%) |
| CMYK | cmyk(74.7%, 58.8%, 0%, 28.6%) |
| CIE-LAB | lab(35.96, 27.43, -59.76) |
| CIE-LCH | lch(35.96, 65.76, 294.66°) |
| OKLab | oklab(45.83% -0.0077 -0.1725) |
| OKLCH | oklch(45.83% 0.173 267.5) |
| XYZ | xyz(12.0834, 8.9891, 45.3451) |
| Luminance | 0.0899 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.61
Cobalt
#0047AB
ΔE00 3.65
Sapphire
#0F52BA
ΔE00 3.83
Blue (survey)
#0343DF
ΔE00 5.54
Sapphire (survey)
#2138AB
ΔE00 5.79
Ocean Blue
#4F42B5
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E4BB6 #B6992E
analogous
#2E8FB6 #2E4BB6 #552EB6
triadic
#2E4BB6 #B62E4B #4BB62E
tetradic
#2E4BB6 #B62E8F #B6992E #2EB655
square
#2E4BB6 #B62E8F #B6992E #2EB655
split-complementary
#2E4BB6 #B6552E #8FB62E
monochromatic
#152354 #223785 #2E4BB6 #4F6BD2 #8094DF
Accessibility & contrast
On white
7.51
#2E4BB6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.80
#2E4BB6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E4BB6
7.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E4BB6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E4BB6 | 1.00 | 7.51 | 2.80 | 7.51 |
| #FFFFFF | 7.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BBA
Deuteranopia (green-blind)
#004EB4
Tritanopia (blue-blind)
#006679
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #2e4bb6; /* rgb */ color: rgb(46, 75, 182); /* oklch */ color: oklch(45.8% 0.173 267.5);
Tailwind
colors: {
custom: {
50: '#7a7ccd',
500: '#2e4bb6',
950: '#000000',
},
}SCSS
$custom: #2e4bb6; $custom-light: #7a7ccd; $custom-dark: #000000;
JSON
{
"hex": "#2e4bb6",
"rgb": {
"r": 46,
"g": 75,
"b": 182
},
"hsl": {
"h": 227.206,
"s": 59.649,
"l": 44.706
},
"oklch": {
"l": 0.45832,
"c": 0.17267,
"h": 267.5
},
"luminance": 0.0899
}Semantic roles & 50–950 ramp
primary
#2E4BB6
secondary
#C8B778
accent
#C145E3
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0913
muted
#7C7B82