#28348F#28348F
#28348F is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.7% C 0.150 H 271.4°. Best body text is #FFFFFF at 10.62:1 contrast (WCAG AA passes).
Color values
| HEX | #28348F |
|---|---|
| RGB | rgb(40, 52, 143) |
| HSL | hsl(233, 56%, 36%) |
| HSV | hsv(233, 72%, 56%) |
| CMYK | cmyk(72%, 63.6%, 0%, 43.9%) |
| CIE-LAB | lab(26.42, 27.34, -51.82) |
| CIE-LCH | lch(26.42, 58.59, 297.81°) |
| OKLab | oklab(37.65% 0.0036 -0.1496) |
| OKLCH | oklch(37.65% 0.15 271.4) |
| XYZ | xyz(7.0593, 4.8896, 26.5530) |
| Luminance | 0.0489 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.10
Blueberry
#464196
ΔE00 5.27
Darkslateblue
#483D8B
ΔE00 5.58
Royal
#0C1793
ΔE00 7.61
Cobalt
#0047AB
ΔE00 7.72
Cobalt (survey)
#1E488F
ΔE00 7.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#28348F #8F8328
analogous
#28678F #28348F #4F288F
triadic
#28348F #8F2834 #348F28
tetradic
#28348F #8F2867 #8F8328 #288F4F
square
#28348F #8F2867 #8F8328 #288F4F
split-complementary
#28348F #8F4F28 #678F28
monochromatic
#0D112F #1B235F #28348F #3545BF #5F6DD2
Accessibility & contrast
On white
10.62
#28348F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.98
#28348F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #28348F
10.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##28348F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##28348F | 1.00 | 10.62 | 1.98 | 10.62 |
| #FFFFFF | 10.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004392
Deuteranopia (green-blind)
#003A8D
Tritanopia (blue-blind)
#004B5C
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #28348f; /* rgb */ color: rgb(40, 52, 143); /* oklch */ color: oklch(37.7% 0.150 271.4);
Tailwind
colors: {
custom: {
50: '#716bb1',
500: '#28348f',
950: '#000000',
},
}SCSS
$custom: #28348f; $custom-light: #716bb1; $custom-dark: #000000;
JSON
{
"hex": "#28348f",
"rgb": {
"r": 40,
"g": 52,
"b": 143
},
"hsl": {
"h": 233.01,
"s": 56.284,
"l": 35.882
},
"oklch": {
"l": 0.37651,
"c": 0.14963,
"h": 271.4
},
"luminance": 0.0489
}Semantic roles & 50–950 ramp
primary
#28348F
secondary
#B8AD5B
accent
#CE48E0
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80