#2E5AB7#2E5AB7
#2E5AB7 is a mid, vivid blue. Relative luminance 0.113; OKLCH L 49.0% C 0.155 H 262.9°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).
Color values
| HEX | #2E5AB7 |
|---|---|
| RGB | rgb(46, 90, 183) |
| HSL | hsl(221, 60%, 45%) |
| HSV | hsv(221, 75%, 72%) |
| CMYK | cmyk(74.9%, 50.8%, 0%, 28.2%) |
| CIE-LAB | lab(40.10, 17.95, -53.64) |
| CIE-LCH | lch(40.10, 56.57, 288.50°) |
| OKLab | oklab(48.98% -0.0191 -0.1543) |
| OKLCH | oklch(48.98% 0.155 262.9) |
| XYZ | xyz(13.3271, 11.3106, 46.2714) |
| Luminance | 0.1131 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.85
Denim
#1560BD
ΔE00 3.39
Denim Blue
#3B5B92
ΔE00 4.70
Dusky Blue
#475F94
ΔE00 5.61
Dusk Blue
#26538D
ΔE00 5.88
French Blue
#436BAD
ΔE00 5.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E5AB7 #B78B2E
analogous
#2E9EB7 #2E5AB7 #472EB7
triadic
#2E5AB7 #B72E5A #5AB72E
tetradic
#2E5AB7 #B72E9E #B78B2E #2EB747
square
#2E5AB7 #B72E9E #B78B2E #2EB747
split-complementary
#2E5AB7 #B7472E #9EB72E
monochromatic
#152A55 #224286 #2E5AB7 #4F7AD3 #809FDF
Accessibility & contrast
On white
6.44
#2E5AB7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.26
#2E5AB7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2E5AB7
6.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E5AB7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E5AB7 | 1.00 | 6.44 | 3.26 | 6.44 |
| #FFFFFF | 6.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2065BA
Deuteranopia (green-blind)
#0059B5
Tritanopia (blue-blind)
#007080
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #2e5ab7; /* rgb */ color: rgb(46, 90, 183); /* oklch */ color: oklch(49.0% 0.155 262.9);
Tailwind
colors: {
custom: {
50: '#7a88cd',
500: '#2e5ab7',
950: '#000000',
},
}SCSS
$custom: #2e5ab7; $custom-light: #7a88cd; $custom-dark: #000000;
JSON
{
"hex": "#2e5ab7",
"rgb": {
"r": 46,
"g": 90,
"b": 183
},
"hsl": {
"h": 220.73,
"s": 59.825,
"l": 44.902
},
"oklch": {
"l": 0.48978,
"c": 0.15544,
"h": 262.9
},
"luminance": 0.11312
}Semantic roles & 50–950 ramp
primary
#2E5AB7
secondary
#C8AF79
accent
#B045E3
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B13
muted
#7C7C82