#28316E#28316E
#28316E is a dark, moderate blue. Relative luminance 0.038; OKLCH L 34.2% C 0.105 H 273.2°. Best body text is #FFFFFF at 11.97:1 contrast (WCAG AA passes).
Color values
| HEX | #28316E |
|---|---|
| RGB | rgb(40, 49, 110) |
| HSL | hsl(232, 47%, 29%) |
| HSV | hsv(232, 64%, 43%) |
| CMYK | cmyk(63.6%, 55.5%, 0%, 56.9%) |
| CIE-LAB | lab(22.91, 16.95, -36.73) |
| CIE-LCH | lch(22.91, 40.45, 294.77°) |
| OKLab | oklab(34.19% 0.0059 -0.1053) |
| OKLCH | oklch(34.19% 0.105 273.2) |
| XYZ | xyz(4.7869, 3.7731, 15.2249) |
| Luminance | 0.0377 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 5.49
Navy Blue
#1B2A4A
ΔE00 7.11
Darkslateblue
#483D8B
ΔE00 7.16
Marine Blue
#01386A
ΔE00 7.20
Midnight Blue
#191970
ΔE00 7.60
Blueberry
#464196
ΔE00 8.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#28316E #6E6528
analogous
#28546E #28316E #42286E
triadic
#28316E #6E2831 #316E28
tetradic
#28316E #6E2854 #6E6528 #286E42
square
#28316E #6E2854 #6E6528 #286E42
split-complementary
#28316E #6E4228 #546E28
monochromatic
#080A16 #181D41 #28316E #38459B #515FC0
Accessibility & contrast
On white
11.97
#28316E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.75
#28316E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #28316E
11.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##28316E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##28316E | 1.00 | 11.97 | 1.75 | 11.97 |
| #FFFFFF | 11.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0C3A70
Deuteranopia (green-blind)
#00346D
Tritanopia (blue-blind)
#003F4A
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #28316e; /* rgb */ color: rgb(40, 49, 110); /* oklch */ color: oklch(34.2% 0.105 273.2);
Tailwind
colors: {
custom: {
50: '#6a6898',
500: '#28316e',
950: '#000000',
},
}SCSS
$custom: #28316e; $custom-light: #6a6898; $custom-dark: #000000;
JSON
{
"hex": "#28316e",
"rgb": {
"r": 40,
"g": 49,
"b": 110
},
"hsl": {
"h": 232.286,
"s": 46.667,
"l": 29.412
},
"oklch": {
"l": 0.34191,
"c": 0.10542,
"h": 273.2
},
"luminance": 0.03774
}Semantic roles & 50–950 ramp
primary
#28316E
secondary
#A09651
accent
#C551D6
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E