#2D56C0#2D56C0
#2D56C0 is a mid, vivid blue. Relative luminance 0.110; OKLCH L 48.8% C 0.173 H 264.7°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).
Color values
| HEX | #2D56C0 |
|---|---|
| RGB | rgb(45, 86, 192) |
| HSL | hsl(223, 62%, 46%) |
| HSV | hsv(223, 77%, 75%) |
| CMYK | cmyk(76.6%, 55.2%, 0%, 24.7%) |
| CIE-LAB | lab(39.61, 23.86, -59.70) |
| CIE-LCH | lch(39.61, 64.29, 291.79°) |
| OKLab | oklab(48.8% -0.0159 -0.1722) |
| OKLCH | oklch(48.8% 0.173 264.7) |
| XYZ | xyz(13.9210, 11.0177, 51.2519) |
| Luminance | 0.1102 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.50
Denim
#1560BD
ΔE00 4.95
Cobalt
#0047AB
ΔE00 5.71
Azul
#1D5DEC
ΔE00 5.80
Warm Blue
#4B57DB
ΔE00 5.80
Denim Blue
#3B5B92
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D56C0 #C0972D
analogous
#2DA0C0 #2D56C0 #4E2DC0
triadic
#2D56C0 #C02D56 #56C02D
tetradic
#2D56C0 #C02DA0 #C0972D #2DC04E
square
#2D56C0 #C02DA0 #C0972D #2DC04E
split-complementary
#2D56C0 #C04E2D #A0C02D
monochromatic
#162A5D #21408E #2D56C0 #5378D7 #859FE2
Accessibility & contrast
On white
6.55
#2D56C0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.20
#2D56C0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2D56C0
6.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D56C0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D56C0 | 1.00 | 6.55 | 3.20 | 6.55 |
| #FFFFFF | 6.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0064C4
Deuteranopia (green-blind)
#0057BE
Tritanopia (blue-blind)
#007082
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #2d56c0; /* rgb */ color: rgb(45, 86, 192); /* oklch */ color: oklch(48.8% 0.173 264.7);
Tailwind
colors: {
custom: {
50: '#7c85d4',
500: '#2d56c0',
950: '#000000',
},
}SCSS
$custom: #2d56c0; $custom-light: #7c85d4; $custom-dark: #000000;
JSON
{
"hex": "#2d56c0",
"rgb": {
"r": 45,
"g": 86,
"b": 192
},
"hsl": {
"h": 223.265,
"s": 62.025,
"l": 46.471
},
"oklch": {
"l": 0.48801,
"c": 0.1729,
"h": 264.7
},
"luminance": 0.11019
}Semantic roles & 50–950 ramp
primary
#2D56C0
secondary
#CCB67D
accent
#B843E5
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0B14
muted
#7C7C83