#30366F#30366F
#30366F is a dark, moderate blue. Relative luminance 0.044; OKLCH L 35.9% C 0.097 H 275.8°. Best body text is #FFFFFF at 11.15:1 contrast (WCAG AA passes).
Color values
| HEX | #30366F |
|---|---|
| RGB | rgb(48, 54, 111) |
| HSL | hsl(234, 40%, 31%) |
| HSV | hsv(234, 57%, 44%) |
| CMYK | cmyk(56.8%, 51.4%, 0%, 56.5%) |
| CIE-LAB | lab(25.00, 15.59, -33.98) |
| CIE-LCH | lch(25.00, 37.38, 294.64°) |
| OKLab | oklab(35.94% 0.0099 -0.0969) |
| OKLCH | oklch(35.94% 0.097 275.8) |
| XYZ | xyz(5.4064, 4.4141, 15.6030) |
| Luminance | 0.0441 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 6.28
Marine
#042E60
ΔE00 6.54
Blueberry
#464196
ΔE00 7.41
Navy Blue
#1B2A4A
ΔE00 7.59
Marine Blue
#01386A
ΔE00 7.65
Darkish Blue
#014182
ΔE00 8.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#30366F #6F6930
analogous
#30556F #30366F #49306F
triadic
#30366F #6F3036 #366F30
tetradic
#30366F #6F3055 #6F6930 #306F49
square
#30366F #6F3055 #6F6930 #306F49
split-complementary
#30366F #6F4930 #556F30
monochromatic
#0B0C1A #1E2144 #30366F #424B9A #5F68BA
Accessibility & contrast
On white
11.15
#30366F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.88
#30366F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #30366F
11.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##30366F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##30366F | 1.00 | 11.15 | 1.88 | 11.15 |
| #FFFFFF | 11.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1B3E71
Deuteranopia (green-blind)
#13396E
Tritanopia (blue-blind)
#12434D
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #30366f; /* rgb */ color: rgb(48, 54, 111); /* oklch */ color: oklch(35.9% 0.097 275.8);
Tailwind
colors: {
custom: {
50: '#6e6c99',
500: '#30366f',
950: '#000000',
},
}SCSS
$custom: #30366f; $custom-light: #6e6c99; $custom-dark: #000000;
JSON
{
"hex": "#30366f",
"rgb": {
"r": 48,
"g": 54,
"b": 111
},
"hsl": {
"h": 234.286,
"s": 39.623,
"l": 31.176
},
"oklch": {
"l": 0.3594,
"c": 0.0974,
"h": 275.8
},
"luminance": 0.04414
}Semantic roles & 50–950 ramp
primary
#30366F
secondary
#A09A5B
accent
#C458D0
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07070E
muted
#7A7A7E