#2A55C0#2A55C0
#2A55C0 is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.5% C 0.175 H 264.3°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).
Color values
| HEX | #2A55C0 |
|---|---|
| RGB | rgb(42, 85, 192) |
| HSL | hsl(223, 64%, 46%) |
| HSV | hsv(223, 78%, 75%) |
| CMYK | cmyk(78.1%, 55.7%, 0%, 24.7%) |
| CIE-LAB | lab(39.23, 24.19, -60.32) |
| CIE-LCH | lch(39.23, 64.99, 291.85°) |
| OKLab | oklab(48.48% -0.0175 -0.174) |
| OKLCH | oklch(48.48% 0.175 264.3) |
| XYZ | xyz(13.7144, 10.7934, 51.2195) |
| Luminance | 0.1080 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.21
Denim
#1560BD
ΔE00 5.07
Cobalt
#0047AB
ΔE00 5.39
Azul
#1D5DEC
ΔE00 5.96
Warm Blue
#4B57DB
ΔE00 5.97
Blue Blue
#2242C7
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A55C0 #C0952A
analogous
#2AA0C0 #2A55C0 #4A2AC0
triadic
#2A55C0 #C02A55 #55C02A
tetradic
#2A55C0 #C02AA0 #C0952A #2AC04A
square
#2A55C0 #C02AA0 #C0952A #2AC04A
split-complementary
#2A55C0 #C04A2A #A0C02A
monochromatic
#14295C #1F3F8E #2A55C0 #4F76D8 #819DE3
Accessibility & contrast
On white
6.65
#2A55C0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.16
#2A55C0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A55C0
6.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A55C0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A55C0 | 1.00 | 6.65 | 3.16 | 6.65 |
| #FFFFFF | 6.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0064C4
Deuteranopia (green-blind)
#0056BE
Tritanopia (blue-blind)
#007082
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #2a55c0; /* rgb */ color: rgb(42, 85, 192); /* oklch */ color: oklch(48.5% 0.175 264.3);
Tailwind
colors: {
custom: {
50: '#7b84d4',
500: '#2a55c0',
950: '#000000',
},
}SCSS
$custom: #2a55c0; $custom-light: #7b84d4; $custom-dark: #000000;
JSON
{
"hex": "#2a55c0",
"rgb": {
"r": 42,
"g": 85,
"b": 192
},
"hsl": {
"h": 222.8,
"s": 64.103,
"l": 45.882
},
"oklch": {
"l": 0.48483,
"c": 0.17493,
"h": 264.3
},
"luminance": 0.10795
}Semantic roles & 50–950 ramp
primary
#2A55C0
secondary
#CCB57A
accent
#B741E7
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0A14
muted
#7C7C83