#2A30AA#2A30AA
#2A30AA is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.7% C 0.190 H 271.8°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).
Color values
| HEX | #2A30AA |
|---|---|
| RGB | rgb(42, 48, 170) |
| HSL | hsl(237, 60%, 42%) |
| HSV | hsv(237, 75%, 67%) |
| CMYK | cmyk(75.3%, 71.8%, 0%, 33.3%) |
| CIE-LAB | lab(28.13, 39.88, -65.45) |
| CIE-LCH | lch(28.13, 76.64, 301.35°) |
| OKLab | oklab(39.71% 0.0058 -0.1894) |
| OKLCH | oklch(39.71% 0.19 271.8) |
| XYZ | xyz(9.2650, 5.5074, 38.5972) |
| Luminance | 0.0551 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.61
Indigo Blue
#3A18B1
ΔE00 5.38
Blue Blue
#2242C7
ΔE00 6.21
Ocean Blue
#4F42B5
ΔE00 6.36
Blueberry
#464196
ΔE00 6.56
True Blue
#010FCC
ΔE00 6.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A30AA #AAA42A
analogous
#2A70AA #2A30AA #642AAA
triadic
#2A30AA #AA2A30 #30AA2A
tetradic
#2A30AA #AA2A70 #AAA42A #2AAA64
square
#2A30AA #AA2A70 #AAA42A #2AAA64
split-complementary
#2A30AA #AA642A #70AA2A
monochromatic
#121448 #1E2279 #2A30AA #4148D0 #7277DC
Accessibility & contrast
On white
9.99
#2A30AA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.10
#2A30AA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A30AA
9.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A30AA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A30AA | 1.00 | 9.99 | 2.10 | 9.99 |
| #FFFFFF | 9.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0049AE
Deuteranopia (green-blind)
#003CA8
Tritanopia (blue-blind)
#00526A
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #2a30aa; /* rgb */ color: rgb(42, 48, 170); /* oklch */ color: oklch(39.7% 0.190 271.8);
Tailwind
colors: {
custom: {
50: '#7869c4',
500: '#2a30aa',
950: '#000000',
},
}SCSS
$custom: #2a30aa; $custom-light: #7869c4; $custom-dark: #000000;
JSON
{
"hex": "#2a30aa",
"rgb": {
"r": 42,
"g": 48,
"b": 170
},
"hsl": {
"h": 237.188,
"s": 60.377,
"l": 41.569
},
"oklch": {
"l": 0.39708,
"c": 0.18951,
"h": 271.8
},
"luminance": 0.05508
}Semantic roles & 50–950 ramp
primary
#2A30AA
secondary
#C3BF6C
accent
#DC44E4
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82