#2C56AB#2C56AB
#2C56AB is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.1% C 0.144 H 262.5°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).
Color values
| HEX | #2C56AB |
|---|---|
| RGB | rgb(44, 86, 171) |
| HSL | hsl(220, 59%, 42%) |
| HSV | hsv(220, 74%, 67%) |
| CMYK | cmyk(74.3%, 49.7%, 0%, 32.9%) |
| CIE-LAB | lab(38.07, 15.75, -49.84) |
| CIE-LCH | lch(38.07, 52.27, 287.54°) |
| OKLab | oklab(47.15% -0.0189 -0.1432) |
| OKLCH | oklch(47.15% 0.144 262.5) |
| XYZ | xyz(11.7146, 10.1300, 39.8581) |
| Luminance | 0.1013 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.44
Denim Blue
#3B5B92
ΔE00 3.77
Dusk Blue
#26538D
ΔE00 4.23
Denim
#1560BD
ΔE00 4.54
Cobalt
#0047AB
ΔE00 4.90
Light Navy Blue
#2E5A88
ΔE00 5.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C56AB #AB812C
analogous
#2C96AB #2C56AB #412CAB
triadic
#2C56AB #AB2C56 #56AB2C
tetradic
#2C56AB #AB2C96 #AB812C #2CAB41
square
#2C56AB #AB2C96 #AB812C #2CAB41
split-complementary
#2C56AB #AB412C #96AB2C
monochromatic
#13254A #1F3E7A #2C56AB #4573CF #7697DC
Accessibility & contrast
On white
6.94
#2C56AB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.03
#2C56AB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2C56AB
6.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C56AB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C56AB | 1.00 | 6.94 | 3.03 | 6.94 |
| #FFFFFF | 6.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2560AE
Deuteranopia (green-blind)
#0054A9
Tritanopia (blue-blind)
#006A78
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #2c56ab; /* rgb */ color: rgb(44, 86, 171); /* oklch */ color: oklch(47.1% 0.144 262.5);
Tailwind
colors: {
custom: {
50: '#7785c5',
500: '#2c56ab',
950: '#000000',
},
}SCSS
$custom: #2c56ab; $custom-light: #7785c5; $custom-dark: #000000;
JSON
{
"hex": "#2c56ab",
"rgb": {
"r": 44,
"g": 86,
"b": 171
},
"hsl": {
"h": 220.157,
"s": 59.07,
"l": 42.157
},
"oklch": {
"l": 0.47149,
"c": 0.14441,
"h": 262.5
},
"luminance": 0.10131
}Semantic roles & 50–950 ramp
primary
#2C56AB
secondary
#C3A86F
accent
#AE46E2
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82