#302E93#302E93
#302E93 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.5% C 0.160 H 276.2°. Best body text is #FFFFFF at 10.84:1 contrast (WCAG AA passes).
Color values
| HEX | #302E93 |
|---|---|
| RGB | rgb(48, 46, 147) |
| HSL | hsl(241, 52%, 38%) |
| HSV | hsv(241, 69%, 58%) |
| CMYK | cmyk(67.3%, 68.7%, 0%, 42.4%) |
| CIE-LAB | lab(25.83, 33.79, -55.23) |
| CIE-LCH | lch(25.83, 64.75, 301.46°) |
| OKLab | oklab(37.47% 0.0174 -0.1594) |
| OKLCH | oklch(37.47% 0.16 276.2) |
| XYZ | xyz(7.4607, 4.6883, 28.1099) |
| Luminance | 0.0469 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.61
Darkslateblue
#483D8B
ΔE00 5.77
Royal
#0C1793
ΔE00 5.82
Blueberry
#464196
ΔE00 5.85
Indigo Blue
#3A18B1
ΔE00 6.51
Midnight Blue
#191970
ΔE00 7.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#302E93 #91932E
analogous
#2E5E93 #302E93 #622E93
triadic
#302E93 #93302E #2E9330
tetradic
#302E93 #932E5E #91932E #2E9362
square
#302E93 #932E5E #91932E #2E9362
split-complementary
#302E93 #93622E #5E932E
monochromatic
#121136 #211F64 #302E93 #3F3DC2 #6D6BD1
Accessibility & contrast
On white
10.84
#302E93 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.94
#302E93 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #302E93
10.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##302E93 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##302E93 | 1.00 | 10.84 | 1.94 | 10.84 |
| #FFFFFF | 10.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004296
Deuteranopia (green-blind)
#003991
Tritanopia (blue-blind)
#00495C
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #302e93; /* rgb */ color: rgb(48, 46, 147); /* oklch */ color: oklch(37.5% 0.160 276.2);
Tailwind
colors: {
custom: {
50: '#7667b4',
500: '#302e93',
950: '#000000',
},
}SCSS
$custom: #302e93; $custom-light: #7667b4; $custom-dark: #000000;
JSON
{
"hex": "#302e93",
"rgb": {
"r": 48,
"g": 46,
"b": 147
},
"hsl": {
"h": 241.188,
"s": 52.332,
"l": 37.843
},
"oklch": {
"l": 0.37469,
"c": 0.16036,
"h": 276.2
},
"luminance": 0.04689
}Semantic roles & 50–950 ramp
primary
#302E93
secondary
#B6B865
accent
#DC4CD9
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80