#302F92#302F92
#302F92 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.5% C 0.158 H 276.1°. Best body text is #FFFFFF at 10.78:1 contrast (WCAG AA passes).
Color values
| HEX | #302F92 |
|---|---|
| RGB | rgb(48, 47, 146) |
| HSL | hsl(241, 51%, 38%) |
| HSV | hsv(241, 68%, 57%) |
| CMYK | cmyk(67.1%, 67.8%, 0%, 42.7%) |
| CIE-LAB | lab(25.97, 32.81, -54.38) |
| CIE-LCH | lch(25.97, 63.52, 301.10°) |
| OKLab | oklab(37.54% 0.0167 -0.1569) |
| OKLCH | oklch(37.54% 0.158 276.1) |
| XYZ | xyz(7.4220, 4.7361, 27.7116) |
| Luminance | 0.0474 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.55
Darkslateblue
#483D8B
ΔE00 5.54
Blueberry
#464196
ΔE00 5.61
Royal
#0C1793
ΔE00 6.10
Indigo Blue
#3A18B1
ΔE00 6.85
Midnight Blue
#191970
ΔE00 7.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#302F92 #91922F
analogous
#2F5F92 #302F92 #612F92
triadic
#302F92 #92302F #2F9230
tetradic
#302F92 #922F5F #91922F #2F9261
square
#302F92 #922F5F #91922F #2F9261
split-complementary
#302F92 #92612F #5F922F
monochromatic
#121135 #212064 #302F92 #3F3EC0 #6D6CD0
Accessibility & contrast
On white
10.78
#302F92 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.95
#302F92 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #302F92
10.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##302F92 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##302F92 | 1.00 | 10.78 | 1.95 | 10.78 |
| #FFFFFF | 10.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004295
Deuteranopia (green-blind)
#003990
Tritanopia (blue-blind)
#00495C
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #302f92; /* rgb */ color: rgb(48, 47, 146); /* oklch */ color: oklch(37.5% 0.158 276.1);
Tailwind
colors: {
custom: {
50: '#7568b3',
500: '#302f92',
950: '#000000',
},
}SCSS
$custom: #302f92; $custom-light: #7568b3; $custom-dark: #000000;
JSON
{
"hex": "#302f92",
"rgb": {
"r": 48,
"g": 47,
"b": 146
},
"hsl": {
"h": 240.606,
"s": 51.295,
"l": 37.843
},
"oklch": {
"l": 0.37543,
"c": 0.15782,
"h": 276.1
},
"luminance": 0.04737
}Semantic roles & 50–950 ramp
primary
#302F92
secondary
#B6B766
accent
#DB4DD9
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80