#2A30A9#2A30A9
#2A30A9 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.6% C 0.188 H 271.8°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).
Color values
| HEX | #2A30A9 |
|---|---|
| RGB | rgb(42, 48, 169) |
| HSL | hsl(237, 60%, 41%) |
| HSV | hsv(237, 75%, 66%) |
| CMYK | cmyk(75.1%, 71.6%, 0%, 33.7%) |
| CIE-LAB | lab(28.03, 39.53, -65.02) |
| CIE-LCH | lch(28.03, 76.09, 301.30°) |
| OKLab | oklab(39.61% 0.006 -0.1882) |
| OKLCH | oklch(39.61% 0.188 271.8) |
| XYZ | xyz(9.1708, 5.4698, 38.1009) |
| Luminance | 0.0547 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.61
Indigo Blue
#3A18B1
ΔE00 5.43
Blue Blue
#2242C7
ΔE00 6.29
Ocean Blue
#4F42B5
ΔE00 6.41
Blueberry
#464196
ΔE00 6.50
Royal
#0C1793
ΔE00 6.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A30A9 #A9A32A
analogous
#2A70A9 #2A30A9 #642AA9
triadic
#2A30A9 #A92A30 #30A92A
tetradic
#2A30A9 #A92A70 #A9A32A #2AA964
square
#2A30A9 #A92A70 #A9A32A #2AA964
split-complementary
#2A30A9 #A9642A #70A92A
monochromatic
#121447 #1E2278 #2A30A9 #4147D0 #7277DC
Accessibility & contrast
On white
10.03
#2A30A9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.09
#2A30A9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A30A9
10.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A30A9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A30A9 | 1.00 | 10.03 | 2.09 | 10.03 |
| #FFFFFF | 10.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0048AD
Deuteranopia (green-blind)
#003CA7
Tritanopia (blue-blind)
#005269
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #2a30a9; /* rgb */ color: rgb(42, 48, 169); /* oklch */ color: oklch(39.6% 0.188 271.8);
Tailwind
colors: {
custom: {
50: '#7869c4',
500: '#2a30a9',
950: '#000000',
},
}SCSS
$custom: #2a30a9; $custom-light: #7869c4; $custom-dark: #000000;
JSON
{
"hex": "#2a30a9",
"rgb": {
"r": 42,
"g": 48,
"b": 169
},
"hsl": {
"h": 237.165,
"s": 60.19,
"l": 41.373
},
"oklch": {
"l": 0.39605,
"c": 0.18824,
"h": 271.8
},
"luminance": 0.05471
}Semantic roles & 50–950 ramp
primary
#2A30A9
secondary
#C3BF6C
accent
#DC44E3
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0613
muted
#7C7A82