#2A52AA#2A52AA
#2A52AA is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.1% C 0.149 H 263.3°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).
Color values
| HEX | #2A52AA |
|---|---|
| RGB | rgb(42, 82, 170) |
| HSL | hsl(221, 60%, 42%) |
| HSV | hsv(221, 75%, 67%) |
| CMYK | cmyk(75.3%, 51.8%, 0%, 33.3%) |
| CIE-LAB | lab(36.80, 17.75, -51.31) |
| CIE-LCH | lch(36.80, 54.30, 289.08°) |
| OKLab | oklab(46.13% -0.0172 -0.1476) |
| OKLCH | oklch(46.13% 0.149 263.3) |
| XYZ | xyz(11.2253, 9.4279, 39.2506) |
| Luminance | 0.0943 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.25
Cobalt
#0047AB
ΔE00 3.70
Dusk Blue
#26538D
ΔE00 4.32
Denim Blue
#3B5B92
ΔE00 4.49
Cobalt (survey)
#1E488F
ΔE00 4.68
Light Navy Blue
#2E5A88
ΔE00 5.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A52AA #AA822A
analogous
#2A92AA #2A52AA #422AAA
triadic
#2A52AA #AA2A52 #52AA2A
tetradic
#2A52AA #AA2A92 #AA822A #2AAA42
square
#2A52AA #AA2A92 #AA822A #2AAA42
split-complementary
#2A52AA #AA422A #92AA2A
monochromatic
#122348 #1E3A79 #2A52AA #416ED0 #7293DC
Accessibility & contrast
On white
7.28
#2A52AA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.89
#2A52AA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A52AA
7.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A52AA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A52AA | 1.00 | 7.28 | 2.89 | 7.28 |
| #FFFFFF | 7.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#195DAD
Deuteranopia (green-blind)
#0051A8
Tritanopia (blue-blind)
#006776
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #2a52aa; /* rgb */ color: rgb(42, 82, 170); /* oklch */ color: oklch(46.1% 0.149 263.3);
Tailwind
colors: {
custom: {
50: '#7682c4',
500: '#2a52aa',
950: '#000000',
},
}SCSS
$custom: #2a52aa; $custom-light: #7682c4; $custom-dark: #000000;
JSON
{
"hex": "#2a52aa",
"rgb": {
"r": 42,
"g": 82,
"b": 170
},
"hsl": {
"h": 221.25,
"s": 60.377,
"l": 41.569
},
"oklch": {
"l": 0.46129,
"c": 0.14861,
"h": 263.3
},
"luminance": 0.09429
}Semantic roles & 50–950 ramp
primary
#2A52AA
secondary
#C3A86C
accent
#B244E4
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82