#2A56B1#2A56B1
#2A56B1 is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.5% C 0.153 H 262.6°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).
Color values
| HEX | #2A56B1 |
|---|---|
| RGB | rgb(42, 86, 177) |
| HSL | hsl(220, 62%, 43%) |
| HSV | hsv(220, 76%, 69%) |
| CMYK | cmyk(76.3%, 51.4%, 0%, 30.6%) |
| CIE-LAB | lab(38.41, 17.79, -52.85) |
| CIE-LCH | lch(38.41, 55.76, 288.61°) |
| OKLab | oklab(47.52% -0.0196 -0.152) |
| OKLCH | oklch(47.52% 0.153 262.6) |
| XYZ | xyz(12.2156, 10.3208, 42.9348) |
| Luminance | 0.1032 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 1.93
Denim
#1560BD
ΔE00 4.34
Denim Blue
#3B5B92
ΔE00 4.40
Dusk Blue
#26538D
ΔE00 4.88
Cobalt
#0047AB
ΔE00 4.90
Light Navy Blue
#2E5A88
ΔE00 5.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A56B1 #B1852A
analogous
#2A9AB1 #2A56B1 #412AB1
triadic
#2A56B1 #B12A56 #56B12A
tetradic
#2A56B1 #B12A9A #B1852A #2AB141
square
#2A56B1 #B12A9A #B1852A #2AB141
split-complementary
#2A56B1 #B1412A #9AB12A
monochromatic
#13264E #1E3E80 #2A56B1 #4573D3 #7799DF
Accessibility & contrast
On white
6.85
#2A56B1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.06
#2A56B1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A56B1
6.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A56B1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A56B1 | 1.00 | 6.85 | 3.06 | 6.85 |
| #FFFFFF | 6.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1C61B4
Deuteranopia (green-blind)
#0055AF
Tritanopia (blue-blind)
#006C7B
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #2a56b1; /* rgb */ color: rgb(42, 86, 177); /* oklch */ color: oklch(47.5% 0.153 262.6);
Tailwind
colors: {
custom: {
50: '#7785c9',
500: '#2a56b1',
950: '#000000',
},
}SCSS
$custom: #2a56b1; $custom-light: #7785c9; $custom-dark: #000000;
JSON
{
"hex": "#2a56b1",
"rgb": {
"r": 42,
"g": 86,
"b": 177
},
"hsl": {
"h": 220.444,
"s": 61.644,
"l": 42.941
},
"oklch": {
"l": 0.47517,
"c": 0.15331,
"h": 262.6
},
"luminance": 0.10322
}Semantic roles & 50–950 ramp
primary
#2A56B1
secondary
#C6AA70
accent
#B043E5
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0A13
muted
#7C7C82