#302FC1#302FC1
#302FC1 is a dark, highly saturated blue. Relative luminance 0.065; OKLCH L 42.3% C 0.217 H 272.4°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).
Color values
| HEX | #302FC1 |
|---|---|
| RGB | rgb(48, 47, 193) |
| HSL | hsl(240, 61%, 47%) |
| HSV | hsv(240, 76%, 76%) |
| CMYK | cmyk(75.1%, 75.6%, 0%, 24.3%) |
| CIE-LAB | lab(30.67, 48.69, -74.94) |
| CIE-LCH | lch(30.67, 89.37, 303.02°) |
| OKLab | oklab(42.31% 0.0092 -0.2169) |
| OKLCH | oklch(42.31% 0.217 272.4) |
| XYZ | xyz(11.8578, 6.5104, 51.0734) |
| Luminance | 0.0651 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.51
Blue With A Hint Of Purple
#533CC6
ΔE00 4.97
Indigo Blue
#3A18B1
ΔE00 5.04
Blurple
#5539CC
ΔE00 5.10
True Blue
#010FCC
ΔE00 5.29
Blue Blue
#2242C7
ΔE00 5.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#302FC1 #C0C12F
analogous
#2F77C1 #302FC1 #792FC1
triadic
#302FC1 #C1302F #2FC130
tetradic
#302FC1 #C12F77 #C0C12F #2FC179
square
#302FC1 #C12F77 #C0C12F #2FC179
split-complementary
#302FC1 #C1792F #77C12F
monochromatic
#18175F #242390 #302FC1 #5857D6 #8988E2
Accessibility & contrast
On white
9.12
#302FC1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.30
#302FC1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #302FC1
9.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##302FC1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##302FC1 | 1.00 | 9.12 | 2.30 | 9.12 |
| #FFFFFF | 9.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004FC5
Deuteranopia (green-blind)
#0041BE
Tritanopia (blue-blind)
#005A76
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #302fc1; /* rgb */ color: rgb(48, 47, 193); /* oklch */ color: oklch(42.3% 0.217 272.4);
Tailwind
colors: {
custom: {
50: '#806ad5',
500: '#302fc1',
950: '#000000',
},
}SCSS
$custom: #302fc1; $custom-light: #806ad5; $custom-dark: #000000;
JSON
{
"hex": "#302fc1",
"rgb": {
"r": 48,
"g": 47,
"b": 193
},
"hsl": {
"h": 240.411,
"s": 60.833,
"l": 47.059
},
"oklch": {
"l": 0.42313,
"c": 0.21709,
"h": 272.4
},
"luminance": 0.06512
}Semantic roles & 50–950 ramp
primary
#302FC1
secondary
#CBCC80
accent
#E444E3
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83