#2A28AC#2A28AC
#2A28AC is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.7% C 0.200 H 272.6°. Best body text is #FFFFFF at 10.51:1 contrast (WCAG AA passes).
Color values
| HEX | #2A28AC |
|---|---|
| RGB | rgb(42, 40, 172) |
| HSL | hsl(241, 62%, 42%) |
| HSV | hsv(241, 77%, 67%) |
| CMYK | cmyk(75.6%, 76.7%, 0%, 32.5%) |
| CIE-LAB | lab(26.70, 45.17, -69.02) |
| CIE-LCH | lch(26.70, 82.49, 303.20°) |
| OKLab | oklab(38.75% 0.0092 -0.1998) |
| OKLCH | oklch(38.75% 0.2 272.6) |
| XYZ | xyz(9.1575, 4.9874, 39.5018) |
| Luminance | 0.0499 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.49
Sapphire (survey)
#2138AB
ΔE00 4.57
True Blue
#010FCC
ΔE00 5.04
Royal
#0C1793
ΔE00 5.42
Cobalt Blue
#030AA7
ΔE00 5.45
Ultramarine
#2000B1
ΔE00 5.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A28AC #AAAC28
analogous
#2868AC #2A28AC #6C28AC
triadic
#2A28AC #AC2A28 #28AC2A
tetradic
#2A28AC #AC2868 #AAAC28 #28AC6C
square
#2A28AC #AC2868 #AAAC28 #28AC6C
split-complementary
#2A28AC #AC6C28 #68AC28
monochromatic
#121149 #1E1C7A #2A28AC #413FD2 #7271DE
Accessibility & contrast
On white
10.51
#2A28AC on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.00
#2A28AC on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A28AC
10.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A28AC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A28AC | 1.00 | 10.51 | 2.00 | 10.51 |
| #FFFFFF | 10.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0045B0
Deuteranopia (green-blind)
#0039AA
Tritanopia (blue-blind)
#004F69
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #2a28ac; /* rgb */ color: rgb(42, 40, 172); /* oklch */ color: oklch(38.7% 0.200 272.6);
Tailwind
colors: {
custom: {
50: '#7a64c6',
500: '#2a28ac',
950: '#000000',
},
}SCSS
$custom: #2a28ac; $custom-light: #7a64c6; $custom-dark: #000000;
JSON
{
"hex": "#2a28ac",
"rgb": {
"r": 42,
"g": 40,
"b": 172
},
"hsl": {
"h": 240.909,
"s": 62.264,
"l": 41.569
},
"oklch": {
"l": 0.38749,
"c": 0.19997,
"h": 272.6
},
"luminance": 0.04988
}Semantic roles & 50–950 ramp
primary
#2A28AC
secondary
#C3C56B
accent
#E542E3
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82