#30336F#30336F
#30336F is a dark, moderate blue. Relative luminance 0.041; OKLCH L 35.3% C 0.102 H 277.7°. Best body text is #FFFFFF at 11.48:1 contrast (WCAG AA passes).
Color values
| HEX | #30336F |
|---|---|
| RGB | rgb(48, 51, 111) |
| HSL | hsl(237, 40%, 31%) |
| HSV | hsv(237, 57%, 44%) |
| CMYK | cmyk(56.8%, 54.1%, 0%, 56.5%) |
| CIE-LAB | lab(24.14, 17.66, -35.35) |
| CIE-LCH | lch(24.14, 39.52, 296.54°) |
| OKLab | oklab(35.3% 0.0136 -0.101) |
| OKLCH | oklch(35.3% 0.102 277.7) |
| XYZ | xyz(5.2711, 4.1434, 15.5578) |
| Luminance | 0.0414 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 6.16
Marine
#042E60
ΔE00 6.84
Blueberry
#464196
ΔE00 7.49
Navy Blue
#1B2A4A
ΔE00 7.76
Midnight Blue
#191970
ΔE00 8.13
Marine Blue
#01386A
ΔE00 8.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#30336F #6F6C30
analogous
#30526F #30336F #4C306F
triadic
#30336F #6F3033 #336F30
tetradic
#30336F #6F3052 #6F6C30 #306F4C
square
#30336F #6F3052 #6F6C30 #306F4C
split-complementary
#30336F #6F4C30 #526F30
monochromatic
#0B0C1A #1E1F44 #30336F #42479A #5F64BA
Accessibility & contrast
On white
11.48
#30336F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.83
#30336F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #30336F
11.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##30336F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##30336F | 1.00 | 11.48 | 1.83 | 11.48 |
| #FFFFFF | 11.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#143C71
Deuteranopia (green-blind)
#0A376E
Tritanopia (blue-blind)
#12404C
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #30336f; /* rgb */ color: rgb(48, 51, 111); /* oklch */ color: oklch(35.3% 0.102 277.7);
Tailwind
colors: {
custom: {
50: '#6e6a99',
500: '#30336f',
950: '#000000',
},
}SCSS
$custom: #30336f; $custom-light: #6e6a99; $custom-dark: #000000;
JSON
{
"hex": "#30336f",
"rgb": {
"r": 48,
"g": 51,
"b": 111
},
"hsl": {
"h": 237.143,
"s": 39.623,
"l": 31.176
},
"oklch": {
"l": 0.35295,
"c": 0.10188,
"h": 277.7
},
"luminance": 0.04144
}Semantic roles & 50–950 ramp
primary
#30336F
secondary
#A09D5B
accent
#CA58D0
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E