#28458F#28458F
#28458F is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.2% C 0.128 H 265.1°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).
Color values
| HEX | #28458F |
|---|---|
| RGB | rgb(40, 69, 143) |
| HSL | hsl(223, 56%, 36%) |
| HSV | hsv(223, 72%, 56%) |
| CMYK | cmyk(72%, 51.7%, 0%, 43.9%) |
| CIE-LAB | lab(31.09, 15.78, -44.23) |
| CIE-LCH | lch(31.09, 46.96, 289.63°) |
| OKLab | oklab(41.15% -0.0108 -0.127) |
| OKLCH | oklch(41.15% 0.128 265.1) |
| XYZ | xyz(7.9594, 6.6897, 26.8530) |
| Luminance | 0.0669 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.09
Cobalt
#0047AB
ΔE00 4.14
Darkish Blue
#014182
ΔE00 4.20
Twilight Blue
#0A437A
ΔE00 5.03
Dusk Blue
#26538D
ΔE00 5.51
Blueberry
#464196
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#28458F #8F7228
analogous
#28788F #28458F #3E288F
triadic
#28458F #8F2845 #458F28
tetradic
#28458F #8F2878 #8F7228 #288F3E
square
#28458F #8F2878 #8F7228 #288F3E
split-complementary
#28458F #8F3E28 #788F28
monochromatic
#0D172F #1B2E5F #28458F #355CBF #5F80D2
Accessibility & contrast
On white
8.98
#28458F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.34
#28458F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #28458F
8.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##28458F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##28458F | 1.00 | 8.98 | 2.34 | 8.98 |
| #FFFFFF | 8.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#194E92
Deuteranopia (green-blind)
#00458E
Tritanopia (blue-blind)
#005763
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #28458f; /* rgb */ color: rgb(40, 69, 143); /* oklch */ color: oklch(41.2% 0.128 265.1);
Tailwind
colors: {
custom: {
50: '#7078b0',
500: '#28458f',
950: '#000000',
},
}SCSS
$custom: #28458f; $custom-light: #7078b0; $custom-dark: #000000;
JSON
{
"hex": "#28458f",
"rgb": {
"r": 40,
"g": 69,
"b": 143
},
"hsl": {
"h": 223.107,
"s": 56.284,
"l": 35.882
},
"oklch": {
"l": 0.41153,
"c": 0.12751,
"h": 265.1
},
"luminance": 0.06691
}Semantic roles & 50–950 ramp
primary
#28458F
secondary
#B89E5B
accent
#B548E0
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080810
muted
#7B7B7F