#28479F#28479F
#28479F is a dark, vivid blue. Relative luminance 0.075; OKLCH L 42.8% C 0.148 H 265.7°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).
Color values
| HEX | #28479F |
|---|---|
| RGB | rgb(40, 71, 159) |
| HSL | hsl(224, 60%, 39%) |
| HSV | hsv(224, 75%, 62%) |
| CMYK | cmyk(74.8%, 55.3%, 0%, 37.6%) |
| CIE-LAB | lab(32.83, 20.61, -51.15) |
| CIE-LCH | lch(32.83, 55.14, 291.95°) |
| OKLab | oklab(42.85% -0.011 -0.1473) |
| OKLCH | oklch(42.85% 0.148 265.7) |
| XYZ | xyz(9.3841, 7.4598, 33.7395) |
| Luminance | 0.0746 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.54
Cobalt (survey)
#1E488F
ΔE00 3.18
Sapphire
#0F52BA
ΔE00 5.12
Sapphire (survey)
#2138AB
ΔE00 5.40
Darkish Blue
#014182
ΔE00 5.76
Dusk Blue
#26538D
ΔE00 5.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#28479F #9F8028
analogous
#28839F #28479F #45289F
triadic
#28479F #9F2847 #479F28
tetradic
#28479F #9F2883 #9F8028 #289F45
square
#28479F #9F2883 #9F8028 #289F45
split-complementary
#28479F #9F4528 #839F28
monochromatic
#0F1B3D #1C316E #28479F #375ECD #6886D9
Accessibility & contrast
On white
8.43
#28479F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.49
#28479F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #28479F
8.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##28479F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##28479F | 1.00 | 8.43 | 2.49 | 8.43 |
| #FFFFFF | 8.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053A2
Deuteranopia (green-blind)
#00489D
Tritanopia (blue-blind)
#005C6C
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #28479f; /* rgb */ color: rgb(40, 71, 159); /* oklch */ color: oklch(42.8% 0.148 265.7);
Tailwind
colors: {
custom: {
50: '#7379bc',
500: '#28479f',
950: '#000000',
},
}SCSS
$custom: #28479f; $custom-light: #7379bc; $custom-dark: #000000;
JSON
{
"hex": "#28479f",
"rgb": {
"r": 40,
"g": 71,
"b": 159
},
"hsl": {
"h": 224.37,
"s": 59.799,
"l": 39.02
},
"oklch": {
"l": 0.42846,
"c": 0.14776,
"h": 265.7
},
"luminance": 0.07461
}Semantic roles & 50–950 ramp
primary
#28479F
secondary
#BFA764
accent
#BA45E3
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090912
muted
#7B7B81