#2C30C0#2C30C0
#2C30C0 is a dark, highly saturated blue. Relative luminance 0.065; OKLCH L 42.1% C 0.216 H 271.2°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).
Color values
| HEX | #2C30C0 |
|---|---|
| RGB | rgb(44, 48, 192) |
| HSL | hsl(238, 63%, 46%) |
| HSV | hsv(238, 77%, 75%) |
| CMYK | cmyk(77.1%, 75%, 0%, 24.7%) |
| CIE-LAB | lab(30.53, 47.50, -74.58) |
| CIE-LCH | lch(30.53, 88.43, 302.49°) |
| OKLab | oklab(42.13% 0.0046 -0.2159) |
| OKLCH | oklch(42.13% 0.216 271.2) |
| XYZ | xyz(11.6069, 6.4539, 50.4930) |
| Luminance | 0.0645 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.09
Blue Blue
#2242C7
ΔE00 5.04
Blue With A Hint Of Purple
#533CC6
ΔE00 5.18
Indigo Blue
#3A18B1
ΔE00 5.29
Blurple
#5539CC
ΔE00 5.37
True Blue
#010FCC
ΔE00 5.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C30C0 #C0BC2C
analogous
#2C7AC0 #2C30C0 #722CC0
triadic
#2C30C0 #C02C30 #30C02C
tetradic
#2C30C0 #C02C7A #C0BC2C #2CC072
square
#2C30C0 #C02C7A #C0BC2C #2CC072
split-complementary
#2C30C0 #C0722C #7AC02C
monochromatic
#15175C #21248E #2C30C0 #5255D7 #8486E3
Accessibility & contrast
On white
9.17
#2C30C0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#2C30C0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C30C0
9.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C30C0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C30C0 | 1.00 | 9.17 | 2.29 | 9.17 |
| #FFFFFF | 9.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004FC4
Deuteranopia (green-blind)
#0040BD
Tritanopia (blue-blind)
#005A76
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #2c30c0; /* rgb */ color: rgb(44, 48, 192); /* oklch */ color: oklch(42.1% 0.216 271.2);
Tailwind
colors: {
custom: {
50: '#7e6ad4',
500: '#2c30c0',
950: '#000000',
},
}SCSS
$custom: #2c30c0; $custom-light: #7e6ad4; $custom-dark: #000000;
JSON
{
"hex": "#2c30c0",
"rgb": {
"r": 44,
"g": 48,
"b": 192
},
"hsl": {
"h": 238.378,
"s": 62.712,
"l": 46.275
},
"oklch": {
"l": 0.42126,
"c": 0.216,
"h": 271.2
},
"luminance": 0.06455
}Semantic roles & 50–950 ramp
primary
#2C30C0
secondary
#CCCA7C
accent
#E142E6
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0714
muted
#7D7A83