#2A55B6#2A55B6
#2A55B6 is a mid, vivid blue. Relative luminance 0.104; OKLCH L 47.7% C 0.161 H 263.5°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).
Color values
| HEX | #2A55B6 |
|---|---|
| RGB | rgb(42, 85, 182) |
| HSL | hsl(222, 63%, 44%) |
| HSV | hsv(222, 77%, 71%) |
| CMYK | cmyk(76.9%, 53.3%, 0%, 28.6%) |
| CIE-LAB | lab(38.49, 20.37, -55.67) |
| CIE-LCH | lch(38.49, 59.28, 290.10°) |
| OKLab | oklab(47.69% -0.0183 -0.1604) |
| OKLCH | oklch(47.69% 0.161 263.5) |
| XYZ | xyz(12.6438, 10.3652, 45.5812) |
| Luminance | 0.1037 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 1.68
Denim
#1560BD
ΔE00 4.73
Cobalt
#0047AB
ΔE00 4.77
Denim Blue
#3B5B92
ΔE00 5.09
Dusk Blue
#26538D
ΔE00 5.58
Light Navy Blue
#2E5A88
ΔE00 6.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A55B6 #B68B2A
analogous
#2A9BB6 #2A55B6 #452AB6
triadic
#2A55B6 #B62A55 #55B62A
tetradic
#2A55B6 #B62A9B #B68B2A #2AB645
square
#2A55B6 #B62A9B #B68B2A #2AB645
split-complementary
#2A55B6 #B6452A #9BB62A
monochromatic
#132753 #1F3E84 #2A55B6 #4874D5 #7A99E0
Accessibility & contrast
On white
6.83
#2A55B6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.07
#2A55B6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A55B6
6.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A55B6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A55B6 | 1.00 | 6.83 | 3.07 | 6.83 |
| #FFFFFF | 6.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0B61B9
Deuteranopia (green-blind)
#0055B4
Tritanopia (blue-blind)
#006D7D
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #2a55b6; /* rgb */ color: rgb(42, 85, 182); /* oklch */ color: oklch(47.7% 0.161 263.5);
Tailwind
colors: {
custom: {
50: '#7884cd',
500: '#2a55b6',
950: '#000000',
},
}SCSS
$custom: #2a55b6; $custom-light: #7884cd; $custom-dark: #000000;
JSON
{
"hex": "#2a55b6",
"rgb": {
"r": 42,
"g": 85,
"b": 182
},
"hsl": {
"h": 221.571,
"s": 62.5,
"l": 43.922
},
"oklch": {
"l": 0.4769,
"c": 0.16141,
"h": 263.5
},
"luminance": 0.10367
}Semantic roles & 50–950 ramp
primary
#2A55B6
secondary
#C8AE73
accent
#B342E6
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0A0A13
muted
#7C7C82