#28399F#28399F
#28399F is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.1% C 0.165 H 269.8°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).
Color values
| HEX | #28399F |
|---|---|
| RGB | rgb(40, 57, 159) |
| HSL | hsl(231, 60%, 39%) |
| HSV | hsv(231, 75%, 62%) |
| CMYK | cmyk(74.8%, 64.2%, 0%, 37.6%) |
| CIE-LAB | lab(29.11, 29.99, -57.22) |
| CIE-LCH | lch(29.11, 64.60, 297.66°) |
| OKLab | oklab(40.07% -0.0006 -0.1654) |
| OKLCH | oklch(40.07% 0.165 269.8) |
| XYZ | xyz(8.5941, 5.8797, 33.4761) |
| Luminance | 0.0588 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.76
Blueberry
#464196
ΔE00 4.83
Blue Blue
#2242C7
ΔE00 5.82
Cobalt
#0047AB
ΔE00 5.87
Darkslateblue
#483D8B
ΔE00 6.14
Ocean Blue
#4F42B5
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#28399F #9F8E28
analogous
#28759F #28399F #53289F
triadic
#28399F #9F2839 #399F28
tetradic
#28399F #9F2875 #9F8E28 #289F53
square
#28399F #9F2875 #9F8E28 #289F53
split-complementary
#28399F #9F5328 #759F28
monochromatic
#0F163D #1C276E #28399F #374DCD #6878D9
Accessibility & contrast
On white
9.65
#28399F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.18
#28399F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #28399F
9.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##28399F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##28399F | 1.00 | 9.65 | 2.18 | 9.65 |
| #FFFFFF | 9.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004AA2
Deuteranopia (green-blind)
#003F9D
Tritanopia (blue-blind)
#005466
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #28399f; /* rgb */ color: rgb(40, 57, 159); /* oklch */ color: oklch(40.1% 0.165 269.8);
Tailwind
colors: {
custom: {
50: '#746fbc',
500: '#28399f',
950: '#000000',
},
}SCSS
$custom: #28399f; $custom-light: #746fbc; $custom-dark: #000000;
JSON
{
"hex": "#28399f",
"rgb": {
"r": 40,
"g": 57,
"b": 159
},
"hsl": {
"h": 231.429,
"s": 59.799,
"l": 39.02
},
"oklch": {
"l": 0.40068,
"c": 0.16536,
"h": 269.8
},
"luminance": 0.05881
}Semantic roles & 50–950 ramp
primary
#28399F
secondary
#BFB264
accent
#CC45E3
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#090712
muted
#7B7A81