#2A55B2#2A55B2
#2A55B2 is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.4% C 0.156 H 263.1°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).
Color values
| HEX | #2A55B2 |
|---|---|
| RGB | rgb(42, 85, 178) |
| HSL | hsl(221, 62%, 43%) |
| HSV | hsv(221, 76%, 70%) |
| CMYK | cmyk(76.4%, 52.2%, 0%, 30.2%) |
| CIE-LAB | lab(38.20, 18.84, -53.77) |
| CIE-LCH | lch(38.20, 56.98, 289.30°) |
| OKLab | oklab(47.38% -0.0187 -0.1548) |
| OKLCH | oklch(47.38% 0.156 263.1) |
| XYZ | xyz(12.2364, 10.2022, 43.4352) |
| Luminance | 0.1020 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 1.75
Cobalt
#0047AB
ΔE00 4.63
Denim Blue
#3B5B92
ΔE00 4.66
Denim
#1560BD
ΔE00 4.69
Dusk Blue
#26538D
ΔE00 5.06
Light Navy Blue
#2E5A88
ΔE00 5.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A55B2 #B2872A
analogous
#2A99B2 #2A55B2 #432AB2
triadic
#2A55B2 #B22A55 #55B22A
tetradic
#2A55B2 #B22A99 #B2872A #2AB243
square
#2A55B2 #B22A99 #B2872A #2AB243
split-complementary
#2A55B2 #B2432A #99B22A
monochromatic
#13264F #1E3D80 #2A55B2 #4673D3 #7798DF
Accessibility & contrast
On white
6.91
#2A55B2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.04
#2A55B2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A55B2
6.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A55B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A55B2 | 1.00 | 6.91 | 3.04 | 6.91 |
| #FFFFFF | 6.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1660B5
Deuteranopia (green-blind)
#0054B0
Tritanopia (blue-blind)
#006B7B
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #2a55b2; /* rgb */ color: rgb(42, 85, 178); /* oklch */ color: oklch(47.4% 0.156 263.1);
Tailwind
colors: {
custom: {
50: '#7884ca',
500: '#2a55b2',
950: '#000000',
},
}SCSS
$custom: #2a55b2; $custom-light: #7884ca; $custom-dark: #000000;
JSON
{
"hex": "#2a55b2",
"rgb": {
"r": 42,
"g": 85,
"b": 178
},
"hsl": {
"h": 221.029,
"s": 61.818,
"l": 43.137
},
"oklch": {
"l": 0.47381,
"c": 0.15593,
"h": 263.1
},
"luminance": 0.10204
}Semantic roles & 50–950 ramp
primary
#2A55B2
secondary
#C7AC71
accent
#B243E5
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0A13
muted
#7C7C82