#30478C#30478C
#30478C is a dark, moderate blue. Relative luminance 0.070; OKLCH L 41.8% C 0.118 H 267.3°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).
Color values
| HEX | #30478C |
|---|---|
| RGB | rgb(48, 71, 140) |
| HSL | hsl(225, 49%, 37%) |
| HSV | hsv(225, 66%, 55%) |
| CMYK | cmyk(65.7%, 49.3%, 0%, 45.1%) |
| CIE-LAB | lab(31.87, 14.64, -41.11) |
| CIE-LCH | lch(31.87, 43.64, 289.60°) |
| OKLab | oklab(41.79% -0.0055 -0.1177) |
| OKLCH | oklch(41.79% 0.118 267.3) |
| XYZ | xyz(8.2042, 7.0276, 25.7300) |
| Luminance | 0.0703 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.74
Darkish Blue
#014182
ΔE00 5.00
Cobalt
#0047AB
ΔE00 5.03
Dusk Blue
#26538D
ΔE00 5.49
Twilight Blue
#0A437A
ΔE00 5.62
Blueberry
#464196
ΔE00 5.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#30478C #8C7530
analogous
#30758C #30478C #47308C
triadic
#30478C #8C3047 #478C30
tetradic
#30478C #8C3075 #8C7530 #308C47
square
#30478C #8C3075 #8C7530 #308C47
split-complementary
#30478C #8C4730 #758C30
monochromatic
#111931 #20305E #30478C #405EBA #6A83CC
Accessibility & contrast
On white
8.73
#30478C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.41
#30478C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #30478C
8.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##30478C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##30478C | 1.00 | 8.73 | 2.41 | 8.73 |
| #FFFFFF | 8.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#234F8F
Deuteranopia (green-blind)
#10478B
Tritanopia (blue-blind)
#005762
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #30478c; /* rgb */ color: rgb(48, 71, 140); /* oklch */ color: oklch(41.8% 0.118 267.3);
Tailwind
colors: {
custom: {
50: '#7279ae',
500: '#30478c',
950: '#000000',
},
}SCSS
$custom: #30478c; $custom-light: #7279ae; $custom-dark: #000000;
JSON
{
"hex": "#30478c",
"rgb": {
"r": 48,
"g": 71,
"b": 140
},
"hsl": {
"h": 225,
"s": 48.936,
"l": 36.863
},
"oklch": {
"l": 0.41792,
"c": 0.1178,
"h": 267.3
},
"luminance": 0.07028
}Semantic roles & 50–950 ramp
primary
#30478C
secondary
#B3A064
accent
#B64FD8
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#090910
muted
#7B7B7F