#2A27AA#2A27AA
#2A27AA is a dark, vivid blue. Relative luminance 0.048; OKLCH L 38.4% C 0.198 H 272.9°. Best body text is #FFFFFF at 10.66:1 contrast (WCAG AA passes).
Color values
| HEX | #2A27AA |
|---|---|
| RGB | rgb(42, 39, 170) |
| HSL | hsl(241, 63%, 41%) |
| HSV | hsv(241, 77%, 67%) |
| CMYK | cmyk(75.3%, 77.1%, 0%, 33.3%) |
| CIE-LAB | lab(26.29, 45.06, -68.50) |
| CIE-LCH | lch(26.29, 81.99, 303.34°) |
| OKLab | oklab(38.4% 0.01 -0.1982) |
| OKLCH | oklch(38.4% 0.198 272.9) |
| XYZ | xyz(8.9336, 4.8446, 38.4867) |
| Luminance | 0.0485 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.38
Sapphire (survey)
#2138AB
ΔE00 4.79
Royal
#0C1793
ΔE00 5.09
True Blue
#010FCC
ΔE00 5.10
Cobalt Blue
#030AA7
ΔE00 5.20
Ultramarine
#2000B1
ΔE00 5.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A27AA #A7AA27
analogous
#2765AA #2A27AA #6B27AA
triadic
#2A27AA #AA2A27 #27AA2A
tetradic
#2A27AA #AA2765 #A7AA27 #27AA6B
square
#2A27AA #AA2765 #A7AA27 #27AA6B
split-complementary
#2A27AA #AA6B27 #65AA27
monochromatic
#111046 #1E1C78 #2A27AA #3F3CD2 #706EDE
Accessibility & contrast
On white
10.66
#2A27AA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.97
#2A27AA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A27AA
10.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A27AA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A27AA | 1.00 | 10.66 | 1.97 | 10.66 |
| #FFFFFF | 10.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0044AE
Deuteranopia (green-blind)
#0038A8
Tritanopia (blue-blind)
#004E67
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #2a27aa; /* rgb */ color: rgb(42, 39, 170); /* oklch */ color: oklch(38.4% 0.198 272.9);
Tailwind
colors: {
custom: {
50: '#7963c5',
500: '#2a27aa',
950: '#000000',
},
}SCSS
$custom: #2a27aa; $custom-light: #7963c5; $custom-dark: #000000;
JSON
{
"hex": "#2a27aa",
"rgb": {
"r": 42,
"g": 39,
"b": 170
},
"hsl": {
"h": 241.374,
"s": 62.679,
"l": 40.98
},
"oklch": {
"l": 0.38395,
"c": 0.19848,
"h": 272.9
},
"luminance": 0.04846
}Semantic roles & 50–950 ramp
primary
#2A27AA
secondary
#C2C469
accent
#E642E2
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0513
muted
#7C7A82