#2A30B0#2A30B0
#2A30B0 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 40.3% C 0.197 H 271.4°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).
Color values
| HEX | #2A30B0 |
|---|---|
| RGB | rgb(42, 48, 176) |
| HSL | hsl(237, 61%, 43%) |
| HSV | hsv(237, 76%, 69%) |
| CMYK | cmyk(76.1%, 72.7%, 0%, 31%) |
| CIE-LAB | lab(28.75, 41.95, -68.04) |
| CIE-LCH | lch(28.75, 79.93, 301.66°) |
| OKLab | oklab(40.33% 0.005 -0.197) |
| OKLCH | oklch(40.33% 0.197 271.4) |
| XYZ | xyz(9.8456, 5.7397, 41.6549) |
| Luminance | 0.0574 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.79
Indigo Blue
#3A18B1
ΔE00 5.18
Blue Blue
#2242C7
ΔE00 5.77
Ocean Blue
#4F42B5
ΔE00 6.12
True Blue
#010FCC
ΔE00 6.18
Blue With A Hint Of Purple
#533CC6
ΔE00 6.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A30B0 #B0AA2A
analogous
#2A73B0 #2A30B0 #672AB0
triadic
#2A30B0 #B02A30 #30B02A
tetradic
#2A30B0 #B02A73 #B0AA2A #2AB067
square
#2A30B0 #B02A73 #B0AA2A #2AB067
split-complementary
#2A30B0 #B0672A #73B02A
monochromatic
#12154D #1E237F #2A30B0 #454BD3 #767BDE
Accessibility & contrast
On white
9.78
#2A30B0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#2A30B0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A30B0
9.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A30B0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A30B0 | 1.00 | 9.78 | 2.15 | 9.78 |
| #FFFFFF | 9.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004AB4
Deuteranopia (green-blind)
#003DAE
Tritanopia (blue-blind)
#00556D
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #2a30b0; /* rgb */ color: rgb(42, 48, 176); /* oklch */ color: oklch(40.3% 0.197 271.4);
Tailwind
colors: {
custom: {
50: '#7a69c9',
500: '#2a30b0',
950: '#000000',
},
}SCSS
$custom: #2a30b0; $custom-light: #7a69c9; $custom-dark: #000000;
JSON
{
"hex": "#2a30b0",
"rgb": {
"r": 42,
"g": 48,
"b": 176
},
"hsl": {
"h": 237.313,
"s": 61.468,
"l": 42.745
},
"oklch": {
"l": 0.40329,
"c": 0.19702,
"h": 271.4
},
"luminance": 0.05741
}Semantic roles & 50–950 ramp
primary
#2A30B0
secondary
#C6C270
accent
#DD43E5
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82