#2C57A1#2C57A1
#2C57A1 is a mid, vivid blue. Relative luminance 0.099; OKLCH L 46.7% C 0.129 H 260.5°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).
Color values
| HEX | #2C57A1 |
|---|---|
| RGB | rgb(44, 87, 161) |
| HSL | hsl(218, 57%, 40%) |
| HSV | hsv(218, 73%, 63%) |
| CMYK | cmyk(72.7%, 46%, 0%, 36.9%) |
| CIE-LAB | lab(37.71, 11.27, -44.48) |
| CIE-LCH | lch(37.71, 45.88, 284.21°) |
| OKLab | oklab(46.66% -0.0214 -0.1274) |
| OKLCH | oklch(46.66% 0.129 260.5) |
| XYZ | xyz(10.8776, 9.9239, 35.0535) |
| Luminance | 0.0993 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim Blue
#3B5B92
ΔE00 2.73
Dusk Blue
#26538D
ΔE00 2.97
Sapphire
#0F52BA
ΔE00 3.55
Light Navy Blue
#2E5A88
ΔE00 3.79
Denim
#1560BD
ΔE00 4.62
Dusky Blue
#475F94
ΔE00 4.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C57A1 #A1762C
analogous
#2C91A1 #2C57A1 #3C2CA1
triadic
#2C57A1 #A12C57 #57A12C
tetradic
#2C57A1 #A12C91 #A1762C #2CA13C
square
#2C57A1 #A12C91 #A1762C #2CA13C
split-complementary
#2C57A1 #A13C2C #91A12C
monochromatic
#122341 #1F3D71 #2C57A1 #4073CB #7096D8
Accessibility & contrast
On white
7.04
#2C57A1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.99
#2C57A1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C57A1
7.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C57A1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C57A1 | 1.00 | 7.04 | 2.99 | 7.04 |
| #FFFFFF | 7.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#315FA4
Deuteranopia (green-blind)
#1A549F
Tritanopia (blue-blind)
#006874
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #2c57a1; /* rgb */ color: rgb(44, 87, 161); /* oklch */ color: oklch(46.7% 0.129 260.5);
Tailwind
colors: {
custom: {
50: '#7485bd',
500: '#2c57a1',
950: '#000000',
},
}SCSS
$custom: #2c57a1; $custom-light: #7485bd; $custom-dark: #000000;
JSON
{
"hex": "#2c57a1",
"rgb": {
"r": 44,
"g": 87,
"b": 161
},
"hsl": {
"h": 217.949,
"s": 57.073,
"l": 40.196
},
"oklch": {
"l": 0.46655,
"c": 0.12916,
"h": 260.5
},
"luminance": 0.09925
}Semantic roles & 50–950 ramp
primary
#2C57A1
secondary
#BFA06A
accent
#A847E0
background
#F7F8FB
surface
#EEEFF6
border
#C9CAD0
text
#090B12
muted
#7B7C81