#2A55B0#2A55B0
#2A55B0 is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.2% C 0.153 H 262.9°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).
Color values
| HEX | #2A55B0 |
|---|---|
| RGB | rgb(42, 85, 176) |
| HSL | hsl(221, 61%, 43%) |
| HSV | hsv(221, 76%, 69%) |
| CMYK | cmyk(76.1%, 51.7%, 0%, 31%) |
| CIE-LAB | lab(38.06, 18.07, -52.82) |
| CIE-LCH | lch(38.06, 55.83, 288.88°) |
| OKLab | oklab(47.23% -0.019 -0.152) |
| OKLCH | oklch(47.23% 0.153 262.9) |
| XYZ | xyz(12.0370, 10.1225, 42.3853) |
| Luminance | 0.1012 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 1.85
Denim Blue
#3B5B92
ΔE00 4.45
Cobalt
#0047AB
ΔE00 4.59
Denim
#1560BD
ΔE00 4.69
Dusk Blue
#26538D
ΔE00 4.80
Light Navy Blue
#2E5A88
ΔE00 5.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A55B0 #B0852A
analogous
#2A98B0 #2A55B0 #422AB0
triadic
#2A55B0 #B02A55 #55B02A
tetradic
#2A55B0 #B02A98 #B0852A #2AB042
square
#2A55B0 #B02A98 #B0852A #2AB042
split-complementary
#2A55B0 #B0422A #98B02A
monochromatic
#12254D #1E3D7F #2A55B0 #4572D3 #7698DE
Accessibility & contrast
On white
6.94
#2A55B0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.02
#2A55B0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A55B0
6.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A55B0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A55B0 | 1.00 | 6.94 | 3.02 | 6.94 |
| #FFFFFF | 6.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1A60B3
Deuteranopia (green-blind)
#0054AE
Tritanopia (blue-blind)
#006B7A
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #2a55b0; /* rgb */ color: rgb(42, 85, 176); /* oklch */ color: oklch(47.2% 0.153 262.9);
Tailwind
colors: {
custom: {
50: '#7784c8',
500: '#2a55b0',
950: '#000000',
},
}SCSS
$custom: #2a55b0; $custom-light: #7784c8; $custom-dark: #000000;
JSON
{
"hex": "#2a55b0",
"rgb": {
"r": 42,
"g": 85,
"b": 176
},
"hsl": {
"h": 220.746,
"s": 61.468,
"l": 42.745
},
"oklch": {
"l": 0.47228,
"c": 0.15318,
"h": 262.9
},
"luminance": 0.10124
}Semantic roles & 50–950 ramp
primary
#2A55B0
secondary
#C6AA70
accent
#B143E5
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0A13
muted
#7C7C82