#2A30BD#2A30BD
#2A30BD is a dark, highly saturated blue. Relative luminance 0.063; OKLCH L 41.7% C 0.213 H 270.8°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).
Color values
| HEX | #2A30BD |
|---|---|
| RGB | rgb(42, 48, 189) |
| HSL | hsl(238, 64%, 45%) |
| HSV | hsv(238, 78%, 74%) |
| CMYK | cmyk(77.8%, 74.6%, 0%, 25.9%) |
| CIE-LAB | lab(30.11, 46.35, -73.52) |
| CIE-LCH | lch(30.11, 86.91, 302.23°) |
| OKLab | oklab(41.7% 0.0029 -0.2129) |
| OKLCH | oklch(41.7% 0.213 270.8) |
| XYZ | xyz(11.1940, 6.2790, 48.7563) |
| Luminance | 0.0628 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.73
Blue Blue
#2242C7
ΔE00 5.10
Indigo Blue
#3A18B1
ΔE00 5.24
Blue With A Hint Of Purple
#533CC6
ΔE00 5.49
True Blue
#010FCC
ΔE00 5.52
Blurple
#5539CC
ΔE00 5.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A30BD #BDB72A
analogous
#2A79BD #2A30BD #6D2ABD
triadic
#2A30BD #BD2A30 #30BD2A
tetradic
#2A30BD #BD2A79 #BDB72A #2ABD6D
square
#2A30BD #BD2A79 #BDB72A #2ABD6D
split-complementary
#2A30BD #BD6D2A #79BD2A
monochromatic
#141759 #1F238B #2A30BD #4D52D7 #7F83E3
Accessibility & contrast
On white
9.31
#2A30BD on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.26
#2A30BD on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A30BD
9.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A30BD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A30BD | 1.00 | 9.31 | 2.26 | 9.31 |
| #FFFFFF | 9.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004EC1
Deuteranopia (green-blind)
#0040BB
Tritanopia (blue-blind)
#005974
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #2a30bd; /* rgb */ color: rgb(42, 48, 189); /* oklch */ color: oklch(41.7% 0.213 270.8);
Tailwind
colors: {
custom: {
50: '#7d6ad2',
500: '#2a30bd',
950: '#000000',
},
}SCSS
$custom: #2a30bd; $custom-light: #7d6ad2; $custom-dark: #000000;
JSON
{
"hex": "#2a30bd",
"rgb": {
"r": 42,
"g": 48,
"b": 189
},
"hsl": {
"h": 237.551,
"s": 63.636,
"l": 45.294
},
"oklch": {
"l": 0.41702,
"c": 0.21291,
"h": 270.8
},
"luminance": 0.0628
}Semantic roles & 50–950 ramp
primary
#2A30BD
secondary
#CBC878
accent
#E041E7
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83