#2E5AB9#2E5AB9
#2E5AB9 is a mid, vivid blue. Relative luminance 0.114; OKLCH L 49.1% C 0.158 H 263.1°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).
Color values
| HEX | #2E5AB9 |
|---|---|
| RGB | rgb(46, 90, 185) |
| HSL | hsl(221, 60%, 45%) |
| HSV | hsv(221, 75%, 73%) |
| CMYK | cmyk(75.1%, 51.4%, 0%, 27.5%) |
| CIE-LAB | lab(40.24, 18.71, -54.59) |
| CIE-LCH | lch(40.24, 57.71, 288.92°) |
| OKLab | oklab(49.13% -0.0189 -0.157) |
| OKLCH | oklch(49.13% 0.158 263.1) |
| XYZ | xyz(13.5367, 11.3945, 47.3755) |
| Luminance | 0.1140 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.86
Denim
#1560BD
ΔE00 3.44
Denim Blue
#3B5B92
ΔE00 4.94
Dusky Blue
#475F94
ΔE00 5.79
French Blue
#436BAD
ΔE00 5.94
Denim (survey)
#3B638C
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E5AB9 #B98D2E
analogous
#2E9FB9 #2E5AB9 #472EB9
triadic
#2E5AB9 #B92E5A #5AB92E
tetradic
#2E5AB9 #B92E9F #B98D2E #2EB947
square
#2E5AB9 #B92E9F #B98D2E #2EB947
split-complementary
#2E5AB9 #B9472E #9FB92E
monochromatic
#162A57 #224288 #2E5AB9 #517AD4 #829FE0
Accessibility & contrast
On white
6.40
#2E5AB9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.28
#2E5AB9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2E5AB9
6.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E5AB9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E5AB9 | 1.00 | 6.40 | 3.28 | 6.40 |
| #FFFFFF | 6.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1D66BC
Deuteranopia (green-blind)
#0059B7
Tritanopia (blue-blind)
#007181
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #2e5ab9; /* rgb */ color: rgb(46, 90, 185); /* oklch */ color: oklch(49.1% 0.158 263.1);
Tailwind
colors: {
custom: {
50: '#7a88cf',
500: '#2e5ab9',
950: '#000000',
},
}SCSS
$custom: #2e5ab9; $custom-light: #7a88cf; $custom-dark: #000000;
JSON
{
"hex": "#2e5ab9",
"rgb": {
"r": 46,
"g": 90,
"b": 185
},
"hsl": {
"h": 221.007,
"s": 60.173,
"l": 45.294
},
"oklch": {
"l": 0.49127,
"c": 0.15818,
"h": 263.1
},
"luminance": 0.11396
}Semantic roles & 50–950 ramp
primary
#2E5AB9
secondary
#C9B07A
accent
#B144E3
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82