#2A57B2#2A57B2
#2A57B2 is a mid, vivid blue. Relative luminance 0.105; OKLCH L 47.8% C 0.153 H 262.4°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).
Color values
| HEX | #2A57B2 |
|---|---|
| RGB | rgb(42, 87, 178) |
| HSL | hsl(220, 62%, 43%) |
| HSV | hsv(220, 76%, 70%) |
| CMYK | cmyk(76.4%, 51.1%, 0%, 30.2%) |
| CIE-LAB | lab(38.76, 17.52, -52.87) |
| CIE-LCH | lch(38.76, 55.70, 288.33°) |
| OKLab | oklab(47.81% -0.0203 -0.1521) |
| OKLCH | oklch(47.81% 0.153 262.4) |
| XYZ | xyz(12.3960, 10.5216, 43.4884) |
| Luminance | 0.1052 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.07
Denim
#1560BD
ΔE00 4.01
Denim Blue
#3B5B92
ΔE00 4.38
Dusk Blue
#26538D
ΔE00 4.99
Cobalt
#0047AB
ΔE00 5.22
Light Navy Blue
#2E5A88
ΔE00 5.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A57B2 #B2852A
analogous
#2A9BB2 #2A57B2 #412AB2
triadic
#2A57B2 #B22A57 #57B22A
tetradic
#2A57B2 #B22A9B #B2852A #2AB241
square
#2A57B2 #B22A9B #B2852A #2AB241
split-complementary
#2A57B2 #B2412A #9BB22A
monochromatic
#13274F #1E3F80 #2A57B2 #4675D3 #779ADF
Accessibility & contrast
On white
6.76
#2A57B2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.10
#2A57B2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A57B2
6.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A57B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A57B2 | 1.00 | 6.76 | 3.10 | 6.76 |
| #FFFFFF | 6.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1E62B5
Deuteranopia (green-blind)
#0055B0
Tritanopia (blue-blind)
#006D7C
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #2a57b2; /* rgb */ color: rgb(42, 87, 178); /* oklch */ color: oklch(47.8% 0.153 262.4);
Tailwind
colors: {
custom: {
50: '#7785ca',
500: '#2a57b2',
950: '#000000',
},
}SCSS
$custom: #2a57b2; $custom-light: #7785ca; $custom-dark: #000000;
JSON
{
"hex": "#2a57b2",
"rgb": {
"r": 42,
"g": 87,
"b": 178
},
"hsl": {
"h": 220.147,
"s": 61.818,
"l": 43.137
},
"oklch": {
"l": 0.47807,
"c": 0.15345,
"h": 262.4
},
"luminance": 0.10523
}Semantic roles & 50–950 ramp
primary
#2A57B2
secondary
#C7AA71
accent
#AF43E5
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82