#2E5AB4#2E5AB4
#2E5AB4 is a mid, vivid blue. Relative luminance 0.112; OKLCH L 48.8% C 0.151 H 262.6°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).
Color values
| HEX | #2E5AB4 |
|---|---|
| RGB | rgb(46, 90, 180) |
| HSL | hsl(220, 59%, 44%) |
| HSV | hsv(220, 74%, 71%) |
| CMYK | cmyk(74.4%, 50%, 0%, 29.4%) |
| CIE-LAB | lab(39.89, 16.81, -52.21) |
| CIE-LCH | lch(39.89, 54.85, 287.85°) |
| OKLab | oklab(48.76% -0.0195 -0.15) |
| OKLCH | oklch(48.76% 0.151 262.6) |
| XYZ | xyz(13.0182, 11.1870, 44.6444) |
| Luminance | 0.1119 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.88
Denim
#1560BD
ΔE00 3.33
Denim Blue
#3B5B92
ΔE00 4.35
Dusky Blue
#475F94
ΔE00 5.36
Dusk Blue
#26538D
ΔE00 5.52
Light Navy Blue
#2E5A88
ΔE00 5.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E5AB4 #B4882E
analogous
#2E9DB4 #2E5AB4 #452EB4
triadic
#2E5AB4 #B42E5A #5AB42E
tetradic
#2E5AB4 #B42E9D #B4882E #2EB445
square
#2E5AB4 #B42E9D #B4882E #2EB445
split-complementary
#2E5AB4 #B4452E #9DB42E
monochromatic
#152953 #224283 #2E5AB4 #4E79D2 #7E9EDE
Accessibility & contrast
On white
6.49
#2E5AB4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.24
#2E5AB4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2E5AB4
6.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E5AB4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E5AB4 | 1.00 | 6.49 | 3.24 | 6.49 |
| #FFFFFF | 6.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2565B7
Deuteranopia (green-blind)
#0058B2
Tritanopia (blue-blind)
#006F7E
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #2e5ab4; /* rgb */ color: rgb(46, 90, 180); /* oklch */ color: oklch(48.8% 0.151 262.6);
Tailwind
colors: {
custom: {
50: '#7988cb',
500: '#2e5ab4',
950: '#000000',
},
}SCSS
$custom: #2e5ab4; $custom-light: #7988cb; $custom-dark: #000000;
JSON
{
"hex": "#2e5ab4",
"rgb": {
"r": 46,
"g": 90,
"b": 180
},
"hsl": {
"h": 220.299,
"s": 59.292,
"l": 44.314
},
"oklch": {
"l": 0.48756,
"c": 0.15131,
"h": 262.6
},
"luminance": 0.11188
}Semantic roles & 50–950 ramp
primary
#2E5AB4
secondary
#C7AD77
accent
#AF45E2
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0A0B13
muted
#7C7C82