#2A57B6#2A57B6
#2A57B6 is a mid, vivid blue. Relative luminance 0.107; OKLCH L 48.1% C 0.159 H 262.8°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).
Color values
| HEX | #2A57B6 |
|---|---|
| RGB | rgb(42, 87, 182) |
| HSL | hsl(221, 63%, 44%) |
| HSV | hsv(221, 77%, 71%) |
| CMYK | cmyk(76.9%, 52.2%, 0%, 28.6%) |
| CIE-LAB | lab(39.04, 19.05, -54.77) |
| CIE-LCH | lch(39.04, 57.99, 289.18°) |
| OKLab | oklab(48.11% -0.0198 -0.1577) |
| OKLCH | oklch(48.11% 0.159 262.8) |
| XYZ | xyz(12.8035, 10.6846, 45.6344) |
| Luminance | 0.1069 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 1.97
Denim
#1560BD
ΔE00 4.04
Denim Blue
#3B5B92
ΔE00 4.82
Cobalt
#0047AB
ΔE00 5.32
Dusk Blue
#26538D
ΔE00 5.51
Light Navy Blue
#2E5A88
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A57B6 #B6892A
analogous
#2A9DB6 #2A57B6 #432AB6
triadic
#2A57B6 #B62A57 #57B62A
tetradic
#2A57B6 #B62A9D #B6892A #2AB643
square
#2A57B6 #B62A9D #B6892A #2AB643
split-complementary
#2A57B6 #B6432A #9DB62A
monochromatic
#132753 #1F3F84 #2A57B6 #4876D5 #7A9BE0
Accessibility & contrast
On white
6.69
#2A57B6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.14
#2A57B6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A57B6
6.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A57B6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A57B6 | 1.00 | 6.69 | 3.14 | 6.69 |
| #FFFFFF | 6.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1663B9
Deuteranopia (green-blind)
#0056B4
Tritanopia (blue-blind)
#006E7E
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #2a57b6; /* rgb */ color: rgb(42, 87, 182); /* oklch */ color: oklch(48.1% 0.159 262.8);
Tailwind
colors: {
custom: {
50: '#7885cd',
500: '#2a57b6',
950: '#000000',
},
}SCSS
$custom: #2a57b6; $custom-light: #7885cd; $custom-dark: #000000;
JSON
{
"hex": "#2a57b6",
"rgb": {
"r": 42,
"g": 87,
"b": 182
},
"hsl": {
"h": 220.714,
"s": 62.5,
"l": 43.922
},
"oklch": {
"l": 0.48111,
"c": 0.15893,
"h": 262.8
},
"luminance": 0.10686
}Semantic roles & 50–950 ramp
primary
#2A57B6
secondary
#C8AD73
accent
#B142E6
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0A0B13
muted
#7C7C82