#2C57A2#2C57A2
#2C57A2 is a mid, vivid blue. Relative luminance 0.100; OKLCH L 46.7% C 0.131 H 260.7°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).
Color values
| HEX | #2C57A2 |
|---|---|
| RGB | rgb(44, 87, 162) |
| HSL | hsl(218, 57%, 40%) |
| HSV | hsv(218, 73%, 64%) |
| CMYK | cmyk(72.8%, 46.3%, 0%, 36.5%) |
| CIE-LAB | lab(37.77, 11.65, -44.97) |
| CIE-LCH | lch(37.77, 46.46, 284.52°) |
| OKLab | oklab(46.73% -0.0212 -0.1288) |
| OKLCH | oklch(46.73% 0.131 260.7) |
| XYZ | xyz(10.9661, 9.9593, 35.5198) |
| Luminance | 0.0996 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim Blue
#3B5B92
ΔE00 2.80
Dusk Blue
#26538D
ΔE00 3.10
Sapphire
#0F52BA
ΔE00 3.44
Light Navy Blue
#2E5A88
ΔE00 3.90
Denim
#1560BD
ΔE00 4.57
Dusky Blue
#475F94
ΔE00 4.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C57A2 #A2772C
analogous
#2C92A2 #2C57A2 #3C2CA2
triadic
#2C57A2 #A22C57 #57A22C
tetradic
#2C57A2 #A22C92 #A2772C #2CA23C
square
#2C57A2 #A22C92 #A2772C #2CA23C
split-complementary
#2C57A2 #A23C2C #92A22C
monochromatic
#122342 #1F3D72 #2C57A2 #4073CB #7096D8
Accessibility & contrast
On white
7.02
#2C57A2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.99
#2C57A2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C57A2
7.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C57A2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C57A2 | 1.00 | 7.02 | 2.99 | 7.02 |
| #FFFFFF | 7.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#315FA5
Deuteranopia (green-blind)
#1854A0
Tritanopia (blue-blind)
#006974
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #2c57a2; /* rgb */ color: rgb(44, 87, 162); /* oklch */ color: oklch(46.7% 0.131 260.7);
Tailwind
colors: {
custom: {
50: '#7585be',
500: '#2c57a2',
950: '#000000',
},
}SCSS
$custom: #2c57a2; $custom-light: #7585be; $custom-dark: #000000;
JSON
{
"hex": "#2c57a2",
"rgb": {
"r": 44,
"g": 87,
"b": 162
},
"hsl": {
"h": 218.136,
"s": 57.282,
"l": 40.392
},
"oklch": {
"l": 0.46725,
"c": 0.13056,
"h": 260.7
},
"luminance": 0.0996
}Semantic roles & 50–950 ramp
primary
#2C57A2
secondary
#BFA06A
accent
#A947E1
background
#F7F8FB
surface
#EEEFF7
border
#C9CAD0
text
#090B12
muted
#7B7C81