#28349E#28349E
#28349E is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.1% C 0.170 H 270.9°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).
Color values
| HEX | #28349E |
|---|---|
| RGB | rgb(40, 52, 158) |
| HSL | hsl(234, 60%, 39%) |
| HSV | hsv(234, 75%, 62%) |
| CMYK | cmyk(74.7%, 67.1%, 0%, 38%) |
| CIE-LAB | lab(27.78, 32.89, -58.79) |
| CIE-LCH | lch(27.78, 67.36, 299.22°) |
| OKLab | oklab(39.07% 0.0027 -0.17) |
| OKLCH | oklch(39.07% 0.17 270.9) |
| XYZ | xyz(8.2725, 5.3749, 32.9426) |
| Luminance | 0.0538 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.13
Blueberry
#464196
ΔE00 5.39
Darkslateblue
#483D8B
ΔE00 6.28
Blue Blue
#2242C7
ΔE00 6.60
Ocean Blue
#4F42B5
ΔE00 6.78
Royal
#0C1793
ΔE00 7.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#28349E #9E9228
analogous
#286F9E #28349E #57289E
triadic
#28349E #9E2834 #349E28
tetradic
#28349E #9E286F #9E9228 #289E57
square
#28349E #9E286F #9E9228 #289E57
split-complementary
#28349E #9E5728 #6F9E28
monochromatic
#0F143C #1C246D #28349E #3746CC #6873D9
Accessibility & contrast
On white
10.12
#28349E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.08
#28349E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #28349E
10.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##28349E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##28349E | 1.00 | 10.12 | 2.08 | 10.12 |
| #FFFFFF | 10.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0047A1
Deuteranopia (green-blind)
#003C9C
Tritanopia (blue-blind)
#005064
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #28349e; /* rgb */ color: rgb(40, 52, 158); /* oklch */ color: oklch(39.1% 0.170 270.9);
Tailwind
colors: {
custom: {
50: '#746bbc',
500: '#28349e',
950: '#000000',
},
}SCSS
$custom: #28349e; $custom-light: #746bbc; $custom-dark: #000000;
JSON
{
"hex": "#28349e",
"rgb": {
"r": 40,
"g": 52,
"b": 158
},
"hsl": {
"h": 233.898,
"s": 59.596,
"l": 38.824
},
"oklch": {
"l": 0.39066,
"c": 0.17002,
"h": 270.9
},
"luminance": 0.05376
}Semantic roles & 50–950 ramp
primary
#28349E
secondary
#BFB563
accent
#D345E3
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0712
muted
#7C7A81