#2E57BA#2E57BA
#2E57BA is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.6% C 0.163 H 264.2°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).
Color values
| HEX | #2E57BA |
|---|---|
| RGB | rgb(46, 87, 186) |
| HSL | hsl(222, 60%, 45%) |
| HSV | hsv(222, 75%, 73%) |
| CMYK | cmyk(75.3%, 53.2%, 0%, 27.1%) |
| CIE-LAB | lab(39.48, 21.06, -56.40) |
| CIE-LCH | lch(39.48, 60.20, 290.47°) |
| OKLab | oklab(48.58% -0.0164 -0.1624) |
| OKLCH | oklch(48.58% 0.163 264.2) |
| XYZ | xyz(13.3947, 10.9409, 47.8507) |
| Luminance | 0.1094 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.31
Denim
#1560BD
ΔE00 4.45
Denim Blue
#3B5B92
ΔE00 5.32
Cobalt
#0047AB
ΔE00 5.60
Dusky Blue
#475F94
ΔE00 6.20
Dusk Blue
#26538D
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E57BA #BA912E
analogous
#2E9DBA #2E57BA #4B2EBA
triadic
#2E57BA #BA2E57 #57BA2E
tetradic
#2E57BA #BA2E9D #BA912E #2EBA4B
square
#2E57BA #BA2E9D #BA912E #2EBA4B
split-complementary
#2E57BA #BA4B2E #9DBA2E
monochromatic
#162958 #224089 #2E57BA #5177D4 #829EE0
Accessibility & contrast
On white
6.59
#2E57BA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.19
#2E57BA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2E57BA
6.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E57BA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E57BA | 1.00 | 6.59 | 3.19 | 6.59 |
| #FFFFFF | 6.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0D64BD
Deuteranopia (green-blind)
#0057B8
Tritanopia (blue-blind)
#006F80
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #2e57ba; /* rgb */ color: rgb(46, 87, 186); /* oklch */ color: oklch(48.6% 0.163 264.2);
Tailwind
colors: {
custom: {
50: '#7b85cf',
500: '#2e57ba',
950: '#000000',
},
}SCSS
$custom: #2e57ba; $custom-light: #7b85cf; $custom-dark: #000000;
JSON
{
"hex": "#2e57ba",
"rgb": {
"r": 46,
"g": 87,
"b": 186
},
"hsl": {
"h": 222.429,
"s": 60.345,
"l": 45.49
},
"oklch": {
"l": 0.48575,
"c": 0.16326,
"h": 264.2
},
"luminance": 0.10942
}Semantic roles & 50–950 ramp
primary
#2E57BA
secondary
#C9B27B
accent
#B544E3
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82