#2A52B3#2A52B3
#2A52B3 is a mid, vivid blue. Relative luminance 0.098; OKLCH L 46.8% C 0.161 H 264.2°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).
Color values
| HEX | #2A52B3 |
|---|---|
| RGB | rgb(42, 82, 179) |
| HSL | hsl(222, 62%, 43%) |
| HSV | hsv(222, 77%, 70%) |
| CMYK | cmyk(76.5%, 54.2%, 0%, 29.8%) |
| CIE-LAB | lab(37.44, 21.20, -55.59) |
| CIE-LCH | lch(37.44, 59.50, 290.88°) |
| OKLab | oklab(46.83% -0.0163 -0.1602) |
| OKLCH | oklch(46.83% 0.161 264.2) |
| XYZ | xyz(12.1059, 9.7801, 43.8888) |
| Luminance | 0.0978 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 1.76
Cobalt
#0047AB
ΔE00 3.90
Denim Blue
#3B5B92
ΔE00 5.35
Dusk Blue
#26538D
ΔE00 5.47
Cobalt (survey)
#1E488F
ΔE00 5.70
Denim
#1560BD
ΔE00 5.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A52B3 #B38B2A
analogous
#2A96B3 #2A52B3 #462AB3
triadic
#2A52B3 #B32A52 #52B32A
tetradic
#2A52B3 #B32A96 #B38B2A #2AB346
square
#2A52B3 #B32A96 #B38B2A #2AB346
split-complementary
#2A52B3 #B3462A #96B32A
monochromatic
#132550 #1E3B81 #2A52B3 #4670D4 #7896DF
Accessibility & contrast
On white
7.10
#2A52B3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.96
#2A52B3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A52B3
7.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A52B3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A52B3 | 1.00 | 7.10 | 2.96 | 7.10 |
| #FFFFFF | 7.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FB6
Deuteranopia (green-blind)
#0052B1
Tritanopia (blue-blind)
#006A7A
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #2a52b3; /* rgb */ color: rgb(42, 82, 179); /* oklch */ color: oklch(46.8% 0.161 264.2);
Tailwind
colors: {
custom: {
50: '#7882ca',
500: '#2a52b3',
950: '#000000',
},
}SCSS
$custom: #2a52b3; $custom-light: #7882ca; $custom-dark: #000000;
JSON
{
"hex": "#2a52b3",
"rgb": {
"r": 42,
"g": 82,
"b": 179
},
"hsl": {
"h": 222.482,
"s": 61.991,
"l": 43.333
},
"oklch": {
"l": 0.46828,
"c": 0.16103,
"h": 264.2
},
"luminance": 0.09782
}Semantic roles & 50–950 ramp
primary
#2A52B3
secondary
#C7AE72
accent
#B643E5
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82