#30247C#30247C
#30247C is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.6% C 0.142 H 281.8°. Best body text is #FFFFFF at 12.58:1 contrast (WCAG AA passes).
Color values
| HEX | #30247C |
|---|---|
| RGB | rgb(48, 36, 124) |
| HSL | hsl(248, 55%, 31%) |
| HSV | hsv(248, 71%, 49%) |
| CMYK | cmyk(61.3%, 71%, 0%, 51.4%) |
| CIE-LAB | lab(21.38, 32.14, -48.14) |
| CIE-LCH | lch(21.38, 57.88, 303.73°) |
| OKLab | oklab(33.6% 0.029 -0.1386) |
| OKLCH | oklch(33.6% 0.142 281.8) |
| XYZ | xyz(5.4868, 3.3450, 19.4214) |
| Luminance | 0.0335 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.87
Royal
#0C1793
ΔE00 5.52
Indigo (survey)
#380282
ΔE00 6.42
Dark Royal Blue
#02066F
ΔE00 7.36
Darkslateblue
#483D8B
ΔE00 7.39
Indigo
#4B0082
ΔE00 7.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#30247C #707C24
analogous
#24447C #30247C #5C247C
triadic
#30247C #7C3024 #247C30
tetradic
#30247C #7C2444 #707C24 #247C5C
square
#30247C #7C2444 #707C24 #247C5C
split-complementary
#30247C #7C5C24 #447C24
monochromatic
#0B081D #1E164D #30247C #4232AB #604FCC
Accessibility & contrast
On white
12.58
#30247C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.67
#30247C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #30247C
12.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##30247C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##30247C | 1.00 | 12.58 | 1.67 | 12.58 |
| #FFFFFF | 12.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00367F
Deuteranopia (green-blind)
#00307A
Tritanopia (blue-blind)
#003B4D
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #30247c; /* rgb */ color: rgb(48, 36, 124); /* oklch */ color: oklch(33.6% 0.142 281.8);
Tailwind
colors: {
custom: {
50: '#7260a3',
500: '#30247c',
950: '#000000',
},
}SCSS
$custom: #30247c; $custom-light: #7260a3; $custom-dark: #000000;
JSON
{
"hex": "#30247c",
"rgb": {
"r": 48,
"g": 36,
"b": 124
},
"hsl": {
"h": 248.182,
"s": 55,
"l": 31.373
},
"oklch": {
"l": 0.33597,
"c": 0.14163,
"h": 281.8
},
"luminance": 0.03345
}Semantic roles & 50–950 ramp
primary
#30247C
secondary
#A1AE4D
accent
#DE49CA
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09050F
muted
#7B797F