#2A55C7#2A55C7
#2A55C7 is a mid, vivid blue. Relative luminance 0.111; OKLCH L 49.1% C 0.184 H 264.7°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).
Color values
| HEX | #2A55C7 |
|---|---|
| RGB | rgb(42, 85, 199) |
| HSL | hsl(224, 65%, 47%) |
| HSV | hsv(224, 79%, 78%) |
| CMYK | cmyk(78.9%, 57.3%, 0%, 22%) |
| CIE-LAB | lab(39.77, 26.84, -63.52) |
| CIE-LCH | lch(39.77, 68.96, 292.91°) |
| OKLab | oklab(49.06% -0.0171 -0.1834) |
| OKLCH | oklch(49.06% 0.184 264.7) |
| XYZ | xyz(14.5085, 11.1111, 55.4018) |
| Luminance | 0.1111 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.94
Warm Blue
#4B57DB
ΔE00 5.15
Azul
#1D5DEC
ΔE00 5.17
Denim
#1560BD
ΔE00 5.46
Blue Blue
#2242C7
ΔE00 5.94
Cobalt
#0047AB
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A55C7 #C79C2A
analogous
#2AA3C7 #2A55C7 #4E2AC7
triadic
#2A55C7 #C72A55 #55C72A
tetradic
#2A55C7 #C72AA3 #C79C2A #2AC74E
square
#2A55C7 #C72AA3 #C79C2A #2AC74E
split-complementary
#2A55C7 #C74E2A #A3C72A
monochromatic
#152A62 #1F3F94 #2A55C7 #5378DB #86A0E5
Accessibility & contrast
On white
6.52
#2A55C7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.22
#2A55C7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A55C7
6.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A55C7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A55C7 | 1.00 | 6.52 | 3.22 | 6.52 |
| #FFFFFF | 6.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065CB
Deuteranopia (green-blind)
#0057C5
Tritanopia (blue-blind)
#007286
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #2a55c7; /* rgb */ color: rgb(42, 85, 199); /* oklch */ color: oklch(49.1% 0.184 264.7);
Tailwind
colors: {
custom: {
50: '#7c84d9',
500: '#2a55c7',
950: '#000000',
},
}SCSS
$custom: #2a55c7; $custom-light: #7c84d9; $custom-dark: #000000;
JSON
{
"hex": "#2a55c7",
"rgb": {
"r": 42,
"g": 85,
"b": 199
},
"hsl": {
"h": 223.567,
"s": 65.145,
"l": 47.255
},
"oklch": {
"l": 0.49056,
"c": 0.18424,
"h": 264.7
},
"luminance": 0.11113
}Semantic roles & 50–950 ramp
primary
#2A55C7
secondary
#CFB97E
accent
#BA40E8
background
#F8F8FD
surface
#EFEFFB
border
#CACAD4
text
#0B0A15
muted
#7C7C83