#2A30B1#2A30B1
#2A30B1 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.4% C 0.198 H 271.4°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).
Color values
| HEX | #2A30B1 |
|---|---|
| RGB | rgb(42, 48, 177) |
| HSL | hsl(237, 62%, 43%) |
| HSV | hsv(237, 76%, 69%) |
| CMYK | cmyk(76.3%, 72.9%, 0%, 30.6%) |
| CIE-LAB | lab(28.85, 42.29, -68.47) |
| CIE-LCH | lch(28.85, 80.48, 301.70°) |
| OKLab | oklab(40.43% 0.0048 -0.1982) |
| OKLCH | oklch(40.43% 0.198 271.4) |
| XYZ | xyz(9.9449, 5.7794, 42.1779) |
| Luminance | 0.0578 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.84
Indigo Blue
#3A18B1
ΔE00 5.16
Blue Blue
#2242C7
ΔE00 5.70
Ocean Blue
#4F42B5
ΔE00 6.08
True Blue
#010FCC
ΔE00 6.11
Blue With A Hint Of Purple
#533CC6
ΔE00 6.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A30B1 #B1AB2A
analogous
#2A74B1 #2A30B1 #672AB1
triadic
#2A30B1 #B12A30 #30B12A
tetradic
#2A30B1 #B12A74 #B1AB2A #2AB167
square
#2A30B1 #B12A74 #B1AB2A #2AB167
split-complementary
#2A30B1 #B1672A #74B12A
monochromatic
#13154E #1E2380 #2A30B1 #454CD3 #777BDF
Accessibility & contrast
On white
9.74
#2A30B1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.16
#2A30B1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A30B1
9.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A30B1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A30B1 | 1.00 | 9.74 | 2.16 | 9.74 |
| #FFFFFF | 9.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004BB5
Deuteranopia (green-blind)
#003DAF
Tritanopia (blue-blind)
#00556D
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #2a30b1; /* rgb */ color: rgb(42, 48, 177); /* oklch */ color: oklch(40.4% 0.198 271.4);
Tailwind
colors: {
custom: {
50: '#7a69ca',
500: '#2a30b1',
950: '#000000',
},
}SCSS
$custom: #2a30b1; $custom-light: #7a69ca; $custom-dark: #000000;
JSON
{
"hex": "#2a30b1",
"rgb": {
"r": 42,
"g": 48,
"b": 177
},
"hsl": {
"h": 237.333,
"s": 61.644,
"l": 42.941
},
"oklch": {
"l": 0.40434,
"c": 0.19827,
"h": 271.4
},
"luminance": 0.0578
}Semantic roles & 50–950 ramp
primary
#2A30B1
secondary
#C6C370
accent
#DE43E5
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0613
muted
#7C7A82