#2C57B5#2C57B5
#2C57B5 is a mid, vivid blue. Relative luminance 0.107; OKLCH L 48.1% C 0.157 H 263.2°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).
Color values
| HEX | #2C57B5 |
|---|---|
| RGB | rgb(44, 87, 181) |
| HSL | hsl(221, 61%, 44%) |
| HSV | hsv(221, 76%, 71%) |
| CMYK | cmyk(75.7%, 51.9%, 0%, 29%) |
| CIE-LAB | lab(39.05, 18.91, -54.17) |
| CIE-LCH | lch(39.05, 57.38, 289.24°) |
| OKLab | oklab(48.11% -0.0185 -0.1559) |
| OKLCH | oklch(48.11% 0.157 263.2) |
| XYZ | xyz(12.7844, 10.6866, 45.0961) |
| Luminance | 0.1069 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.09
Denim
#1560BD
ΔE00 4.17
Denim Blue
#3B5B92
ΔE00 4.72
Cobalt
#0047AB
ΔE00 5.33
Dusk Blue
#26538D
ΔE00 5.48
Dusky Blue
#475F94
ΔE00 5.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C57B5 #B58A2C
analogous
#2C9CB5 #2C57B5 #462CB5
triadic
#2C57B5 #B52C57 #57B52C
tetradic
#2C57B5 #B52C9C #B58A2C #2CB546
square
#2C57B5 #B52C9C #B58A2C #2CB546
split-complementary
#2C57B5 #B5462C #9CB52C
monochromatic
#142853 #203F84 #2C57B5 #4B76D3 #7C9BDF
Accessibility & contrast
On white
6.69
#2C57B5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.14
#2C57B5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2C57B5
6.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C57B5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C57B5 | 1.00 | 6.69 | 3.14 | 6.69 |
| #FFFFFF | 6.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1963B8
Deuteranopia (green-blind)
#0056B3
Tritanopia (blue-blind)
#006E7D
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #2c57b5; /* rgb */ color: rgb(44, 87, 181); /* oklch */ color: oklch(48.1% 0.157 263.2);
Tailwind
colors: {
custom: {
50: '#7985cc',
500: '#2c57b5',
950: '#000000',
},
}SCSS
$custom: #2c57b5; $custom-light: #7985cc; $custom-dark: #000000;
JSON
{
"hex": "#2c57b5",
"rgb": {
"r": 44,
"g": 87,
"b": 181
},
"hsl": {
"h": 221.168,
"s": 60.889,
"l": 44.118
},
"oklch": {
"l": 0.48112,
"c": 0.15699,
"h": 263.2
},
"luminance": 0.10688
}Semantic roles & 50–950 ramp
primary
#2C57B5
secondary
#C8AE75
accent
#B244E4
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0A0B13
muted
#7C7C82