#302FCC#302FCC
#302FCC is a dark, highly saturated blue. Relative luminance 0.070; OKLCH L 43.5% C 0.230 H 271.8°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).
Color values
| HEX | #302FCC |
|---|---|
| RGB | rgb(48, 47, 204) |
| HSL | hsl(240, 63%, 49%) |
| HSV | hsv(240, 77%, 80%) |
| CMYK | cmyk(76.5%, 77%, 0%, 20%) |
| CIE-LAB | lab(31.85, 52.22, -79.42) |
| CIE-LCH | lch(31.85, 95.05, 303.33°) |
| OKLab | oklab(43.5% 0.0071 -0.2299) |
| OKLCH | oklch(43.5% 0.23 271.8) |
| XYZ | xyz(13.1308, 7.0196, 57.7779) |
| Luminance | 0.0702 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blurple
#5539CC
ΔE00 4.48
Blue With A Hint Of Purple
#533CC6
ΔE00 4.58
Rich Blue
#021BF9
ΔE00 5.11
Blue Blue
#2242C7
ΔE00 5.23
Ultramarine Blue
#1805DB
ΔE00 5.28
Purple Blue
#5D21D0
ΔE00 5.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#302FCC #CBCC2F
analogous
#2F7DCC #302FCC #7F2FCC
triadic
#302FCC #CC302F #2FCC30
tetradic
#302FCC #CC2F7D #CBCC2F #2FCC7F
square
#302FCC #CC2F7D #CBCC2F #2FCC7F
split-complementary
#302FCC #CC7F2F #7DCC2F
monochromatic
#191869 #24249A #302FCC #5F5EDA #9190E5
Accessibility & contrast
On white
8.73
#302FCC on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.40
#302FCC on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #302FCC
8.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##302FCC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##302FCC | 1.00 | 8.73 | 2.40 | 8.73 |
| #FFFFFF | 8.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053D0
Deuteranopia (green-blind)
#0043C9
Tritanopia (blue-blind)
#005F7C
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #302fcc; /* rgb */ color: rgb(48, 47, 204); /* oklch */ color: oklch(43.5% 0.230 271.8);
Tailwind
colors: {
custom: {
50: '#836add',
500: '#302fcc',
950: '#000000',
},
}SCSS
$custom: #302fcc; $custom-light: #836add; $custom-dark: #000000;
JSON
{
"hex": "#302fcc",
"rgb": {
"r": 48,
"g": 47,
"b": 204
},
"hsl": {
"h": 240.382,
"s": 62.55,
"l": 49.216
},
"oklch": {
"l": 0.43498,
"c": 0.23001,
"h": 271.8
},
"luminance": 0.07021
}Semantic roles & 50–950 ramp
primary
#302FCC
secondary
#D0D087
accent
#E642E5
background
#F9F6FD
surface
#F1EBFB
border
#CBC6D4
text
#0D0715
muted
#7E7A83