#2A56B0#2A56B0
#2A56B0 is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.4% C 0.152 H 262.5°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).
Color values
| HEX | #2A56B0 |
|---|---|
| RGB | rgb(42, 86, 176) |
| HSL | hsl(220, 61%, 43%) |
| HSV | hsv(220, 76%, 69%) |
| CMYK | cmyk(76.1%, 51.1%, 0%, 31%) |
| CIE-LAB | lab(38.34, 17.41, -52.37) |
| CIE-LCH | lch(38.34, 55.19, 288.39°) |
| OKLab | oklab(47.44% -0.0198 -0.1506) |
| OKLCH | oklch(47.44% 0.152 262.5) |
| XYZ | xyz(12.1163, 10.2810, 42.4118) |
| Luminance | 0.1028 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 1.99
Denim Blue
#3B5B92
ΔE00 4.30
Denim
#1560BD
ΔE00 4.35
Dusk Blue
#26538D
ΔE00 4.76
Cobalt
#0047AB
ΔE00 4.89
Light Navy Blue
#2E5A88
ΔE00 5.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A56B0 #B0842A
analogous
#2A99B0 #2A56B0 #412AB0
triadic
#2A56B0 #B02A56 #56B02A
tetradic
#2A56B0 #B02A99 #B0842A #2AB041
square
#2A56B0 #B02A99 #B0842A #2AB041
split-complementary
#2A56B0 #B0412A #99B02A
monochromatic
#12264D #1E3E7F #2A56B0 #4573D3 #7698DE
Accessibility & contrast
On white
6.87
#2A56B0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.06
#2A56B0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A56B0
6.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A56B0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A56B0 | 1.00 | 6.87 | 3.06 | 6.87 |
| #FFFFFF | 6.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1D61B3
Deuteranopia (green-blind)
#0054AE
Tritanopia (blue-blind)
#006C7B
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #2a56b0; /* rgb */ color: rgb(42, 86, 176); /* oklch */ color: oklch(47.4% 0.152 262.5);
Tailwind
colors: {
custom: {
50: '#7785c8',
500: '#2a56b0',
950: '#000000',
},
}SCSS
$custom: #2a56b0; $custom-light: #7785c8; $custom-dark: #000000;
JSON
{
"hex": "#2a56b0",
"rgb": {
"r": 42,
"g": 86,
"b": 176
},
"hsl": {
"h": 220.299,
"s": 61.468,
"l": 42.745
},
"oklch": {
"l": 0.47442,
"c": 0.15194,
"h": 262.5
},
"luminance": 0.10282
}Semantic roles & 50–950 ramp
primary
#2A56B0
secondary
#C6AA70
accent
#B043E5
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0A13
muted
#7C7C82