#30326F#30326F
#30326F is a dark, moderate blue. Relative luminance 0.041; OKLCH L 35.1% C 0.103 H 278.2°. Best body text is #FFFFFF at 11.59:1 contrast (WCAG AA passes).
Color values
| HEX | #30326F |
|---|---|
| RGB | rgb(48, 50, 111) |
| HSL | hsl(238, 40%, 31%) |
| HSV | hsv(238, 57%, 44%) |
| CMYK | cmyk(56.8%, 55%, 0%, 56.5%) |
| CIE-LAB | lab(23.86, 18.35, -35.80) |
| CIE-LCH | lch(23.86, 40.23, 297.13°) |
| OKLab | oklab(35.08% 0.0148 -0.1023) |
| OKLCH | oklch(35.08% 0.103 278.2) |
| XYZ | xyz(5.2279, 4.0569, 15.5434) |
| Luminance | 0.0406 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 6.16
Marine
#042E60
ΔE00 6.98
Blueberry
#464196
ΔE00 7.55
Midnight Blue
#191970
ΔE00 7.80
Navy Blue
#1B2A4A
ΔE00 7.84
Marine Blue
#01386A
ΔE00 8.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#30326F #6F6D30
analogous
#30516F #30326F #4D306F
triadic
#30326F #6F3032 #326F30
tetradic
#30326F #6F3051 #6F6D30 #306F4D
square
#30326F #6F3051 #6F6D30 #306F4D
split-complementary
#30326F #6F4D30 #516F30
monochromatic
#0B0C1A #1E1F44 #30326F #42459A #5F62BA
Accessibility & contrast
On white
11.59
#30326F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.81
#30326F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #30326F
11.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##30326F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##30326F | 1.00 | 11.59 | 1.81 | 11.59 |
| #FFFFFF | 11.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#113B71
Deuteranopia (green-blind)
#07366E
Tritanopia (blue-blind)
#12404B
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #30326f; /* rgb */ color: rgb(48, 50, 111); /* oklch */ color: oklch(35.1% 0.103 278.2);
Tailwind
colors: {
custom: {
50: '#6e6999',
500: '#30326f',
950: '#000000',
},
}SCSS
$custom: #30326f; $custom-light: #6e6999; $custom-dark: #000000;
JSON
{
"hex": "#30326f",
"rgb": {
"r": 48,
"g": 50,
"b": 111
},
"hsl": {
"h": 238.095,
"s": 39.623,
"l": 31.176
},
"oklch": {
"l": 0.35084,
"c": 0.10337,
"h": 278.2
},
"luminance": 0.04057
}Semantic roles & 50–950 ramp
primary
#30326F
secondary
#A09E5B
accent
#CC58D0
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#08060E
muted
#7B7A7E