#2D30C4#2D30C4
#2D30C4 is a dark, highly saturated blue. Relative luminance 0.067; OKLCH L 42.6% C 0.221 H 271.3°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).
Color values
| HEX | #2D30C4 |
|---|---|
| RGB | rgb(45, 48, 196) |
| HSL | hsl(239, 63%, 47%) |
| HSV | hsv(239, 77%, 77%) |
| CMYK | cmyk(77%, 75.5%, 0%, 23.1%) |
| CIE-LAB | lab(31.01, 48.89, -76.14) |
| CIE-LCH | lch(31.01, 90.48, 302.71°) |
| OKLab | oklab(42.61% 0.0049 -0.2204) |
| OKLCH | oklch(42.61% 0.221 271.3) |
| XYZ | xyz(12.0996, 6.6560, 52.8609) |
| Luminance | 0.0666 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.52
Blue With A Hint Of Purple
#533CC6
ΔE00 4.92
Blue Blue
#2242C7
ΔE00 4.98
Blurple
#5539CC
ΔE00 5.03
True Blue
#010FCC
ΔE00 5.44
Indigo Blue
#3A18B1
ΔE00 5.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D30C4 #C4C12D
analogous
#2D7CC4 #2D30C4 #762DC4
triadic
#2D30C4 #C42D30 #30C42D
tetradic
#2D30C4 #C42D7C #C4C12D #2DC476
square
#2D30C4 #C42D7C #C4C12D #2DC476
split-complementary
#2D30C4 #C4762D #7CC42D
monochromatic
#161860 #222492 #2D30C4 #5659D8 #888AE4
Accessibility & contrast
On white
9.01
#2D30C4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.33
#2D30C4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D30C4
9.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D30C4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D30C4 | 1.00 | 9.01 | 2.33 | 9.01 |
| #FFFFFF | 9.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0050C8
Deuteranopia (green-blind)
#0041C1
Tritanopia (blue-blind)
#005C78
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #2d30c4; /* rgb */ color: rgb(45, 48, 196); /* oklch */ color: oklch(42.6% 0.221 271.3);
Tailwind
colors: {
custom: {
50: '#806ad7',
500: '#2d30c4',
950: '#000000',
},
}SCSS
$custom: #2d30c4; $custom-light: #806ad7; $custom-dark: #000000;
JSON
{
"hex": "#2d30c4",
"rgb": {
"r": 45,
"g": 48,
"b": 196
},
"hsl": {
"h": 238.808,
"s": 62.656,
"l": 47.255
},
"oklch": {
"l": 0.42607,
"c": 0.2205,
"h": 271.3
},
"luminance": 0.06657
}Semantic roles & 50–950 ramp
primary
#2D30C4
secondary
#CDCC80
accent
#E242E6
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0715
muted
#7D7A83