#28339C#28339C
#28339C is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.7% C 0.169 H 271.2°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).
Color values
| HEX | #28339C |
|---|---|
| RGB | rgb(40, 51, 156) |
| HSL | hsl(234, 59%, 38%) |
| HSV | hsv(234, 74%, 61%) |
| CMYK | cmyk(74.4%, 67.3%, 0%, 38.8%) |
| CIE-LAB | lab(27.35, 32.80, -58.27) |
| CIE-LCH | lch(27.35, 66.87, 299.38°) |
| OKLab | oklab(38.7% 0.0035 -0.1685) |
| OKLCH | oklch(38.7% 0.169 271.2) |
| XYZ | xyz(8.0576, 5.2182, 32.0286) |
| Luminance | 0.0522 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.50
Blueberry
#464196
ΔE00 5.49
Darkslateblue
#483D8B
ΔE00 6.24
Blue Blue
#2242C7
ΔE00 6.97
Royal
#0C1793
ΔE00 6.98
Ocean Blue
#4F42B5
ΔE00 7.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#28339C #9C9128
analogous
#286D9C #28339C #57289C
triadic
#28339C #9C2833 #339C28
tetradic
#28339C #9C286D #9C9128 #289C57
square
#28339C #9C286D #9C9128 #289C57
split-complementary
#28339C #9C5728 #6D9C28
monochromatic
#0F133B #1C236B #28339C #3644CB #6771D8
Accessibility & contrast
On white
10.27
#28339C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.04
#28339C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #28339C
10.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##28339C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##28339C | 1.00 | 10.27 | 2.04 | 10.27 |
| #FFFFFF | 10.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00469F
Deuteranopia (green-blind)
#003B9A
Tritanopia (blue-blind)
#004F63
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #28339c; /* rgb */ color: rgb(40, 51, 156); /* oklch */ color: oklch(38.7% 0.169 271.2);
Tailwind
colors: {
custom: {
50: '#746bba',
500: '#28339c',
950: '#000000',
},
}SCSS
$custom: #28339c; $custom-light: #746bba; $custom-dark: #000000;
JSON
{
"hex": "#28339c",
"rgb": {
"r": 40,
"g": 51,
"b": 156
},
"hsl": {
"h": 234.31,
"s": 59.184,
"l": 38.431
},
"oklch": {
"l": 0.38696,
"c": 0.16854,
"h": 271.2
},
"luminance": 0.05219
}Semantic roles & 50–950 ramp
primary
#28339C
secondary
#BEB562
accent
#D345E2
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090612
muted
#7B7A81