#28379E#28379E
#28379E is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.6% C 0.166 H 270.3°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).
Color values
| HEX | #28379E |
|---|---|
| RGB | rgb(40, 55, 158) |
| HSL | hsl(232, 60%, 39%) |
| HSV | hsv(232, 75%, 62%) |
| CMYK | cmyk(74.7%, 65.2%, 0%, 38%) |
| CIE-LAB | lab(28.51, 30.94, -57.58) |
| CIE-LCH | lch(28.51, 65.36, 298.25°) |
| OKLab | oklab(39.61% 0.0008 -0.1664) |
| OKLCH | oklch(39.61% 0.166 270.3) |
| XYZ | xyz(8.4107, 5.6512, 32.9887) |
| Luminance | 0.0565 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.85
Blueberry
#464196
ΔE00 4.99
Darkslateblue
#483D8B
ΔE00 6.11
Blue Blue
#2242C7
ΔE00 6.18
Cobalt
#0047AB
ΔE00 6.45
Ocean Blue
#4F42B5
ΔE00 6.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#28379E #9E8F28
analogous
#28729E #28379E #54289E
triadic
#28379E #9E2837 #379E28
tetradic
#28379E #9E2872 #9E8F28 #289E54
square
#28379E #9E2872 #9E8F28 #289E54
split-complementary
#28379E #9E5428 #729E28
monochromatic
#0F153C #1C266D #28379E #374ACC #6876D9
Accessibility & contrast
On white
9.86
#28379E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.13
#28379E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #28379E
9.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##28379E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##28379E | 1.00 | 9.86 | 2.13 | 9.86 |
| #FFFFFF | 9.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0049A1
Deuteranopia (green-blind)
#003E9C
Tritanopia (blue-blind)
#005265
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #28379e; /* rgb */ color: rgb(40, 55, 158); /* oklch */ color: oklch(39.6% 0.166 270.3);
Tailwind
colors: {
custom: {
50: '#746ebc',
500: '#28379e',
950: '#000000',
},
}SCSS
$custom: #28379e; $custom-light: #746ebc; $custom-dark: #000000;
JSON
{
"hex": "#28379e",
"rgb": {
"r": 40,
"g": 55,
"b": 158
},
"hsl": {
"h": 232.373,
"s": 59.596,
"l": 38.824
},
"oklch": {
"l": 0.39606,
"c": 0.16644,
"h": 270.3
},
"luminance": 0.05652
}Semantic roles & 50–950 ramp
primary
#28379E
secondary
#BFB363
accent
#CF45E3
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090712
muted
#7B7A81