#2A57C1#2A57C1
#2A57C1 is a mid, vivid blue. Relative luminance 0.112; OKLCH L 49.0% C 0.174 H 263.8°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).
Color values
| HEX | #2A57C1 |
|---|---|
| RGB | rgb(42, 87, 193) |
| HSL | hsl(222, 64%, 46%) |
| HSV | hsv(222, 78%, 76%) |
| CMYK | cmyk(78.2%, 54.9%, 0%, 24.3%) |
| CIE-LAB | lab(39.84, 23.26, -59.91) |
| CIE-LCH | lch(39.84, 64.26, 291.22°) |
| OKLab | oklab(48.97% -0.0188 -0.1728) |
| OKLCH | oklch(48.97% 0.174 263.8) |
| XYZ | xyz(13.9852, 11.1573, 51.8582) |
| Luminance | 0.1116 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.44
Denim
#1560BD
ΔE00 4.46
Azul
#1D5DEC
ΔE00 5.61
Cobalt
#0047AB
ΔE00 5.91
Warm Blue
#4B57DB
ΔE00 6.00
Denim Blue
#3B5B92
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A57C1 #C1942A
analogous
#2AA2C1 #2A57C1 #482AC1
triadic
#2A57C1 #C12A57 #57C12A
tetradic
#2A57C1 #C12AA2 #C1942A #2AC148
square
#2A57C1 #C12AA2 #C1942A #2AC148
split-complementary
#2A57C1 #C1482A #A2C12A
monochromatic
#142A5C #1F408F #2A57C1 #4F78D9 #829FE4
Accessibility & contrast
On white
6.50
#2A57C1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.23
#2A57C1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A57C1
6.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A57C1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A57C1 | 1.00 | 6.50 | 3.23 | 6.50 |
| #FFFFFF | 6.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065C5
Deuteranopia (green-blind)
#0057BF
Tritanopia (blue-blind)
#007183
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #2a57c1; /* rgb */ color: rgb(42, 87, 193); /* oklch */ color: oklch(49.0% 0.174 263.8);
Tailwind
colors: {
custom: {
50: '#7b85d4',
500: '#2a57c1',
950: '#000000',
},
}SCSS
$custom: #2a57c1; $custom-light: #7b85d4; $custom-dark: #000000;
JSON
{
"hex": "#2a57c1",
"rgb": {
"r": 42,
"g": 87,
"b": 193
},
"hsl": {
"h": 222.119,
"s": 64.255,
"l": 46.078
},
"oklch": {
"l": 0.4897,
"c": 0.17382,
"h": 263.8
},
"luminance": 0.11159
}Semantic roles & 50–950 ramp
primary
#2A57C1
secondary
#CDB47A
accent
#B641E7
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0B14
muted
#7C7C83