#2A57BC#2A57BC
#2A57BC is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.6% C 0.167 H 263.4°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).
Color values
| HEX | #2A57BC |
|---|---|
| RGB | rgb(42, 87, 188) |
| HSL | hsl(222, 63%, 45%) |
| HSV | hsv(222, 78%, 74%) |
| CMYK | cmyk(77.7%, 53.7%, 0%, 26.3%) |
| CIE-LAB | lab(39.48, 21.35, -57.59) |
| CIE-LCH | lch(39.48, 61.42, 290.34°) |
| OKLab | oklab(48.58% -0.0192 -0.166) |
| OKLCH | oklch(48.58% 0.167 263.4) |
| XYZ | xyz(13.4369, 10.9379, 48.9703) |
| Luminance | 0.1094 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.11
Denim
#1560BD
ΔE00 4.22
Denim Blue
#3B5B92
ΔE00 5.50
Cobalt
#0047AB
ΔE00 5.59
Azul
#1D5DEC
ΔE00 6.21
Dusk Blue
#26538D
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A57BC #BC8F2A
analogous
#2AA0BC #2A57BC #462ABC
triadic
#2A57BC #BC2A57 #57BC2A
tetradic
#2A57BC #BC2AA0 #BC8F2A #2ABC46
square
#2A57BC #BC2AA0 #BC8F2A #2ABC46
split-complementary
#2A57BC #BC462A #A0BC2A
monochromatic
#142958 #1F408A #2A57BC #4C77D7 #7E9DE2
Accessibility & contrast
On white
6.59
#2A57BC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.19
#2A57BC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A57BC
6.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A57BC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A57BC | 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)
#0364C0
Deuteranopia (green-blind)
#0057BA
Tritanopia (blue-blind)
#007081
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #2a57bc; /* rgb */ color: rgb(42, 87, 188); /* oklch */ color: oklch(48.6% 0.167 263.4);
Tailwind
colors: {
custom: {
50: '#7a85d1',
500: '#2a57bc',
950: '#000000',
},
}SCSS
$custom: #2a57bc; $custom-light: #7a85d1; $custom-dark: #000000;
JSON
{
"hex": "#2a57bc",
"rgb": {
"r": 42,
"g": 87,
"b": 188
},
"hsl": {
"h": 221.507,
"s": 63.478,
"l": 45.098
},
"oklch": {
"l": 0.48575,
"c": 0.16709,
"h": 263.4
},
"luminance": 0.10939
}Semantic roles & 50–950 ramp
primary
#2A57BC
secondary
#CBB177
accent
#B441E7
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82