#2A55BD#2A55BD
#2A55BD is a mid, vivid blue. Relative luminance 0.107; OKLCH L 48.2% C 0.171 H 264.1°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).
Color values
| HEX | #2A55BD |
|---|---|
| RGB | rgb(42, 85, 189) |
| HSL | hsl(222, 64%, 45%) |
| HSV | hsv(222, 78%, 74%) |
| CMYK | cmyk(77.8%, 55%, 0%, 25.9%) |
| CIE-LAB | lab(39.00, 23.05, -58.93) |
| CIE-LCH | lch(39.00, 63.28, 291.36°) |
| OKLab | oklab(48.24% -0.0177 -0.17) |
| OKLCH | oklch(48.24% 0.171 264.1) |
| XYZ | xyz(13.3854, 10.6618, 49.4867) |
| Luminance | 0.1066 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 1.97
Denim
#1560BD
ΔE00 4.93
Cobalt
#0047AB
ΔE00 5.17
Denim Blue
#3B5B92
ΔE00 5.87
Azul
#1D5DEC
ΔE00 6.31
Blue Blue
#2242C7
ΔE00 6.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A55BD #BD922A
analogous
#2A9EBD #2A55BD #492ABD
triadic
#2A55BD #BD2A55 #55BD2A
tetradic
#2A55BD #BD2A9E #BD922A #2ABD49
square
#2A55BD #BD2A9E #BD922A #2ABD49
split-complementary
#2A55BD #BD492A #9EBD2A
monochromatic
#142859 #1F3E8B #2A55BD #4D75D7 #7F9CE3
Accessibility & contrast
On white
6.70
#2A55BD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.13
#2A55BD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A55BD
6.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A55BD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A55BD | 1.00 | 6.70 | 3.13 | 6.70 |
| #FFFFFF | 6.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063C1
Deuteranopia (green-blind)
#0055BB
Tritanopia (blue-blind)
#006F80
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #2a55bd; /* rgb */ color: rgb(42, 85, 189); /* oklch */ color: oklch(48.2% 0.171 264.1);
Tailwind
colors: {
custom: {
50: '#7a84d2',
500: '#2a55bd',
950: '#000000',
},
}SCSS
$custom: #2a55bd; $custom-light: #7a84d2; $custom-dark: #000000;
JSON
{
"hex": "#2a55bd",
"rgb": {
"r": 42,
"g": 85,
"b": 189
},
"hsl": {
"h": 222.449,
"s": 63.636,
"l": 45.294
},
"oklch": {
"l": 0.48242,
"c": 0.1709,
"h": 264.1
},
"luminance": 0.10663
}Semantic roles & 50–950 ramp
primary
#2A55BD
secondary
#CBB378
accent
#B641E7
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0A14
muted
#7C7C83