#302FB2#302FB2
#302FB2 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.7% C 0.199 H 273.5°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).
Color values
| HEX | #302FB2 |
|---|---|
| RGB | rgb(48, 47, 178) |
| HSL | hsl(240, 58%, 44%) |
| HSV | hsv(240, 74%, 70%) |
| CMYK | cmyk(73%, 73.6%, 0%, 30.2%) |
| CIE-LAB | lab(29.09, 43.77, -68.65) |
| CIE-LCH | lch(29.09, 81.41, 302.52°) |
| OKLab | oklab(40.73% 0.012 -0.1986) |
| OKLCH | oklch(40.73% 0.199 273.5) |
| XYZ | xyz(10.2686, 5.8747, 42.7036) |
| Luminance | 0.0588 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.45
Indigo Blue
#3A18B1
ΔE00 4.66
True Blue
#010FCC
ΔE00 5.84
Ocean Blue
#4F42B5
ΔE00 5.88
Blue Blue
#2242C7
ΔE00 5.97
Blue With A Hint Of Purple
#533CC6
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#302FB2 #B1B22F
analogous
#2F70B2 #302FB2 #722FB2
triadic
#302FB2 #B2302F #2FB230
tetradic
#302FB2 #B22F70 #B1B22F #2FB272
square
#302FB2 #B22F70 #B1B22F #2FB272
split-complementary
#302FB2 #B2722F #70B22F
monochromatic
#161551 #232282 #302FB2 #4F4ED0 #7F7EDD
Accessibility & contrast
On white
9.65
#302FB2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.18
#302FB2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #302FB2
9.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##302FB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##302FB2 | 1.00 | 9.65 | 2.18 | 9.65 |
| #FFFFFF | 9.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004BB6
Deuteranopia (green-blind)
#003EB0
Tritanopia (blue-blind)
#00556E
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #302fb2; /* rgb */ color: rgb(48, 47, 178); /* oklch */ color: oklch(40.7% 0.199 273.5);
Tailwind
colors: {
custom: {
50: '#7d69ca',
500: '#302fb2',
950: '#000000',
},
}SCSS
$custom: #302fb2; $custom-light: #7d69ca; $custom-dark: #000000;
JSON
{
"hex": "#302fb2",
"rgb": {
"r": 48,
"g": 47,
"b": 178
},
"hsl": {
"h": 240.458,
"s": 58.222,
"l": 44.118
},
"oklch": {
"l": 0.40733,
"c": 0.19895,
"h": 273.5
},
"luminance": 0.05876
}Semantic roles & 50–950 ramp
primary
#302FB2
secondary
#C5C677
accent
#E146E0
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0613
muted
#7C7A82