#28478F#28478F
#28478F is a dark, vivid blue. Relative luminance 0.069; OKLCH L 41.6% C 0.125 H 264.2°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).
Color values
| HEX | #28478F |
|---|---|
| RGB | rgb(40, 71, 143) |
| HSL | hsl(222, 56%, 36%) |
| HSV | hsv(222, 72%, 56%) |
| CMYK | cmyk(72%, 50.3%, 0%, 43.9%) |
| CIE-LAB | lab(31.67, 14.42, -43.30) |
| CIE-LCH | lch(31.67, 45.64, 288.42°) |
| OKLab | oklab(41.6% -0.0127 -0.1243) |
| OKLCH | oklch(41.6% 0.125 264.2) |
| XYZ | xyz(8.0845, 6.9399, 26.8948) |
| Luminance | 0.0694 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.53
Cobalt
#0047AB
ΔE00 4.03
Darkish Blue
#014182
ΔE00 4.08
Dusk Blue
#26538D
ΔE00 4.79
Twilight Blue
#0A437A
ΔE00 4.79
Light Navy
#155084
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#28478F #8F7028
analogous
#287A8F #28478F #3C288F
triadic
#28478F #8F2847 #478F28
tetradic
#28478F #8F287A #8F7028 #288F3C
square
#28478F #8F287A #8F7028 #288F3C
split-complementary
#28478F #8F3C28 #7A8F28
monochromatic
#0D182F #1B2F5F #28478F #355FBF #5F82D2
Accessibility & contrast
On white
8.79
#28478F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.39
#28478F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #28478F
8.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##28478F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##28478F | 1.00 | 8.79 | 2.39 | 8.79 |
| #FFFFFF | 8.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1E5092
Deuteranopia (green-blind)
#00468E
Tritanopia (blue-blind)
#005864
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #28478f; /* rgb */ color: rgb(40, 71, 143); /* oklch */ color: oklch(41.6% 0.125 264.2);
Tailwind
colors: {
custom: {
50: '#7079b0',
500: '#28478f',
950: '#000000',
},
}SCSS
$custom: #28478f; $custom-light: #7079b0; $custom-dark: #000000;
JSON
{
"hex": "#28478f",
"rgb": {
"r": 40,
"g": 71,
"b": 143
},
"hsl": {
"h": 221.942,
"s": 56.284,
"l": 35.882
},
"oklch": {
"l": 0.41595,
"c": 0.12491,
"h": 264.2
},
"luminance": 0.06941
}Semantic roles & 50–950 ramp
primary
#28478F
secondary
#B89C5B
accent
#B248E0
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080910
muted
#7B7B7F