#28336E#28336E
#28336E is a dark, moderate blue. Relative luminance 0.039; OKLCH L 34.6% C 0.103 H 272.1°. Best body text is #FFFFFF at 11.74:1 contrast (WCAG AA passes).
Color values
| HEX | #28336E |
|---|---|
| RGB | rgb(40, 51, 110) |
| HSL | hsl(231, 47%, 29%) |
| HSV | hsv(231, 64%, 43%) |
| CMYK | cmyk(63.6%, 53.6%, 0%, 56.9%) |
| CIE-LAB | lab(23.49, 15.54, -35.79) |
| CIE-LCH | lch(23.49, 39.02, 293.47°) |
| OKLab | oklab(34.63% 0.0037 -0.1025) |
| OKLCH | oklch(34.63% 0.103 272.1) |
| XYZ | xyz(4.8724, 3.9442, 15.2534) |
| Luminance | 0.0394 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 5.21
Marine Blue
#01386A
ΔE00 6.66
Navy Blue
#1B2A4A
ΔE00 6.98
Darkslateblue
#483D8B
ΔE00 7.22
Darkish Blue
#014182
ΔE00 7.89
Blueberry
#464196
ΔE00 8.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#28336E #6E6328
analogous
#28566E #28336E #40286E
triadic
#28336E #6E2833 #336E28
tetradic
#28336E #6E2856 #6E6328 #286E40
square
#28336E #6E2856 #6E6328 #286E40
split-complementary
#28336E #6E4028 #566E28
monochromatic
#080A16 #181E41 #28336E #38489B #5162C0
Accessibility & contrast
On white
11.74
#28336E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.79
#28336E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #28336E
11.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##28336E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##28336E | 1.00 | 11.74 | 1.79 | 11.74 |
| #FFFFFF | 11.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#123B70
Deuteranopia (green-blind)
#02356D
Tritanopia (blue-blind)
#00414B
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #28336e; /* rgb */ color: rgb(40, 51, 110); /* oklch */ color: oklch(34.6% 0.103 272.1);
Tailwind
colors: {
custom: {
50: '#696a98',
500: '#28336e',
950: '#000000',
},
}SCSS
$custom: #28336e; $custom-light: #696a98; $custom-dark: #000000;
JSON
{
"hex": "#28336e",
"rgb": {
"r": 40,
"g": 51,
"b": 110
},
"hsl": {
"h": 230.571,
"s": 46.667,
"l": 29.412
},
"oklch": {
"l": 0.34628,
"c": 0.10256,
"h": 272.1
},
"luminance": 0.03945
}Semantic roles & 50–950 ramp
primary
#28336E
secondary
#A09451
accent
#C151D6
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E