#2E5EBA#2E5EBA
#2E5EBA is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.1% C 0.155 H 261.8°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).
Color values
| HEX | #2E5EBA |
|---|---|
| RGB | rgb(46, 94, 186) |
| HSL | hsl(219, 60%, 45%) |
| HSV | hsv(219, 75%, 73%) |
| CMYK | cmyk(75.3%, 49.5%, 0%, 27.1%) |
| CIE-LAB | lab(41.42, 16.48, -53.26) |
| CIE-LCH | lch(41.42, 55.76, 287.19°) |
| OKLab | oklab(50.05% -0.022 -0.1531) |
| OKLCH | oklch(50.05% 0.155 261.8) |
| XYZ | xyz(13.9892, 12.1299, 48.0489) |
| Luminance | 0.1213 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 2.32
Sapphire
#0F52BA
ΔE00 4.00
French Blue
#436BAD
ΔE00 4.69
Denim Blue
#3B5B92
ΔE00 5.06
Mid Blue
#276AB3
ΔE00 5.29
Denim (survey)
#3B638C
ΔE00 5.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E5EBA #BA8A2E
analogous
#2EA4BA #2E5EBA #442EBA
triadic
#2E5EBA #BA2E5E #5EBA2E
tetradic
#2E5EBA #BA2EA4 #BA8A2E #2EBA44
square
#2E5EBA #BA2EA4 #BA8A2E #2EBA44
split-complementary
#2E5EBA #BA442E #A4BA2E
monochromatic
#162C58 #224589 #2E5EBA #517ED4 #82A2E0
Accessibility & contrast
On white
6.13
#2E5EBA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.43
#2E5EBA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2E5EBA
6.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E5EBA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E5EBA | 1.00 | 6.13 | 3.43 | 6.13 |
| #FFFFFF | 6.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2869BD
Deuteranopia (green-blind)
#005CB8
Tritanopia (blue-blind)
#007483
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #2e5eba; /* rgb */ color: rgb(46, 94, 186); /* oklch */ color: oklch(50.1% 0.155 261.8);
Tailwind
colors: {
custom: {
50: '#7a8bcf',
500: '#2e5eba',
950: '#000000',
},
}SCSS
$custom: #2e5eba; $custom-light: #7a8bcf; $custom-dark: #000000;
JSON
{
"hex": "#2e5eba",
"rgb": {
"r": 46,
"g": 94,
"b": 186
},
"hsl": {
"h": 219.429,
"s": 60.345,
"l": 45.49
},
"oklch": {
"l": 0.50053,
"c": 0.15465,
"h": 261.8
},
"luminance": 0.12131
}Semantic roles & 50–950 ramp
primary
#2E5EBA
secondary
#C9AE7B
accent
#AD44E3
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0B14
muted
#7C7C82