#28349C#28349C
#28349C is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.9% C 0.167 H 271.0°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).
Color values
| HEX | #28349C |
|---|---|
| RGB | rgb(40, 52, 156) |
| HSL | hsl(234, 59%, 38%) |
| HSV | hsv(234, 74%, 61%) |
| CMYK | cmyk(74.4%, 66.7%, 0%, 38.8%) |
| CIE-LAB | lab(27.59, 32.16, -57.88) |
| CIE-LCH | lch(27.59, 66.21, 299.06°) |
| OKLab | oklab(38.87% 0.0029 -0.1673) |
| OKLCH | oklch(38.87% 0.167 271) |
| XYZ | xyz(8.1018, 5.3066, 32.0433) |
| Luminance | 0.0531 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.36
Blueberry
#464196
ΔE00 5.33
Darkslateblue
#483D8B
ΔE00 6.16
Blue Blue
#2242C7
ΔE00 6.82
Ocean Blue
#4F42B5
ΔE00 6.95
Royal
#0C1793
ΔE00 7.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#28349C #9C9028
analogous
#286E9C #28349C #56289C
triadic
#28349C #9C2834 #349C28
tetradic
#28349C #9C286E #9C9028 #289C56
square
#28349C #9C286E #9C9028 #289C56
split-complementary
#28349C #9C5628 #6E9C28
monochromatic
#0F143B #1C246B #28349C #3645CB #6772D8
Accessibility & contrast
On white
10.19
#28349C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.06
#28349C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #28349C
10.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##28349C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##28349C | 1.00 | 10.19 | 2.06 | 10.19 |
| #FFFFFF | 10.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00479F
Deuteranopia (green-blind)
#003C9A
Tritanopia (blue-blind)
#005063
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #28349c; /* rgb */ color: rgb(40, 52, 156); /* oklch */ color: oklch(38.9% 0.167 271.0);
Tailwind
colors: {
custom: {
50: '#746bba',
500: '#28349c',
950: '#000000',
},
}SCSS
$custom: #28349c; $custom-light: #746bba; $custom-dark: #000000;
JSON
{
"hex": "#28349c",
"rgb": {
"r": 40,
"g": 52,
"b": 156
},
"hsl": {
"h": 233.793,
"s": 59.184,
"l": 38.431
},
"oklch": {
"l": 0.38873,
"c": 0.16735,
"h": 271
},
"luminance": 0.05307
}Semantic roles & 50–950 ramp
primary
#28349C
secondary
#BEB462
accent
#D245E2
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090612
muted
#7B7A81