#2D30B4#2D30B4
#2D30B4 is a dark, highly saturated blue. Relative luminance 0.060; OKLCH L 40.9% C 0.201 H 272.2°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).
Color values
| HEX | #2D30B4 |
|---|---|
| RGB | rgb(45, 48, 180) |
| HSL | hsl(239, 60%, 44%) |
| HSV | hsv(239, 75%, 71%) |
| CMYK | cmyk(75%, 73.3%, 0%, 29.4%) |
| CIE-LAB | lab(29.33, 43.58, -69.46) |
| CIE-LCH | lch(29.33, 82.00, 302.10°) |
| OKLab | oklab(40.91% 0.0077 -0.201) |
| OKLCH | oklch(40.91% 0.201 272.2) |
| XYZ | xyz(10.3746, 5.9660, 43.7760) |
| Luminance | 0.0597 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.17
Indigo Blue
#3A18B1
ΔE00 5.01
Blue Blue
#2242C7
ΔE00 5.57
Ocean Blue
#4F42B5
ΔE00 5.83
True Blue
#010FCC
ΔE00 5.92
Blue With A Hint Of Purple
#533CC6
ΔE00 5.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D30B4 #B4B12D
analogous
#2D74B4 #2D30B4 #6E2DB4
triadic
#2D30B4 #B42D30 #30B42D
tetradic
#2D30B4 #B42D74 #B4B12D #2DB46E
square
#2D30B4 #B42D74 #B4B12D #2DB46E
split-complementary
#2D30B4 #B46E2D #74B42D
monochromatic
#151652 #212383 #2D30B4 #4C4FD2 #7D7FDE
Accessibility & contrast
On white
9.57
#2D30B4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.19
#2D30B4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D30B4
9.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D30B4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D30B4 | 1.00 | 9.57 | 2.19 | 9.57 |
| #FFFFFF | 9.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004CB8
Deuteranopia (green-blind)
#003EB2
Tritanopia (blue-blind)
#00566F
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #2d30b4; /* rgb */ color: rgb(45, 48, 180); /* oklch */ color: oklch(40.9% 0.201 272.2);
Tailwind
colors: {
custom: {
50: '#7c6acc',
500: '#2d30b4',
950: '#000000',
},
}SCSS
$custom: #2d30b4; $custom-light: #7c6acc; $custom-dark: #000000;
JSON
{
"hex": "#2d30b4",
"rgb": {
"r": 45,
"g": 48,
"b": 180
},
"hsl": {
"h": 238.667,
"s": 60,
"l": 44.118
},
"oklch": {
"l": 0.40912,
"c": 0.20119,
"h": 272.2
},
"luminance": 0.05967
}Semantic roles & 50–950 ramp
primary
#2D30B4
secondary
#C7C576
accent
#E045E3
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0614
muted
#7C7A82