#30267F#30267F
#30267F is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.2% C 0.143 H 280.8°. Best body text is #FFFFFF at 12.29:1 contrast (WCAG AA passes).
Color values
| HEX | #30267F |
|---|---|
| RGB | rgb(48, 38, 127) |
| HSL | hsl(247, 54%, 32%) |
| HSV | hsv(247, 70%, 50%) |
| CMYK | cmyk(62.2%, 70.1%, 0%, 50.2%) |
| CIE-LAB | lab(22.11, 31.91, -48.84) |
| CIE-LCH | lch(22.11, 58.34, 303.16°) |
| OKLab | oklab(34.21% 0.0267 -0.1407) |
| OKLCH | oklch(34.21% 0.143 280.8) |
| XYZ | xyz(5.7416, 3.5465, 20.4565) |
| Luminance | 0.0355 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 4.31
Royal
#0C1793
ΔE00 5.47
Indigo (survey)
#380282
ΔE00 6.83
Darkslateblue
#483D8B
ΔE00 6.92
Dark Royal Blue
#02066F
ΔE00 7.83
Darkblue
#00008B
ΔE00 7.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#30267F #757F26
analogous
#26487F #30267F #5D267F
triadic
#30267F #7F3026 #267F30
tetradic
#30267F #7F2648 #757F26 #267F5D
square
#30267F #7F2648 #757F26 #267F5D
split-complementary
#30267F #7F5D26 #487F26
monochromatic
#0C0A21 #1E1850 #30267F #4234AE #6154CC
Accessibility & contrast
On white
12.29
#30267F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.71
#30267F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #30267F
12.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##30267F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##30267F | 1.00 | 12.29 | 1.71 | 12.29 |
| #FFFFFF | 12.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003882
Deuteranopia (green-blind)
#00327D
Tritanopia (blue-blind)
#003D4F
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #30267f; /* rgb */ color: rgb(48, 38, 127); /* oklch */ color: oklch(34.2% 0.143 280.8);
Tailwind
colors: {
custom: {
50: '#7261a5',
500: '#30267f',
950: '#000000',
},
}SCSS
$custom: #30267f; $custom-light: #7261a5; $custom-dark: #000000;
JSON
{
"hex": "#30267f",
"rgb": {
"r": 48,
"g": 38,
"b": 127
},
"hsl": {
"h": 246.742,
"s": 53.939,
"l": 32.353
},
"oklch": {
"l": 0.34213,
"c": 0.1432,
"h": 280.8
},
"luminance": 0.03547
}Semantic roles & 50–950 ramp
primary
#30267F
secondary
#A5B051
accent
#DD4ACD
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#09050F
muted
#7B797F