#28459F#28459F
#28459F is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.4% C 0.150 H 266.4°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).
Color values
| HEX | #28459F |
|---|---|
| RGB | rgb(40, 69, 159) |
| HSL | hsl(225, 60%, 39%) |
| HSV | hsv(225, 75%, 62%) |
| CMYK | cmyk(74.8%, 56.6%, 0%, 37.6%) |
| CIE-LAB | lab(32.28, 21.96, -52.04) |
| CIE-LCH | lch(32.28, 56.49, 292.88°) |
| OKLab | oklab(42.43% -0.0094 -0.15) |
| OKLCH | oklch(42.43% 0.15 266.4) |
| XYZ | xyz(9.2590, 7.2096, 33.6978) |
| Luminance | 0.0721 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.80
Cobalt (survey)
#1E488F
ΔE00 3.61
Sapphire (survey)
#2138AB
ΔE00 4.74
Blueberry
#464196
ΔE00 5.56
Sapphire
#0F52BA
ΔE00 5.65
Blue Blue
#2242C7
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#28459F #9F8228
analogous
#28819F #28459F #47289F
triadic
#28459F #9F2845 #459F28
tetradic
#28459F #9F2881 #9F8228 #289F47
square
#28459F #9F2881 #9F8228 #289F47
split-complementary
#28459F #9F4728 #819F28
monochromatic
#0F1B3D #1C306E #28459F #375CCD #6884D9
Accessibility & contrast
On white
8.60
#28459F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.44
#28459F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #28459F
8.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##28459F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##28459F | 1.00 | 8.60 | 2.44 | 8.60 |
| #FFFFFF | 8.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0052A2
Deuteranopia (green-blind)
#00479D
Tritanopia (blue-blind)
#005B6B
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #28459f; /* rgb */ color: rgb(40, 69, 159); /* oklch */ color: oklch(42.4% 0.150 266.4);
Tailwind
colors: {
custom: {
50: '#7378bc',
500: '#28459f',
950: '#000000',
},
}SCSS
$custom: #28459f; $custom-light: #7378bc; $custom-dark: #000000;
JSON
{
"hex": "#28459f",
"rgb": {
"r": 40,
"g": 69,
"b": 159
},
"hsl": {
"h": 225.378,
"s": 59.799,
"l": 39.02
},
"oklch": {
"l": 0.4243,
"c": 0.15031,
"h": 266.4
},
"luminance": 0.07211
}Semantic roles & 50–950 ramp
primary
#28459F
secondary
#BFA964
accent
#BC45E3
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090812
muted
#7B7B81