#2E59BA#2E59BA
#2E59BA is a mid, vivid blue. Relative luminance 0.113; OKLCH L 49.0% C 0.161 H 263.6°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).
Color values
| HEX | #2E59BA |
|---|---|
| RGB | rgb(46, 89, 186) |
| HSL | hsl(222, 60%, 45%) |
| HSV | hsv(222, 75%, 73%) |
| CMYK | cmyk(75.3%, 52.2%, 0%, 27.1%) |
| CIE-LAB | lab(40.03, 19.75, -55.51) |
| CIE-LCH | lch(40.03, 58.92, 289.58°) |
| OKLab | oklab(48.99% -0.018 -0.1598) |
| OKLCH | oklch(48.99% 0.161 263.6) |
| XYZ | xyz(13.5589, 11.2693, 47.9054) |
| Luminance | 0.1127 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.65
Denim
#1560BD
ΔE00 3.80
Denim Blue
#3B5B92
ΔE00 5.12
Dusky Blue
#475F94
ΔE00 5.97
Cobalt
#0047AB
ΔE00 6.13
Dusk Blue
#26538D
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E59BA #BA8F2E
analogous
#2E9FBA #2E59BA #492EBA
triadic
#2E59BA #BA2E59 #59BA2E
tetradic
#2E59BA #BA2E9F #BA8F2E #2EBA49
square
#2E59BA #BA2E9F #BA8F2E #2EBA49
split-complementary
#2E59BA #BA492E #9FBA2E
monochromatic
#162A58 #224289 #2E59BA #5179D4 #829FE0
Accessibility & contrast
On white
6.45
#2E59BA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.25
#2E59BA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2E59BA
6.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E59BA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E59BA | 1.00 | 6.45 | 3.25 | 6.45 |
| #FFFFFF | 6.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1765BD
Deuteranopia (green-blind)
#0058B8
Tritanopia (blue-blind)
#007081
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #2e59ba; /* rgb */ color: rgb(46, 89, 186); /* oklch */ color: oklch(49.0% 0.161 263.6);
Tailwind
colors: {
custom: {
50: '#7b87cf',
500: '#2e59ba',
950: '#000000',
},
}SCSS
$custom: #2e59ba; $custom-light: #7b87cf; $custom-dark: #000000;
JSON
{
"hex": "#2e59ba",
"rgb": {
"r": 46,
"g": 89,
"b": 186
},
"hsl": {
"h": 221.571,
"s": 60.345,
"l": 45.49
},
"oklch": {
"l": 0.48992,
"c": 0.16078,
"h": 263.6
},
"luminance": 0.11271
}Semantic roles & 50–950 ramp
primary
#2E59BA
secondary
#C9B17B
accent
#B344E3
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82