#28399B#28399B
#28399B is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.7% C 0.160 H 269.8°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).
Color values
| HEX | #28399B |
|---|---|
| RGB | rgb(40, 57, 155) |
| HSL | hsl(231, 59%, 38%) |
| HSV | hsv(231, 74%, 61%) |
| CMYK | cmyk(74.2%, 63.2%, 0%, 39.2%) |
| CIE-LAB | lab(28.75, 28.50, -55.36) |
| CIE-LCH | lch(28.75, 62.26, 297.24°) |
| OKLab | oklab(39.7% -0.0005 -0.1599) |
| OKLCH | oklch(39.7% 0.16 269.8) |
| XYZ | xyz(8.2526, 5.7431, 31.6776) |
| Luminance | 0.0574 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.34
Blueberry
#464196
ΔE00 4.72
Darkslateblue
#483D8B
ΔE00 5.91
Cobalt
#0047AB
ΔE00 5.93
Blue Blue
#2242C7
ΔE00 6.34
Cobalt (survey)
#1E488F
ΔE00 6.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#28399B #9B8A28
analogous
#28729B #28399B #50289B
triadic
#28399B #9B2839 #399B28
tetradic
#28399B #9B2872 #9B8A28 #289B50
square
#28399B #9B2872 #9B8A28 #289B50
split-complementary
#28399B #9B5028 #729B28
monochromatic
#0F153A #1B276A #28399B #354BCB #6677D7
Accessibility & contrast
On white
9.77
#28399B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#28399B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #28399B
9.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##28399B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##28399B | 1.00 | 9.77 | 2.15 | 9.77 |
| #FFFFFF | 9.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00499E
Deuteranopia (green-blind)
#003F99
Tritanopia (blue-blind)
#005264
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #28399b; /* rgb */ color: rgb(40, 57, 155); /* oklch */ color: oklch(39.7% 0.160 269.8);
Tailwind
colors: {
custom: {
50: '#736fb9',
500: '#28399b',
950: '#000000',
},
}SCSS
$custom: #28399b; $custom-light: #736fb9; $custom-dark: #000000;
JSON
{
"hex": "#28399b",
"rgb": {
"r": 40,
"g": 57,
"b": 155
},
"hsl": {
"h": 231.13,
"s": 58.974,
"l": 38.235
},
"oklch": {
"l": 0.397,
"c": 0.15992,
"h": 269.8
},
"luminance": 0.05744
}Semantic roles & 50–950 ramp
primary
#28399B
secondary
#BDB061
accent
#CB46E2
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090712
muted
#7B7A81