#30267E#30267E
#30267E is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.1% C 0.142 H 280.9°. Best body text is #FFFFFF at 12.32:1 contrast (WCAG AA passes).
Color values
| HEX | #30267E |
|---|---|
| RGB | rgb(48, 38, 126) |
| HSL | hsl(247, 54%, 32%) |
| HSV | hsv(247, 70%, 49%) |
| CMYK | cmyk(61.9%, 69.8%, 0%, 50.6%) |
| CIE-LAB | lab(22.02, 31.57, -48.36) |
| CIE-LCH | lch(22.02, 57.75, 303.14°) |
| OKLab | oklab(34.12% 0.0269 -0.1393) |
| OKLCH | oklch(34.12% 0.142 280.9) |
| XYZ | xyz(5.6767, 3.5206, 20.1150) |
| Luminance | 0.0352 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 4.25
Royal
#0C1793
ΔE00 5.59
Indigo (survey)
#380282
ΔE00 6.88
Darkslateblue
#483D8B
ΔE00 6.93
Dark Royal Blue
#02066F
ΔE00 7.82
Darkblue
#00008B
ΔE00 8.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#30267E #747E26
analogous
#26487E #30267E #5C267E
triadic
#30267E #7E3026 #267E30
tetradic
#30267E #7E2648 #747E26 #267E5C
square
#30267E #7E2648 #747E26 #267E5C
split-complementary
#30267E #7E5C26 #487E26
monochromatic
#0C0A20 #1E184F #30267E #4234AD #6153CB
Accessibility & contrast
On white
12.32
#30267E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.70
#30267E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #30267E
12.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##30267E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##30267E | 1.00 | 12.32 | 1.70 | 12.32 |
| #FFFFFF | 12.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003881
Deuteranopia (green-blind)
#00317C
Tritanopia (blue-blind)
#003D4E
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #30267e; /* rgb */ color: rgb(48, 38, 126); /* oklch */ color: oklch(34.1% 0.142 280.9);
Tailwind
colors: {
custom: {
50: '#7261a4',
500: '#30267e',
950: '#000000',
},
}SCSS
$custom: #30267e; $custom-light: #7261a4; $custom-dark: #000000;
JSON
{
"hex": "#30267e",
"rgb": {
"r": 48,
"g": 38,
"b": 126
},
"hsl": {
"h": 246.818,
"s": 53.659,
"l": 32.157
},
"oklch": {
"l": 0.34117,
"c": 0.14185,
"h": 280.9
},
"luminance": 0.03521
}Semantic roles & 50–950 ramp
primary
#30267E
secondary
#A5B050
accent
#DD4BCC
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#09050F
muted
#7B797F