#2A52C4#2A52C4
#2A52C4 is a mid, vivid blue. Relative luminance 0.105; OKLCH L 48.2% C 0.184 H 265.2°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).
Color values
| HEX | #2A52C4 |
|---|---|
| RGB | rgb(42, 82, 196) |
| HSL | hsl(224, 65%, 47%) |
| HSV | hsv(224, 79%, 77%) |
| CMYK | cmyk(78.6%, 58.2%, 0%, 23.1%) |
| CIE-LAB | lab(38.74, 27.67, -63.44) |
| CIE-LCH | lch(38.74, 69.21, 293.56°) |
| OKLab | oklab(48.22% -0.0152 -0.1833) |
| OKLCH | oklch(48.22% 0.184 265.2) |
| XYZ | xyz(13.9324, 10.5107, 53.5083) |
| Luminance | 0.1051 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.80
Blue Blue
#2242C7
ΔE00 5.00
Cobalt
#0047AB
ΔE00 5.23
Warm Blue
#4B57DB
ΔE00 5.43
Blue (survey)
#0343DF
ΔE00 5.50
Azul
#1D5DEC
ΔE00 6.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A52C4 #C49C2A
analogous
#2A9FC4 #2A52C4 #4F2AC4
triadic
#2A52C4 #C42A52 #52C42A
tetradic
#2A52C4 #C42A9F #C49C2A #2AC44F
square
#2A52C4 #C42A9F #C49C2A #2AC44F
split-complementary
#2A52C4 #C44F2A #9FC42A
monochromatic
#14285F #1F3D92 #2A52C4 #5175DA #849DE5
Accessibility & contrast
On white
6.77
#2A52C4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.10
#2A52C4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A52C4
6.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A52C4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A52C4 | 1.00 | 6.77 | 3.10 | 6.77 |
| #FFFFFF | 6.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063C8
Deuteranopia (green-blind)
#0054C2
Tritanopia (blue-blind)
#006F83
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #2a52c4; /* rgb */ color: rgb(42, 82, 196); /* oklch */ color: oklch(48.2% 0.184 265.2);
Tailwind
colors: {
custom: {
50: '#7c82d7',
500: '#2a52c4',
950: '#000000',
},
}SCSS
$custom: #2a52c4; $custom-light: #7c82d7; $custom-dark: #000000;
JSON
{
"hex": "#2a52c4",
"rgb": {
"r": 42,
"g": 82,
"b": 196
},
"hsl": {
"h": 224.416,
"s": 64.706,
"l": 46.667
},
"oklch": {
"l": 0.48215,
"c": 0.1839,
"h": 265.2
},
"luminance": 0.10512
}Semantic roles & 50–950 ramp
primary
#2A52C4
secondary
#CEB97C
accent
#BC40E8
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A14
muted
#7C7C83