#2E4BB5#2E4BB5
#2E4BB5 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.7% C 0.171 H 267.4°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).
Color values
| HEX | #2E4BB5 |
|---|---|
| RGB | rgb(46, 75, 181) |
| HSL | hsl(227, 59%, 45%) |
| HSV | hsv(227, 75%, 71%) |
| CMYK | cmyk(74.6%, 58.6%, 0%, 29%) |
| CIE-LAB | lab(35.88, 27.06, -59.30) |
| CIE-LCH | lch(35.88, 65.18, 294.53°) |
| OKLab | oklab(45.75% -0.0077 -0.1711) |
| OKLCH | oklch(45.75% 0.171 267.4) |
| XYZ | xyz(11.9804, 8.9479, 44.8028) |
| Luminance | 0.0895 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.56
Blue Blue
#2242C7
ΔE00 3.71
Sapphire
#0F52BA
ΔE00 3.81
Blue (survey)
#0343DF
ΔE00 5.67
Sapphire (survey)
#2138AB
ΔE00 5.78
Cobalt (survey)
#1E488F
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E4BB5 #B5982E
analogous
#2E8FB5 #2E4BB5 #552EB5
triadic
#2E4BB5 #B52E4B #4BB52E
tetradic
#2E4BB5 #B52E8F #B5982E #2EB555
square
#2E4BB5 #B52E8F #B5982E #2EB555
split-complementary
#2E4BB5 #B5552E #8FB52E
monochromatic
#152353 #223784 #2E4BB5 #4E6AD2 #7F93DE
Accessibility & contrast
On white
7.53
#2E4BB5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.79
#2E4BB5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E4BB5
7.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E4BB5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E4BB5 | 1.00 | 7.53 | 2.79 | 7.53 |
| #FFFFFF | 7.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BB9
Deuteranopia (green-blind)
#004EB3
Tritanopia (blue-blind)
#006678
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #2e4bb5; /* rgb */ color: rgb(46, 75, 181); /* oklch */ color: oklch(45.7% 0.171 267.4);
Tailwind
colors: {
custom: {
50: '#7a7ccc',
500: '#2e4bb5',
950: '#000000',
},
}SCSS
$custom: #2e4bb5; $custom-light: #7a7ccc; $custom-dark: #000000;
JSON
{
"hex": "#2e4bb5",
"rgb": {
"r": 46,
"g": 75,
"b": 181
},
"hsl": {
"h": 227.111,
"s": 59.471,
"l": 44.51
},
"oklch": {
"l": 0.45748,
"c": 0.17132,
"h": 267.4
},
"luminance": 0.08949
}Semantic roles & 50–950 ramp
primary
#2E4BB5
secondary
#C7B678
accent
#C145E3
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0913
muted
#7C7B82