#30267C#30267C
#30267C is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.9% C 0.139 H 281.3°. Best body text is #FFFFFF at 12.40:1 contrast (WCAG AA passes).
Color values
| HEX | #30267C |
|---|---|
| RGB | rgb(48, 38, 124) |
| HSL | hsl(247, 53%, 32%) |
| HSV | hsv(247, 69%, 49%) |
| CMYK | cmyk(61.3%, 69.4%, 0%, 51.4%) |
| CIE-LAB | lab(21.83, 30.89, -47.39) |
| CIE-LCH | lch(21.83, 56.57, 303.10°) |
| OKLab | oklab(33.93% 0.0272 -0.1364) |
| OKLCH | oklch(33.93% 0.139 281.3) |
| XYZ | xyz(5.5490, 3.4695, 19.4421) |
| Luminance | 0.0347 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 4.16
Royal
#0C1793
ΔE00 5.85
Darkslateblue
#483D8B
ΔE00 6.96
Indigo (survey)
#380282
ΔE00 6.99
Dark Royal Blue
#02066F
ΔE00 7.82
Indigo
#4B0082
ΔE00 8.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#30267C #727C26
analogous
#26477C #30267C #5B267C
triadic
#30267C #7C3026 #267C30
tetradic
#30267C #7C2647 #727C26 #267C5B
square
#30267C #7C2647 #727C26 #267C5B
split-complementary
#30267C #7C5B26 #477C26
monochromatic
#0C091E #1E184D #30267C #4234AB #6052CA
Accessibility & contrast
On white
12.40
#30267C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.69
#30267C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #30267C
12.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##30267C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##30267C | 1.00 | 12.40 | 1.69 | 12.40 |
| #FFFFFF | 12.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00377F
Deuteranopia (green-blind)
#00317A
Tritanopia (blue-blind)
#003C4D
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #30267c; /* rgb */ color: rgb(48, 38, 124); /* oklch */ color: oklch(33.9% 0.139 281.3);
Tailwind
colors: {
custom: {
50: '#7261a3',
500: '#30267c',
950: '#000000',
},
}SCSS
$custom: #30267c; $custom-light: #7261a3; $custom-dark: #000000;
JSON
{
"hex": "#30267c",
"rgb": {
"r": 48,
"g": 38,
"b": 124
},
"hsl": {
"h": 246.977,
"s": 53.086,
"l": 31.765
},
"oklch": {
"l": 0.33927,
"c": 0.13912,
"h": 281.3
},
"luminance": 0.0347
}Semantic roles & 50–950 ramp
primary
#30267C
secondary
#A3AE50
accent
#DC4BCC
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#08050F
muted
#7B797F