#2A55C2#2A55C2
#2A55C2 is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.6% C 0.178 H 264.4°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).
Color values
| HEX | #2A55C2 |
|---|---|
| RGB | rgb(42, 85, 194) |
| HSL | hsl(223, 64%, 46%) |
| HSV | hsv(223, 78%, 76%) |
| CMYK | cmyk(78.4%, 56.2%, 0%, 23.9%) |
| CIE-LAB | lab(39.38, 24.95, -61.24) |
| CIE-LCH | lch(39.38, 66.13, 292.17°) |
| OKLab | oklab(48.65% -0.0173 -0.1767) |
| OKLCH | oklch(48.65% 0.178 264.4) |
| XYZ | xyz(13.9375, 10.8827, 52.3945) |
| Luminance | 0.1088 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.40
Denim
#1560BD
ΔE00 5.17
Cobalt
#0047AB
ΔE00 5.55
Azul
#1D5DEC
ΔE00 5.73
Warm Blue
#4B57DB
ΔE00 5.73
Blue Blue
#2242C7
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A55C2 #C2972A
analogous
#2AA1C2 #2A55C2 #4B2AC2
triadic
#2A55C2 #C22A55 #55C22A
tetradic
#2A55C2 #C22AA1 #C2972A #2AC24B
square
#2A55C2 #C22AA1 #C2972A #2AC24B
split-complementary
#2A55C2 #C24B2A #A1C22A
monochromatic
#14295D #1F3F90 #2A55C2 #5077D9 #829EE4
Accessibility & contrast
On white
6.61
#2A55C2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.18
#2A55C2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A55C2
6.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A55C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A55C2 | 1.00 | 6.61 | 3.18 | 6.61 |
| #FFFFFF | 6.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0064C6
Deuteranopia (green-blind)
#0056C0
Tritanopia (blue-blind)
#007083
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #2a55c2; /* rgb */ color: rgb(42, 85, 194); /* oklch */ color: oklch(48.6% 0.178 264.4);
Tailwind
colors: {
custom: {
50: '#7b84d5',
500: '#2a55c2',
950: '#000000',
},
}SCSS
$custom: #2a55c2; $custom-light: #7b84d5; $custom-dark: #000000;
JSON
{
"hex": "#2a55c2",
"rgb": {
"r": 42,
"g": 85,
"b": 194
},
"hsl": {
"h": 223.026,
"s": 64.407,
"l": 46.275
},
"oklch": {
"l": 0.48646,
"c": 0.1776,
"h": 264.4
},
"luminance": 0.10884
}Semantic roles & 50–950 ramp
primary
#2A55C2
secondary
#CDB67B
accent
#B840E7
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0A14
muted
#7C7C83