#30479F#30479F
#30479F is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.2% C 0.145 H 268.6°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).
Color values
| HEX | #30479F |
|---|---|
| RGB | rgb(48, 71, 159) |
| HSL | hsl(228, 54%, 41%) |
| HSV | hsv(228, 70%, 62%) |
| CMYK | cmyk(69.8%, 55.3%, 0%, 37.6%) |
| CIE-LAB | lab(33.22, 21.75, -50.51) |
| CIE-LCH | lch(33.22, 54.99, 293.30°) |
| OKLab | oklab(43.24% -0.0036 -0.1453) |
| OKLCH | oklch(43.24% 0.145 268.6) |
| XYZ | xyz(9.7280, 7.6371, 33.7556) |
| Luminance | 0.0764 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.44
Cobalt (survey)
#1E488F
ΔE00 4.01
Blueberry
#464196
ΔE00 5.00
Sapphire (survey)
#2138AB
ΔE00 5.15
Sapphire
#0F52BA
ΔE00 5.64
Blue Blue
#2242C7
ΔE00 5.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#30479F #9F8830
analogous
#307E9F #30479F #51309F
triadic
#30479F #9F3047 #479F30
tetradic
#30479F #9F307E #9F8830 #309F51
square
#30479F #9F307E #9F8830 #309F51
split-complementary
#30479F #9F5130 #7E9F30
monochromatic
#141D41 #223270 #30479F #4560C7 #7488D5
Accessibility & contrast
On white
8.31
#30479F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.53
#30479F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #30479F
8.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##30479F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##30479F | 1.00 | 8.31 | 2.53 | 8.31 |
| #FFFFFF | 8.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053A2
Deuteranopia (green-blind)
#00499D
Tritanopia (blue-blind)
#005C6C
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #30479f; /* rgb */ color: rgb(48, 71, 159); /* oklch */ color: oklch(43.2% 0.145 268.6);
Tailwind
colors: {
custom: {
50: '#7679bc',
500: '#30479f',
950: '#000000',
},
}SCSS
$custom: #30479f; $custom-light: #7679bc; $custom-dark: #000000;
JSON
{
"hex": "#30479f",
"rgb": {
"r": 48,
"g": 71,
"b": 159
},
"hsl": {
"h": 227.568,
"s": 53.623,
"l": 40.588
},
"oklch": {
"l": 0.4324,
"c": 0.14536,
"h": 268.6
},
"luminance": 0.07638
}Semantic roles & 50–950 ramp
primary
#30479F
secondary
#BDAD6E
accent
#BF4BDD
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0912
muted
#7C7B81