#30478E#30478E
#30478E is a dark, vivid blue. Relative luminance 0.071; OKLCH L 41.9% C 0.121 H 267.5°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).
Color values
| HEX | #30478E |
|---|---|
| RGB | rgb(48, 71, 142) |
| HSL | hsl(225, 49%, 37%) |
| HSV | hsv(225, 66%, 56%) |
| CMYK | cmyk(66.2%, 50%, 0%, 44.3%) |
| CIE-LAB | lab(32.00, 15.38, -42.13) |
| CIE-LCH | lch(32.00, 44.85, 290.06°) |
| OKLab | oklab(41.94% -0.0053 -0.1206) |
| OKLCH | oklch(41.94% 0.121 267.5) |
| XYZ | xyz(8.3530, 7.0871, 26.5137) |
| Luminance | 0.0709 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.76
Cobalt
#0047AB
ΔE00 4.81
Darkish Blue
#014182
ΔE00 5.11
Dusk Blue
#26538D
ΔE00 5.55
Blueberry
#464196
ΔE00 5.65
Twilight Blue
#0A437A
ΔE00 5.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#30478E #8E7730
analogous
#30768E #30478E #48308E
triadic
#30478E #8E3047 #478E30
tetradic
#30478E #8E3076 #8E7730 #308E48
square
#30478E #8E3076 #8E7730 #308E48
split-complementary
#30478E #8E4830 #768E30
monochromatic
#111933 #213060 #30478E #3F5EBC #6B83CD
Accessibility & contrast
On white
8.69
#30478E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.42
#30478E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #30478E
8.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##30478E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##30478E | 1.00 | 8.69 | 2.42 | 8.69 |
| #FFFFFF | 8.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#215091
Deuteranopia (green-blind)
#0B478D
Tritanopia (blue-blind)
#005763
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #30478e; /* rgb */ color: rgb(48, 71, 142); /* oklch */ color: oklch(41.9% 0.121 267.5);
Tailwind
colors: {
custom: {
50: '#7379af',
500: '#30478e',
950: '#000000',
},
}SCSS
$custom: #30478e; $custom-light: #7379af; $custom-dark: #000000;
JSON
{
"hex": "#30478e",
"rgb": {
"r": 48,
"g": 71,
"b": 142
},
"hsl": {
"h": 225.319,
"s": 49.474,
"l": 37.255
},
"oklch": {
"l": 0.41938,
"c": 0.12077,
"h": 267.5
},
"luminance": 0.07088
}Semantic roles & 50–950 ramp
primary
#30478E
secondary
#B4A165
accent
#B74FD9
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#090910
muted
#7B7B7F