#28336C#28336C
#28336C is a dark, moderate blue. Relative luminance 0.039; OKLCH L 34.5% C 0.099 H 272.0°. Best body text is #FFFFFF at 11.80:1 contrast (WCAG AA passes).
Color values
| HEX | #28336C |
|---|---|
| RGB | rgb(40, 51, 108) |
| HSL | hsl(230, 46%, 29%) |
| HSV | hsv(230, 63%, 42%) |
| CMYK | cmyk(63%, 52.8%, 0%, 57.6%) |
| CIE-LAB | lab(23.34, 14.79, -34.74) |
| CIE-LCH | lch(23.34, 37.75, 293.06°) |
| OKLab | oklab(34.47% 0.0035 -0.0994) |
| OKLCH | oklch(34.47% 0.099 272) |
| XYZ | xyz(4.7648, 3.9011, 14.6863) |
| Luminance | 0.0390 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 5.10
Marine Blue
#01386A
ΔE00 6.62
Navy Blue
#1B2A4A
ΔE00 6.67
Darkslateblue
#483D8B
ΔE00 7.46
Darkish Blue
#014182
ΔE00 7.98
Blueberry
#464196
ΔE00 8.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#28336C #6C6128
analogous
#28556C #28336C #3F286C
triadic
#28336C #6C2833 #336C28
tetradic
#28336C #6C2855 #6C6128 #286C3F
square
#28336C #6C2855 #6C6128 #286C3F
split-complementary
#28336C #6C3F28 #556C28
monochromatic
#080B16 #171E3F #28336C #394899 #5062BE
Accessibility & contrast
On white
11.80
#28336C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.78
#28336C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #28336C
11.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##28336C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##28336C | 1.00 | 11.80 | 1.78 | 11.80 |
| #FFFFFF | 11.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#153B6E
Deuteranopia (green-blind)
#07356B
Tritanopia (blue-blind)
#00404A
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #28336c; /* rgb */ color: rgb(40, 51, 108); /* oklch */ color: oklch(34.5% 0.099 272.0);
Tailwind
colors: {
custom: {
50: '#696a96',
500: '#28336c',
950: '#000000',
},
}SCSS
$custom: #28336c; $custom-light: #696a96; $custom-dark: #000000;
JSON
{
"hex": "#28336c",
"rgb": {
"r": 40,
"g": 51,
"b": 108
},
"hsl": {
"h": 230.294,
"s": 45.946,
"l": 29.02
},
"oklch": {
"l": 0.34473,
"c": 0.09945,
"h": 272
},
"luminance": 0.03901
}Semantic roles & 50–950 ramp
primary
#28336C
secondary
#9E9251
accent
#C052D6
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060D
muted
#7A7A7E