#2A52C3#2A52C3
#2A52C3 is a mid, vivid blue. Relative luminance 0.105; OKLCH L 48.1% C 0.183 H 265.2°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).
Color values
| HEX | #2A52C3 |
|---|---|
| RGB | rgb(42, 82, 195) |
| HSL | hsl(224, 65%, 46%) |
| HSV | hsv(224, 78%, 76%) |
| CMYK | cmyk(78.5%, 57.9%, 0%, 23.5%) |
| CIE-LAB | lab(38.67, 27.29, -62.99) |
| CIE-LCH | lch(38.67, 68.65, 293.43°) |
| OKLab | oklab(48.13% -0.0153 -0.1819) |
| OKLCH | oklch(48.13% 0.183 265.2) |
| XYZ | xyz(13.8190, 10.4654, 52.9109) |
| Luminance | 0.1047 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.69
Blue Blue
#2242C7
ΔE00 5.04
Cobalt
#0047AB
ΔE00 5.13
Warm Blue
#4B57DB
ΔE00 5.54
Blue (survey)
#0343DF
ΔE00 5.59
Azul
#1D5DEC
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A52C3 #C39B2A
analogous
#2A9FC3 #2A52C3 #4F2AC3
triadic
#2A52C3 #C32A52 #52C32A
tetradic
#2A52C3 #C32A9F #C39B2A #2AC34F
square
#2A52C3 #C32A9F #C39B2A #2AC34F
split-complementary
#2A52C3 #C34F2A #9FC32A
monochromatic
#14285E #1F3D91 #2A52C3 #5174D9 #839DE4
Accessibility & contrast
On white
6.79
#2A52C3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.09
#2A52C3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A52C3
6.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A52C3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A52C3 | 1.00 | 6.79 | 3.09 | 6.79 |
| #FFFFFF | 6.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062C7
Deuteranopia (green-blind)
#0054C1
Tritanopia (blue-blind)
#006E82
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #2a52c3; /* rgb */ color: rgb(42, 82, 195); /* oklch */ color: oklch(48.1% 0.183 265.2);
Tailwind
colors: {
custom: {
50: '#7c82d6',
500: '#2a52c3',
950: '#000000',
},
}SCSS
$custom: #2a52c3; $custom-light: #7c82d6; $custom-dark: #000000;
JSON
{
"hex": "#2a52c3",
"rgb": {
"r": 42,
"g": 82,
"b": 195
},
"hsl": {
"h": 224.314,
"s": 64.557,
"l": 46.471
},
"oklch": {
"l": 0.48131,
"c": 0.18258,
"h": 265.2
},
"luminance": 0.10467
}Semantic roles & 50–950 ramp
primary
#2A52C3
secondary
#CDB87B
accent
#BC40E8
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A14
muted
#7C7C83