#30479A#30479A
#30479A is a dark, vivid blue. Relative luminance 0.075; OKLCH L 42.8% C 0.138 H 268.4°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).
Color values
| HEX | #30479A |
|---|---|
| RGB | rgb(48, 71, 154) |
| HSL | hsl(227, 52%, 40%) |
| HSV | hsv(227, 69%, 60%) |
| CMYK | cmyk(68.8%, 53.9%, 0%, 39.6%) |
| CIE-LAB | lab(32.85, 19.88, -48.08) |
| CIE-LCH | lch(32.85, 52.03, 292.46°) |
| OKLab | oklab(42.85% -0.004 -0.1382) |
| OKLCH | oklch(42.85% 0.138 268.4) |
| XYZ | xyz(9.3029, 7.4671, 31.5166) |
| Luminance | 0.0747 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.50
Cobalt
#0047AB
ΔE00 3.71
Blueberry
#464196
ΔE00 5.05
Sapphire (survey)
#2138AB
ΔE00 5.59
Sapphire
#0F52BA
ΔE00 5.98
Darkish Blue
#014182
ΔE00 6.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#30479A #9A8330
analogous
#307C9A #30479A #4E309A
triadic
#30479A #9A3047 #479A30
tetradic
#30479A #9A307C #9A8330 #309A4E
square
#30479A #9A307C #9A8330 #309A4E
split-complementary
#30479A #9A4E30 #7C9A30
monochromatic
#131C3D #21316B #30479A #435FC4 #7287D3
Accessibility & contrast
On white
8.42
#30479A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.49
#30479A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #30479A
8.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##30479A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##30479A | 1.00 | 8.42 | 2.49 | 8.42 |
| #FFFFFF | 8.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0F529D
Deuteranopia (green-blind)
#004998
Tritanopia (blue-blind)
#005B69
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #30479a; /* rgb */ color: rgb(48, 71, 154); /* oklch */ color: oklch(42.8% 0.138 268.4);
Tailwind
colors: {
custom: {
50: '#7579b8',
500: '#30479a',
950: '#000000',
},
}SCSS
$custom: #30479a; $custom-light: #7579b8; $custom-dark: #000000;
JSON
{
"hex": "#30479a",
"rgb": {
"r": 48,
"g": 71,
"b": 154
},
"hsl": {
"h": 226.981,
"s": 52.475,
"l": 39.608
},
"oklch": {
"l": 0.42846,
"c": 0.13823,
"h": 268.4
},
"luminance": 0.07468
}Semantic roles & 50–950 ramp
primary
#30479A
secondary
#BBA96B
accent
#BD4CDC
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090911
muted
#7B7B80