#30227C#30227C
#30227C is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.3% C 0.144 H 282.3°. Best body text is #FFFFFF at 12.76:1 contrast (WCAG AA passes).
Color values
| HEX | #30227C |
|---|---|
| RGB | rgb(48, 34, 124) |
| HSL | hsl(249, 57%, 31%) |
| HSV | hsv(249, 73%, 49%) |
| CMYK | cmyk(61.3%, 72.6%, 0%, 51.4%) |
| CIE-LAB | lab(20.93, 33.36, -48.87) |
| CIE-LCH | lch(20.93, 59.17, 304.32°) |
| OKLab | oklab(33.28% 0.0307 -0.1408) |
| OKLCH | oklch(33.28% 0.144 282.3) |
| XYZ | xyz(5.4279, 3.2273, 19.4018) |
| Luminance | 0.0323 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.65
Royal
#0C1793
ΔE00 5.24
Indigo (survey)
#380282
ΔE00 5.87
Dark Royal Blue
#02066F
ΔE00 6.94
Indigo
#4B0082
ΔE00 7.21
Deep Blue
#040273
ΔE00 7.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#30227C #6E7C22
analogous
#22417C #30227C #5D227C
triadic
#30227C #7C3022 #227C30
tetradic
#30227C #7C2241 #6E7C22 #227C5D
square
#30227C #7C2241 #6E7C22 #227C5D
split-complementary
#30227C #7C5D22 #417C22
monochromatic
#0B081C #1D154C #30227C #432FAC #5F4BCE
Accessibility & contrast
On white
12.76
#30227C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.65
#30227C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #30227C
12.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##30227C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##30227C | 1.00 | 12.76 | 1.65 | 12.76 |
| #FFFFFF | 12.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00357F
Deuteranopia (green-blind)
#002F7A
Tritanopia (blue-blind)
#003A4C
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #30227c; /* rgb */ color: rgb(48, 34, 124); /* oklch */ color: oklch(33.3% 0.144 282.3);
Tailwind
colors: {
custom: {
50: '#725ea3',
500: '#30227c',
950: '#000000',
},
}SCSS
$custom: #30227c; $custom-light: #725ea3; $custom-dark: #000000;
JSON
{
"hex": "#30227c",
"rgb": {
"r": 48,
"g": 34,
"b": 124
},
"hsl": {
"h": 249.333,
"s": 56.962,
"l": 30.98
},
"oklch": {
"l": 0.33279,
"c": 0.14408,
"h": 282.3
},
"luminance": 0.03228
}Semantic roles & 50–950 ramp
primary
#30227C
secondary
#9FAF4B
accent
#E048C8
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09040F
muted
#7B797F