#2A56B6#2A56B6
#2A56B6 is a mid, vivid blue. Relative luminance 0.105; OKLCH L 47.9% C 0.160 H 263.2°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).
Color values
| HEX | #2A56B6 |
|---|---|
| RGB | rgb(42, 86, 182) |
| HSL | hsl(221, 63%, 44%) |
| HSV | hsv(221, 77%, 71%) |
| CMYK | cmyk(76.9%, 52.7%, 0%, 28.6%) |
| CIE-LAB | lab(38.77, 19.71, -55.22) |
| CIE-LCH | lch(38.77, 58.63, 289.64°) |
| OKLab | oklab(47.9% -0.0191 -0.159) |
| OKLCH | oklch(47.9% 0.16 263.2) |
| XYZ | xyz(12.7231, 10.5238, 45.6076) |
| Luminance | 0.1052 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 1.80
Denim
#1560BD
ΔE00 4.39
Denim Blue
#3B5B92
ΔE00 4.95
Cobalt
#0047AB
ΔE00 5.04
Dusk Blue
#26538D
ΔE00 5.53
Light Navy Blue
#2E5A88
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A56B6 #B68A2A
analogous
#2A9CB6 #2A56B6 #442AB6
triadic
#2A56B6 #B62A56 #56B62A
tetradic
#2A56B6 #B62A9C #B68A2A #2AB644
square
#2A56B6 #B62A9C #B68A2A #2AB644
split-complementary
#2A56B6 #B6442A #9CB62A
monochromatic
#132753 #1F3F84 #2A56B6 #4875D5 #7A9AE0
Accessibility & contrast
On white
6.76
#2A56B6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.11
#2A56B6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A56B6
6.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A56B6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A56B6 | 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)
#1162B9
Deuteranopia (green-blind)
#0055B4
Tritanopia (blue-blind)
#006D7D
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #2a56b6; /* rgb */ color: rgb(42, 86, 182); /* oklch */ color: oklch(47.9% 0.160 263.2);
Tailwind
colors: {
custom: {
50: '#7885cd',
500: '#2a56b6',
950: '#000000',
},
}SCSS
$custom: #2a56b6; $custom-light: #7885cd; $custom-dark: #000000;
JSON
{
"hex": "#2a56b6",
"rgb": {
"r": 42,
"g": 86,
"b": 182
},
"hsl": {
"h": 221.143,
"s": 62.5,
"l": 43.922
},
"oklch": {
"l": 0.479,
"c": 0.16017,
"h": 263.2
},
"luminance": 0.10525
}Semantic roles & 50–950 ramp
primary
#2A56B6
secondary
#C8AE73
accent
#B242E6
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0A0A13
muted
#7C7C82