#302FBC#302FBC
#302FBC is a dark, highly saturated blue. Relative luminance 0.063; OKLCH L 41.8% C 0.211 H 272.8°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).
Color values
| HEX | #302FBC |
|---|---|
| RGB | rgb(48, 47, 188) |
| HSL | hsl(240, 60%, 46%) |
| HSV | hsv(240, 75%, 74%) |
| CMYK | cmyk(74.5%, 75%, 0%, 26.3%) |
| CIE-LAB | lab(30.14, 47.07, -72.87) |
| CIE-LCH | lch(30.14, 86.75, 302.86°) |
| OKLab | oklab(41.78% 0.0102 -0.2109) |
| OKLCH | oklch(41.78% 0.211 272.8) |
| XYZ | xyz(11.3095, 6.2911, 48.1855) |
| Luminance | 0.0629 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.10
Indigo Blue
#3A18B1
ΔE00 4.81
Blue With A Hint Of Purple
#533CC6
ΔE00 5.25
True Blue
#010FCC
ΔE00 5.38
Blurple
#5539CC
ΔE00 5.47
Blue Blue
#2242C7
ΔE00 5.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#302FBC #BBBC2F
analogous
#2F74BC #302FBC #762FBC
triadic
#302FBC #BC302F #2FBC30
tetradic
#302FBC #BC2F74 #BBBC2F #2FBC76
square
#302FBC #BC2F74 #BBBC2F #2FBC76
split-complementary
#302FBC #BC762F #74BC2F
monochromatic
#17175A #23238B #302FBC #5554D4 #8685E0
Accessibility & contrast
On white
9.30
#302FBC on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.26
#302FBC on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #302FBC
9.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##302FBC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##302FBC | 1.00 | 9.30 | 2.26 | 9.30 |
| #FFFFFF | 9.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004EC0
Deuteranopia (green-blind)
#0040BA
Tritanopia (blue-blind)
#005873
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #302fbc; /* rgb */ color: rgb(48, 47, 188); /* oklch */ color: oklch(41.8% 0.211 272.8);
Tailwind
colors: {
custom: {
50: '#7f6ad2',
500: '#302fbc',
950: '#000000',
},
}SCSS
$custom: #302fbc; $custom-light: #7f6ad2; $custom-dark: #000000;
JSON
{
"hex": "#302fbc",
"rgb": {
"r": 48,
"g": 47,
"b": 188
},
"hsl": {
"h": 240.426,
"s": 60,
"l": 46.078
},
"oklch": {
"l": 0.41781,
"c": 0.21112,
"h": 272.8
},
"luminance": 0.06292
}Semantic roles & 50–950 ramp
primary
#302FBC
secondary
#C9CA7D
accent
#E345E2
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83