#30337F#30337F
#30337F is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.6% C 0.126 H 276.5°. Best body text is #FFFFFF at 11.02:1 contrast (WCAG AA passes).
Color values
| HEX | #30337F |
|---|---|
| RGB | rgb(48, 51, 127) |
| HSL | hsl(238, 45%, 34%) |
| HSV | hsv(238, 62%, 50%) |
| CMYK | cmyk(62.2%, 59.8%, 0%, 50.2%) |
| CIE-LAB | lab(25.35, 23.41, -43.57) |
| CIE-LCH | lch(25.35, 49.46, 298.25°) |
| OKLab | oklab(36.58% 0.0143 -0.1251) |
| OKLCH | oklch(36.58% 0.126 276.5) |
| XYZ | xyz(6.2323, 4.5279, 20.6201) |
| Luminance | 0.0453 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 4.73
Blueberry
#464196
ΔE00 5.56
Sapphire (survey)
#2138AB
ΔE00 6.86
Midnight Blue
#191970
ΔE00 7.36
Marine
#042E60
ΔE00 7.92
Royal
#0C1793
ΔE00 8.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#30337F #7F7C30
analogous
#305B7F #30337F #55307F
triadic
#30337F #7F3033 #337F30
tetradic
#30337F #7F305B #7F7C30 #307F55
square
#30337F #7F305B #7F7C30 #307F55
split-complementary
#30337F #7F5530 #5B7F30
monochromatic
#0E0F26 #1F2153 #30337F #4145AB #6568C5
Accessibility & contrast
On white
11.02
#30337F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.91
#30337F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #30337F
11.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##30337F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##30337F | 1.00 | 11.02 | 1.91 | 11.02 |
| #FFFFFF | 11.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F82
Deuteranopia (green-blind)
#00397D
Tritanopia (blue-blind)
#004553
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #30337f; /* rgb */ color: rgb(48, 51, 127); /* oklch */ color: oklch(36.6% 0.126 276.5);
Tailwind
colors: {
custom: {
50: '#716aa5',
500: '#30337f',
950: '#000000',
},
}SCSS
$custom: #30337f; $custom-light: #716aa5; $custom-dark: #000000;
JSON
{
"hex": "#30337f",
"rgb": {
"r": 48,
"g": 51,
"b": 127
},
"hsl": {
"h": 237.722,
"s": 45.143,
"l": 34.314
},
"oklch": {
"l": 0.36578,
"c": 0.12595,
"h": 276.5
},
"luminance": 0.04528
}Semantic roles & 50–950 ramp
primary
#30337F
secondary
#ACA95F
accent
#D053D5
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F