#2C56B5#2C56B5
#2C56B5 is a mid, vivid blue. Relative luminance 0.105; OKLCH L 47.9% C 0.158 H 263.6°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).
Color values
| HEX | #2C56B5 |
|---|---|
| RGB | rgb(44, 86, 181) |
| HSL | hsl(222, 61%, 44%) |
| HSV | hsv(222, 76%, 71%) |
| CMYK | cmyk(75.7%, 52.5%, 0%, 29%) |
| CIE-LAB | lab(38.77, 19.57, -54.62) |
| CIE-LCH | lch(38.77, 58.02, 289.71°) |
| OKLab | oklab(47.9% -0.0177 -0.1572) |
| OKLCH | oklch(47.9% 0.158 263.6) |
| XYZ | xyz(12.7040, 10.5258, 45.0693) |
| Luminance | 0.1053 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 1.94
Denim
#1560BD
ΔE00 4.51
Denim Blue
#3B5B92
ΔE00 4.85
Cobalt
#0047AB
ΔE00 5.06
Dusk Blue
#26538D
ΔE00 5.51
Dusky Blue
#475F94
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C56B5 #B58B2C
analogous
#2C9BB5 #2C56B5 #472CB5
triadic
#2C56B5 #B52C56 #56B52C
tetradic
#2C56B5 #B52C9B #B58B2C #2CB547
square
#2C56B5 #B52C9B #B58B2C #2CB547
split-complementary
#2C56B5 #B5472C #9BB52C
monochromatic
#142753 #203F84 #2C56B5 #4B75D3 #7C9BDF
Accessibility & contrast
On white
6.76
#2C56B5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.11
#2C56B5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2C56B5
6.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C56B5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C56B5 | 1.00 | 6.76 | 3.11 | 6.76 |
| #FFFFFF | 6.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1462B8
Deuteranopia (green-blind)
#0055B3
Tritanopia (blue-blind)
#006D7D
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #2c56b5; /* rgb */ color: rgb(44, 86, 181); /* oklch */ color: oklch(47.9% 0.158 263.6);
Tailwind
colors: {
custom: {
50: '#7985cc',
500: '#2c56b5',
950: '#000000',
},
}SCSS
$custom: #2c56b5; $custom-light: #7985cc; $custom-dark: #000000;
JSON
{
"hex": "#2c56b5",
"rgb": {
"r": 44,
"g": 86,
"b": 181
},
"hsl": {
"h": 221.606,
"s": 60.889,
"l": 44.118
},
"oklch": {
"l": 0.47901,
"c": 0.15823,
"h": 263.6
},
"luminance": 0.10527
}Semantic roles & 50–950 ramp
primary
#2C56B5
secondary
#C8AE75
accent
#B344E4
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0A0B13
muted
#7C7C82