#2E5AB8#2E5AB8
#2E5AB8 is a mid, vivid blue. Relative luminance 0.114; OKLCH L 49.1% C 0.157 H 263.0°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).
Color values
| HEX | #2E5AB8 |
|---|---|
| RGB | rgb(46, 90, 184) |
| HSL | hsl(221, 60%, 45%) |
| HSV | hsv(221, 75%, 72%) |
| CMYK | cmyk(75%, 51.1%, 0%, 27.8%) |
| CIE-LAB | lab(40.17, 18.33, -54.12) |
| CIE-LCH | lch(40.17, 57.14, 288.71°) |
| OKLab | oklab(49.05% -0.019 -0.1557) |
| OKLCH | oklch(49.05% 0.157 263) |
| XYZ | xyz(13.4315, 11.3524, 46.8215) |
| Luminance | 0.1135 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.85
Denim
#1560BD
ΔE00 3.41
Denim Blue
#3B5B92
ΔE00 4.82
Dusky Blue
#475F94
ΔE00 5.70
French Blue
#436BAD
ΔE00 5.91
Dusk Blue
#26538D
ΔE00 6.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E5AB8 #B88C2E
analogous
#2E9FB8 #2E5AB8 #472EB8
triadic
#2E5AB8 #B82E5A #5AB82E
tetradic
#2E5AB8 #B82E9F #B88C2E #2EB847
square
#2E5AB8 #B82E9F #B88C2E #2EB847
split-complementary
#2E5AB8 #B8472E #9FB82E
monochromatic
#162A56 #224287 #2E5AB8 #507AD3 #819FDF
Accessibility & contrast
On white
6.42
#2E5AB8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.27
#2E5AB8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2E5AB8
6.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E5AB8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E5AB8 | 1.00 | 6.42 | 3.27 | 6.42 |
| #FFFFFF | 6.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F65BB
Deuteranopia (green-blind)
#0059B6
Tritanopia (blue-blind)
#007180
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #2e5ab8; /* rgb */ color: rgb(46, 90, 184); /* oklch */ color: oklch(49.1% 0.157 263.0);
Tailwind
colors: {
custom: {
50: '#7a88ce',
500: '#2e5ab8',
950: '#000000',
},
}SCSS
$custom: #2e5ab8; $custom-light: #7a88ce; $custom-dark: #000000;
JSON
{
"hex": "#2e5ab8",
"rgb": {
"r": 46,
"g": 90,
"b": 184
},
"hsl": {
"h": 220.87,
"s": 60,
"l": 45.098
},
"oklch": {
"l": 0.49052,
"c": 0.15682,
"h": 263
},
"luminance": 0.11354
}Semantic roles & 50–950 ramp
primary
#2E5AB8
secondary
#C8AF79
accent
#B145E3
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82