#2A57C7#2A57C7
#2A57C7 is a mid, vivid blue. Relative luminance 0.114; OKLCH L 49.5% C 0.182 H 264.2°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).
Color values
| HEX | #2A57C7 |
|---|---|
| RGB | rgb(42, 87, 199) |
| HSL | hsl(223, 65%, 47%) |
| HSV | hsv(223, 79%, 78%) |
| CMYK | cmyk(78.9%, 56.3%, 0%, 22%) |
| CIE-LAB | lab(40.30, 25.54, -62.66) |
| CIE-LCH | lch(40.30, 67.66, 292.18°) |
| OKLab | oklab(49.45% -0.0184 -0.1809) |
| OKLCH | oklch(49.45% 0.182 264.2) |
| XYZ | xyz(14.6682, 11.4304, 55.4550) |
| Luminance | 0.1143 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.01
Denim
#1560BD
ΔE00 4.84
Azul
#1D5DEC
ΔE00 4.89
Warm Blue
#4B57DB
ΔE00 5.29
Cobalt
#0047AB
ΔE00 6.37
Blue Blue
#2242C7
ΔE00 6.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A57C7 #C79A2A
analogous
#2AA5C7 #2A57C7 #4C2AC7
triadic
#2A57C7 #C72A57 #57C72A
tetradic
#2A57C7 #C72AA5 #C79A2A #2AC74C
square
#2A57C7 #C72AA5 #C79A2A #2AC74C
split-complementary
#2A57C7 #C74C2A #A5C72A
monochromatic
#152B62 #1F4194 #2A57C7 #537ADB #86A1E5
Accessibility & contrast
On white
6.39
#2A57C7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.29
#2A57C7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A57C7
6.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A57C7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A57C7 | 1.00 | 6.39 | 3.29 | 6.39 |
| #FFFFFF | 6.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067CB
Deuteranopia (green-blind)
#0058C5
Tritanopia (blue-blind)
#007386
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #2a57c7; /* rgb */ color: rgb(42, 87, 199); /* oklch */ color: oklch(49.5% 0.182 264.2);
Tailwind
colors: {
custom: {
50: '#7c85d9',
500: '#2a57c7',
950: '#000000',
},
}SCSS
$custom: #2a57c7; $custom-light: #7c85d9; $custom-dark: #000000;
JSON
{
"hex": "#2a57c7",
"rgb": {
"r": 42,
"g": 87,
"b": 199
},
"hsl": {
"h": 222.803,
"s": 65.145,
"l": 47.255
},
"oklch": {
"l": 0.49454,
"c": 0.18182,
"h": 264.2
},
"luminance": 0.11432
}Semantic roles & 50–950 ramp
primary
#2A57C7
secondary
#CFB87E
accent
#B840E8
background
#F8F8FD
surface
#EFEFFB
border
#CACAD4
text
#0B0B15
muted
#7C7C83