#28326F#28326F
#28326F is a dark, moderate blue. Relative luminance 0.039; OKLCH L 34.5% C 0.106 H 272.6°. Best body text is #FFFFFF at 11.82:1 contrast (WCAG AA passes).
Color values
| HEX | #28326F |
|---|---|
| RGB | rgb(40, 50, 111) |
| HSL | hsl(232, 47%, 30%) |
| HSV | hsv(232, 64%, 44%) |
| CMYK | cmyk(64%, 55%, 0%, 56.5%) |
| CIE-LAB | lab(23.27, 16.62, -36.78) |
| CIE-LCH | lch(23.27, 40.37, 294.32°) |
| OKLab | oklab(34.49% 0.0049 -0.1054) |
| OKLCH | oklch(34.49% 0.106 272.6) |
| XYZ | xyz(4.8840, 3.8796, 15.5273) |
| Luminance | 0.0388 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 5.41
Marine Blue
#01386A
ΔE00 6.95
Darkslateblue
#483D8B
ΔE00 7.06
Navy Blue
#1B2A4A
ΔE00 7.19
Midnight Blue
#191970
ΔE00 7.87
Blueberry
#464196
ΔE00 8.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#28326F #6F6528
analogous
#28566F #28326F #41286F
triadic
#28326F #6F2832 #326F28
tetradic
#28326F #6F2856 #6F6528 #286F41
square
#28326F #6F2856 #6F6528 #286F41
split-complementary
#28326F #6F4128 #566F28
monochromatic
#080A16 #181E42 #28326F #38469C #5161C0
Accessibility & contrast
On white
11.82
#28326F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.78
#28326F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #28326F
11.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##28326F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##28326F | 1.00 | 11.82 | 1.78 | 11.82 |
| #FFFFFF | 11.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0E3B71
Deuteranopia (green-blind)
#00346E
Tritanopia (blue-blind)
#00404B
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #28326f; /* rgb */ color: rgb(40, 50, 111); /* oklch */ color: oklch(34.5% 0.106 272.6);
Tailwind
colors: {
custom: {
50: '#6a6999',
500: '#28326f',
950: '#000000',
},
}SCSS
$custom: #28326f; $custom-light: #6a6999; $custom-dark: #000000;
JSON
{
"hex": "#28326f",
"rgb": {
"r": 40,
"g": 50,
"b": 111
},
"hsl": {
"h": 231.549,
"s": 47.02,
"l": 29.608
},
"oklch": {
"l": 0.34488,
"c": 0.10553,
"h": 272.6
},
"luminance": 0.0388
}Semantic roles & 50–950 ramp
primary
#28326F
secondary
#A19651
accent
#C451D7
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E