#28276F#28276F
#28276F is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.2% C 0.121 H 277.8°. Best body text is #FFFFFF at 13.04:1 contrast (WCAG AA passes).
Color values
| HEX | #28276F |
|---|---|
| RGB | rgb(40, 39, 111) |
| HSL | hsl(241, 48%, 29%) |
| HSV | hsv(241, 65%, 44%) |
| CMYK | cmyk(64%, 64.9%, 0%, 56.5%) |
| CIE-LAB | lab(20.24, 24.25, -41.69) |
| CIE-LCH | lch(20.24, 48.23, 300.19°) |
| OKLab | oklab(32.24% 0.0164 -0.12) |
| OKLCH | oklch(32.24% 0.121 277.8) |
| XYZ | xyz(4.4689, 3.0495, 15.3890) |
| Luminance | 0.0305 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 4.22
Royal
#0C1793
ΔE00 7.70
Marine
#042E60
ΔE00 7.76
Darkslateblue
#483D8B
ΔE00 7.84
Dark Indigo
#1F0954
ΔE00 8.22
Darkblue (survey)
#030764
ΔE00 8.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#28276F #6E6F27
analogous
#274A6F #28276F #4C276F
triadic
#28276F #6F2827 #276F28
tetradic
#28276F #6F274A #6E6F27 #276F4C
square
#28276F #6F274A #6E6F27 #276F4C
split-complementary
#28276F #6F4C27 #4A6F27
monochromatic
#080817 #181742 #28276F #38379C #514FC1
Accessibility & contrast
On white
13.04
#28276F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.61
#28276F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #28276F
13.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##28276F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##28276F | 1.00 | 13.04 | 1.61 | 13.04 |
| #FFFFFF | 13.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003471
Deuteranopia (green-blind)
#002E6E
Tritanopia (blue-blind)
#003947
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #28276f; /* rgb */ color: rgb(40, 39, 111); /* oklch */ color: oklch(32.2% 0.121 277.8);
Tailwind
colors: {
custom: {
50: '#6b6199',
500: '#28276f',
950: '#000000',
},
}SCSS
$custom: #28276f; $custom-light: #6b6199; $custom-dark: #000000;
JSON
{
"hex": "#28276f",
"rgb": {
"r": 40,
"g": 39,
"b": 111
},
"hsl": {
"h": 240.833,
"s": 48,
"l": 29.412
},
"oklch": {
"l": 0.32235,
"c": 0.12108,
"h": 277.8
},
"luminance": 0.0305
}Semantic roles & 50–950 ramp
primary
#28276F
secondary
#A0A250
accent
#D850D6
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07050E
muted
#7A797E