#28336F#28336F
#28336F is a dark, moderate blue. Relative luminance 0.040; OKLCH L 34.7% C 0.104 H 272.1°. Best body text is #FFFFFF at 11.71:1 contrast (WCAG AA passes).
Color values
| HEX | #28336F |
|---|---|
| RGB | rgb(40, 51, 111) |
| HSL | hsl(231, 47%, 30%) |
| HSV | hsv(231, 64%, 44%) |
| CMYK | cmyk(64%, 54.1%, 0%, 56.5%) |
| CIE-LAB | lab(23.56, 15.92, -36.32) |
| CIE-LCH | lch(23.56, 39.65, 293.67°) |
| OKLab | oklab(34.71% 0.0038 -0.104) |
| OKLCH | oklch(34.71% 0.104 272.1) |
| XYZ | xyz(4.9272, 3.9661, 15.5417) |
| Luminance | 0.0397 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 5.28
Marine Blue
#01386A
ΔE00 6.68
Darkslateblue
#483D8B
ΔE00 7.10
Navy Blue
#1B2A4A
ΔE00 7.13
Darkish Blue
#014182
ΔE00 7.85
Blueberry
#464196
ΔE00 7.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#28336F #6F6428
analogous
#28576F #28336F #41286F
triadic
#28336F #6F2833 #336F28
tetradic
#28336F #6F2857 #6F6428 #286F41
square
#28336F #6F2857 #6F6428 #286F41
split-complementary
#28336F #6F4128 #576F28
monochromatic
#080A16 #181E42 #28336F #38489C #5162C0
Accessibility & contrast
On white
11.71
#28336F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.79
#28336F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #28336F
11.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##28336F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##28336F | 1.00 | 11.71 | 1.79 | 11.71 |
| #FFFFFF | 11.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#113B71
Deuteranopia (green-blind)
#00356E
Tritanopia (blue-blind)
#00414B
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #28336f; /* rgb */ color: rgb(40, 51, 111); /* oklch */ color: oklch(34.7% 0.104 272.1);
Tailwind
colors: {
custom: {
50: '#6a6a99',
500: '#28336f',
950: '#000000',
},
}SCSS
$custom: #28336f; $custom-light: #6a6a99; $custom-dark: #000000;
JSON
{
"hex": "#28336f",
"rgb": {
"r": 40,
"g": 51,
"b": 111
},
"hsl": {
"h": 230.704,
"s": 47.02,
"l": 29.608
},
"oklch": {
"l": 0.34706,
"c": 0.1041,
"h": 272.1
},
"luminance": 0.03966
}Semantic roles & 50–950 ramp
primary
#28336F
secondary
#A19551
accent
#C251D7
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E