#302E92#302E92
#302E92 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.4% C 0.159 H 276.3°. Best body text is #FFFFFF at 10.87:1 contrast (WCAG AA passes).
Color values
| HEX | #302E92 |
|---|---|
| RGB | rgb(48, 46, 146) |
| HSL | hsl(241, 52%, 38%) |
| HSV | hsv(241, 68%, 57%) |
| CMYK | cmyk(67.1%, 68.5%, 0%, 42.7%) |
| CIE-LAB | lab(25.73, 33.44, -54.77) |
| CIE-LCH | lch(25.73, 64.17, 301.41°) |
| OKLab | oklab(37.37% 0.0175 -0.158) |
| OKLCH | oklch(37.37% 0.159 276.3) |
| XYZ | xyz(7.3825, 4.6571, 27.6984) |
| Luminance | 0.0466 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.71
Darkslateblue
#483D8B
ΔE00 5.72
Blueberry
#464196
ΔE00 5.84
Royal
#0C1793
ΔE00 5.84
Indigo Blue
#3A18B1
ΔE00 6.63
Midnight Blue
#191970
ΔE00 7.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#302E92 #90922E
analogous
#2E5E92 #302E92 #622E92
triadic
#302E92 #92302E #2E9230
tetradic
#302E92 #922E5E #90922E #2E9262
square
#302E92 #922E5E #90922E #2E9262
split-complementary
#302E92 #92622E #5E922E
monochromatic
#111135 #211F63 #302E92 #3F3DC1 #6C6AD0
Accessibility & contrast
On white
10.87
#302E92 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.93
#302E92 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #302E92
10.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##302E92 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##302E92 | 1.00 | 10.87 | 1.93 | 10.87 |
| #FFFFFF | 10.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004195
Deuteranopia (green-blind)
#003990
Tritanopia (blue-blind)
#00485C
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #302e92; /* rgb */ color: rgb(48, 46, 146); /* oklch */ color: oklch(37.4% 0.159 276.3);
Tailwind
colors: {
custom: {
50: '#7567b3',
500: '#302e92',
950: '#000000',
},
}SCSS
$custom: #302e92; $custom-light: #7567b3; $custom-dark: #000000;
JSON
{
"hex": "#302e92",
"rgb": {
"r": 48,
"g": 46,
"b": 146
},
"hsl": {
"h": 241.2,
"s": 52.083,
"l": 37.647
},
"oklch": {
"l": 0.37373,
"c": 0.15902,
"h": 276.3
},
"luminance": 0.04658
}Semantic roles & 50–950 ramp
primary
#302E92
secondary
#B5B765
accent
#DC4CD9
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80