#2A55BC#2A55BC
#2A55BC is a mid, vivid blue. Relative luminance 0.106; OKLCH L 48.2% C 0.170 H 264.0°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).
Color values
| HEX | #2A55BC |
|---|---|
| RGB | rgb(42, 85, 188) |
| HSL | hsl(222, 63%, 45%) |
| HSV | hsv(222, 78%, 74%) |
| CMYK | cmyk(77.7%, 54.8%, 0%, 26.3%) |
| CIE-LAB | lab(38.93, 22.66, -58.47) |
| CIE-LCH | lch(38.93, 62.71, 291.19°) |
| OKLab | oklab(48.16% -0.0178 -0.1686) |
| OKLCH | oklch(48.16% 0.17 264) |
| XYZ | xyz(13.2772, 10.6186, 48.9170) |
| Luminance | 0.1062 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 1.90
Denim
#1560BD
ΔE00 4.90
Cobalt
#0047AB
ΔE00 5.10
Denim Blue
#3B5B92
ΔE00 5.76
Dusk Blue
#26538D
ΔE00 6.35
Blue Blue
#2242C7
ΔE00 6.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A55BC #BC912A
analogous
#2A9EBC #2A55BC #482ABC
triadic
#2A55BC #BC2A55 #55BC2A
tetradic
#2A55BC #BC2A9E #BC912A #2ABC48
square
#2A55BC #BC2A9E #BC912A #2ABC48
split-complementary
#2A55BC #BC482A #9EBC2A
monochromatic
#142858 #1F3E8A #2A55BC #4C75D7 #7E9CE2
Accessibility & contrast
On white
6.72
#2A55BC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.12
#2A55BC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A55BC
6.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A55BC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A55BC | 1.00 | 6.72 | 3.12 | 6.72 |
| #FFFFFF | 6.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063C0
Deuteranopia (green-blind)
#0055BA
Tritanopia (blue-blind)
#006E80
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #2a55bc; /* rgb */ color: rgb(42, 85, 188); /* oklch */ color: oklch(48.2% 0.170 264.0);
Tailwind
colors: {
custom: {
50: '#7a84d1',
500: '#2a55bc',
950: '#000000',
},
}SCSS
$custom: #2a55bc; $custom-light: #7a84d1; $custom-dark: #000000;
JSON
{
"hex": "#2a55bc",
"rgb": {
"r": 42,
"g": 85,
"b": 188
},
"hsl": {
"h": 222.329,
"s": 63.478,
"l": 45.098
},
"oklch": {
"l": 0.48163,
"c": 0.16955,
"h": 264
},
"luminance": 0.1062
}Semantic roles & 50–950 ramp
primary
#2A55BC
secondary
#CBB277
accent
#B641E7
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0A14
muted
#7C7C82