#28479C#28479C
#28479C is a dark, vivid blue. Relative luminance 0.074; OKLCH L 42.6% C 0.144 H 265.5°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).
Color values
| HEX | #28479C |
|---|---|
| RGB | rgb(40, 71, 156) |
| HSL | hsl(224, 59%, 38%) |
| HSV | hsv(224, 74%, 61%) |
| CMYK | cmyk(74.4%, 54.5%, 0%, 38.8%) |
| CIE-LAB | lab(32.61, 19.46, -49.70) |
| CIE-LCH | lch(32.61, 53.37, 291.38°) |
| OKLab | oklab(42.6% -0.0112 -0.1431) |
| OKLCH | oklch(42.6% 0.144 265.5) |
| XYZ | xyz(9.1270, 7.3569, 32.3851) |
| Luminance | 0.0736 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.72
Cobalt (survey)
#1E488F
ΔE00 2.80
Sapphire
#0F52BA
ΔE00 5.33
Darkish Blue
#014182
ΔE00 5.41
Dusk Blue
#26538D
ΔE00 5.55
Sapphire (survey)
#2138AB
ΔE00 5.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#28479C #9C7D28
analogous
#28819C #28479C #43289C
triadic
#28479C #9C2847 #479C28
tetradic
#28479C #9C2881 #9C7D28 #289C43
square
#28479C #9C2881 #9C7D28 #289C43
split-complementary
#28479C #9C4328 #819C28
monochromatic
#0F1B3B #1C316B #28479C #365ECB #6785D8
Accessibility & contrast
On white
8.50
#28479C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.47
#28479C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #28479C
8.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##28479C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##28479C | 1.00 | 8.50 | 2.47 | 8.50 |
| #FFFFFF | 8.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#05529F
Deuteranopia (green-blind)
#00489A
Tritanopia (blue-blind)
#005C6A
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #28479c; /* rgb */ color: rgb(40, 71, 156); /* oklch */ color: oklch(42.6% 0.144 265.5);
Tailwind
colors: {
custom: {
50: '#7279ba',
500: '#28479c',
950: '#000000',
},
}SCSS
$custom: #28479c; $custom-light: #7279ba; $custom-dark: #000000;
JSON
{
"hex": "#28479c",
"rgb": {
"r": 40,
"g": 71,
"b": 156
},
"hsl": {
"h": 223.966,
"s": 59.184,
"l": 38.431
},
"oklch": {
"l": 0.42604,
"c": 0.14354,
"h": 265.5
},
"luminance": 0.07358
}Semantic roles & 50–950 ramp
primary
#28479C
secondary
#BEA562
accent
#B845E2
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090912
muted
#7B7B81