#2A30B2#2A30B2
#2A30B2 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.5% C 0.200 H 271.3°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).
Color values
| HEX | #2A30B2 |
|---|---|
| RGB | rgb(42, 48, 178) |
| HSL | hsl(237, 62%, 43%) |
| HSV | hsv(237, 76%, 70%) |
| CMYK | cmyk(76.4%, 73%, 0%, 30.2%) |
| CIE-LAB | lab(28.95, 42.64, -68.89) |
| CIE-LCH | lch(28.95, 81.02, 301.75°) |
| OKLab | oklab(40.54% 0.0046 -0.1994) |
| OKLCH | oklch(40.54% 0.2 271.3) |
| XYZ | xyz(10.0450, 5.8194, 42.7047) |
| Luminance | 0.0582 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.90
Indigo Blue
#3A18B1
ΔE00 5.15
Blue Blue
#2242C7
ΔE00 5.64
True Blue
#010FCC
ΔE00 6.04
Ocean Blue
#4F42B5
ΔE00 6.05
Blue With A Hint Of Purple
#533CC6
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A30B2 #B2AC2A
analogous
#2A74B2 #2A30B2 #682AB2
triadic
#2A30B2 #B22A30 #30B22A
tetradic
#2A30B2 #B22A74 #B2AC2A #2AB268
square
#2A30B2 #B22A74 #B2AC2A #2AB268
split-complementary
#2A30B2 #B2682A #74B22A
monochromatic
#13154F #1E2380 #2A30B2 #464CD3 #777CDF
Accessibility & contrast
On white
9.70
#2A30B2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.16
#2A30B2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A30B2
9.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A30B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A30B2 | 1.00 | 9.70 | 2.16 | 9.70 |
| #FFFFFF | 9.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004BB6
Deuteranopia (green-blind)
#003EB0
Tritanopia (blue-blind)
#00556E
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #2a30b2; /* rgb */ color: rgb(42, 48, 178); /* oklch */ color: oklch(40.5% 0.200 271.3);
Tailwind
colors: {
custom: {
50: '#7a69ca',
500: '#2a30b2',
950: '#000000',
},
}SCSS
$custom: #2a30b2; $custom-light: #7a69ca; $custom-dark: #000000;
JSON
{
"hex": "#2a30b2",
"rgb": {
"r": 42,
"g": 48,
"b": 178
},
"hsl": {
"h": 237.353,
"s": 61.818,
"l": 43.137
},
"oklch": {
"l": 0.40538,
"c": 0.1995,
"h": 271.3
},
"luminance": 0.0582
}Semantic roles & 50–950 ramp
primary
#2A30B2
secondary
#C7C371
accent
#DE43E5
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0613
muted
#7C7A82