#28459D#28459D
#28459D is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.3% C 0.148 H 266.3°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).
Color values
| HEX | #28459D |
|---|---|
| RGB | rgb(40, 69, 157) |
| HSL | hsl(225, 59%, 39%) |
| HSV | hsv(225, 75%, 62%) |
| CMYK | cmyk(74.5%, 56.1%, 0%, 38.4%) |
| CIE-LAB | lab(32.13, 21.19, -51.08) |
| CIE-LCH | lch(32.13, 55.31, 292.53°) |
| OKLab | oklab(42.27% -0.0095 -0.1472) |
| OKLCH | oklch(42.27% 0.148 266.3) |
| XYZ | xyz(9.0869, 7.1407, 32.7911) |
| Luminance | 0.0714 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.90
Cobalt (survey)
#1E488F
ΔE00 3.37
Sapphire (survey)
#2138AB
ΔE00 4.93
Blueberry
#464196
ΔE00 5.59
Darkish Blue
#014182
ΔE00 5.67
Sapphire
#0F52BA
ΔE00 5.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#28459D #9D8028
analogous
#287F9D #28459D #45289D
triadic
#28459D #9D2845 #459D28
tetradic
#28459D #9D287F #9D8028 #289D45
square
#28459D #9D287F #9D8028 #289D45
split-complementary
#28459D #9D4528 #7F9D28
monochromatic
#0F1A3B #1C306C #28459D #365BCC #6783D8
Accessibility & contrast
On white
8.65
#28459D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.43
#28459D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #28459D
8.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##28459D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##28459D | 1.00 | 8.65 | 2.43 | 8.65 |
| #FFFFFF | 8.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0051A0
Deuteranopia (green-blind)
#00469B
Tritanopia (blue-blind)
#005B6A
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #28459d; /* rgb */ color: rgb(40, 69, 157); /* oklch */ color: oklch(42.3% 0.148 266.3);
Tailwind
colors: {
custom: {
50: '#7378bb',
500: '#28459d',
950: '#000000',
},
}SCSS
$custom: #28459d; $custom-light: #7378bb; $custom-dark: #000000;
JSON
{
"hex": "#28459d",
"rgb": {
"r": 40,
"g": 69,
"b": 157
},
"hsl": {
"h": 225.128,
"s": 59.391,
"l": 38.627
},
"oklch": {
"l": 0.42265,
"c": 0.14751,
"h": 266.3
},
"luminance": 0.07142
}Semantic roles & 50–950 ramp
primary
#28459D
secondary
#BEA862
accent
#BC45E3
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090812
muted
#7B7B81