#2A57B3#2A57B3
#2A57B3 is a mid, vivid blue. Relative luminance 0.106; OKLCH L 47.9% C 0.155 H 262.5°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).
Color values
| HEX | #2A57B3 |
|---|---|
| RGB | rgb(42, 87, 179) |
| HSL | hsl(220, 62%, 43%) |
| HSV | hsv(220, 77%, 70%) |
| CMYK | cmyk(76.5%, 51.4%, 0%, 29.8%) |
| CIE-LAB | lab(38.83, 17.90, -53.35) |
| CIE-LCH | lch(38.83, 56.27, 288.55°) |
| OKLab | oklab(47.88% -0.0202 -0.1535) |
| OKLCH | oklch(47.88% 0.155 262.5) |
| XYZ | xyz(12.4968, 10.5619, 44.0191) |
| Luminance | 0.1056 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.04
Denim
#1560BD
ΔE00 4.01
Denim Blue
#3B5B92
ΔE00 4.49
Dusk Blue
#26538D
ΔE00 5.12
Cobalt
#0047AB
ΔE00 5.24
Light Navy Blue
#2E5A88
ΔE00 5.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A57B3 #B3862A
analogous
#2A9BB3 #2A57B3 #412AB3
triadic
#2A57B3 #B32A57 #57B32A
tetradic
#2A57B3 #B32A9B #B3862A #2AB341
square
#2A57B3 #B32A9B #B3862A #2AB341
split-complementary
#2A57B3 #B3412A #9BB32A
monochromatic
#132750 #1E3F81 #2A57B3 #4675D4 #789ADF
Accessibility & contrast
On white
6.75
#2A57B3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.11
#2A57B3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A57B3
6.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A57B3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A57B3 | 1.00 | 6.75 | 3.11 | 6.75 |
| #FFFFFF | 6.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1C62B6
Deuteranopia (green-blind)
#0056B1
Tritanopia (blue-blind)
#006D7C
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #2a57b3; /* rgb */ color: rgb(42, 87, 179); /* oklch */ color: oklch(47.9% 0.155 262.5);
Tailwind
colors: {
custom: {
50: '#7885ca',
500: '#2a57b3',
950: '#000000',
},
}SCSS
$custom: #2a57b3; $custom-light: #7885ca; $custom-dark: #000000;
JSON
{
"hex": "#2a57b3",
"rgb": {
"r": 42,
"g": 87,
"b": 179
},
"hsl": {
"h": 220.292,
"s": 61.991,
"l": 43.333
},
"oklch": {
"l": 0.47882,
"c": 0.15482,
"h": 262.5
},
"luminance": 0.10563
}Semantic roles & 50–950 ramp
primary
#2A57B3
secondary
#C7AB72
accent
#B043E5
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82