#302F82#302F82
#302F82 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.1% C 0.136 H 277.7°. Best body text is #FFFFFF at 11.32:1 contrast (WCAG AA passes).
Color values
| HEX | #302F82 |
|---|---|
| RGB | rgb(48, 47, 130) |
| HSL | hsl(241, 47%, 35%) |
| HSV | hsv(241, 64%, 51%) |
| CMYK | cmyk(63.1%, 63.8%, 0%, 49%) |
| CIE-LAB | lab(24.55, 27.16, -46.74) |
| CIE-LCH | lch(24.55, 54.06, 300.16°) |
| OKLab | oklab(36.07% 0.0181 -0.1345) |
| OKLCH | oklch(36.07% 0.136 277.7) |
| XYZ | xyz(6.2634, 4.2726, 21.6094) |
| Luminance | 0.0427 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.13
Blueberry
#464196
ΔE00 6.00
Midnight Blue
#191970
ΔE00 6.29
Sapphire (survey)
#2138AB
ΔE00 6.62
Royal
#0C1793
ΔE00 7.15
Marine
#042E60
ΔE00 8.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#302F82 #81822F
analogous
#2F5882 #302F82 #5A2F82
triadic
#302F82 #82302F #2F8230
tetradic
#302F82 #822F58 #81822F #2F825A
square
#302F82 #822F58 #81822F #2F825A
split-complementary
#302F82 #825A2F #58822F
monochromatic
#0F0E28 #1F1F55 #302F82 #413FAF #6664C7
Accessibility & contrast
On white
11.32
#302F82 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.85
#302F82 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #302F82
11.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##302F82 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##302F82 | 1.00 | 11.32 | 1.85 | 11.32 |
| #FFFFFF | 11.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E85
Deuteranopia (green-blind)
#003780
Tritanopia (blue-blind)
#004454
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #302f82; /* rgb */ color: rgb(48, 47, 130); /* oklch */ color: oklch(36.1% 0.136 277.7);
Tailwind
colors: {
custom: {
50: '#7267a7',
500: '#302f82',
950: '#000000',
},
}SCSS
$custom: #302f82; $custom-light: #7267a7; $custom-dark: #000000;
JSON
{
"hex": "#302f82",
"rgb": {
"r": 48,
"g": 47,
"b": 130
},
"hsl": {
"h": 240.723,
"s": 46.893,
"l": 34.706
},
"oklch": {
"l": 0.36071,
"c": 0.13572,
"h": 277.7
},
"luminance": 0.04273
}Semantic roles & 50–950 ramp
primary
#302F82
secondary
#ADAE5F
accent
#D751D5
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#09060F
muted
#7B7A7F