#281C79#281C79
#281C79 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.4% C 0.148 H 279.3°. Best body text is #FFFFFF at 13.70:1 contrast (WCAG AA passes).
Color values
| HEX | #281C79 |
|---|---|
| RGB | rgb(40, 28, 121) |
| HSL | hsl(248, 62%, 29%) |
| HSV | hsv(248, 77%, 47%) |
| CMYK | cmyk(66.9%, 76.9%, 0%, 52.5%) |
| CIE-LAB | lab(18.63, 34.76, -50.76) |
| CIE-LCH | lch(18.63, 61.52, 304.40°) |
| OKLab | oklab(31.37% 0.0241 -0.1465) |
| OKLCH | oklch(31.37% 0.148 279.3) |
| XYZ | xyz(4.7404, 2.6617, 18.3494) |
| Luminance | 0.0266 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.27
Royal
#0C1793
ΔE00 4.52
Indigo (survey)
#380282
ΔE00 5.16
Dark Royal Blue
#02066F
ΔE00 5.25
Deep Blue
#040273
ΔE00 5.59
Navy
#000080
ΔE00 5.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#281C79 #6D791C
analogous
#1C3F79 #281C79 #571C79
triadic
#281C79 #79281C #1C7928
tetradic
#281C79 #791C3F #6D791C #1C7957
square
#281C79 #791C3F #6D791C #1C7957
split-complementary
#281C79 #79571C #3F791C
monochromatic
#080619 #181047 #281C79 #3828AB #503DD2
Accessibility & contrast
On white
13.70
#281C79 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.53
#281C79 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #281C79
13.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##281C79 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##281C79 | 1.00 | 13.70 | 1.53 | 13.70 |
| #FFFFFF | 13.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00317C
Deuteranopia (green-blind)
#002A77
Tritanopia (blue-blind)
#003649
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #281c79; /* rgb */ color: rgb(40, 28, 121); /* oklch */ color: oklch(31.4% 0.148 279.3);
Tailwind
colors: {
custom: {
50: '#6e5aa1',
500: '#281c79',
950: '#000000',
},
}SCSS
$custom: #281c79; $custom-light: #6e5aa1; $custom-dark: #000000;
JSON
{
"hex": "#281c79",
"rgb": {
"r": 40,
"g": 28,
"b": 121
},
"hsl": {
"h": 247.742,
"s": 62.416,
"l": 29.216
},
"oklch": {
"l": 0.31373,
"c": 0.14848,
"h": 279.3
},
"luminance": 0.02662
}Semantic roles & 50–950 ramp
primary
#281C79
secondary
#9FAD44
accent
#E542D0
background
#F7F5FA
surface
#EDE9F3
border
#C8C5CD
text
#08040F
muted
#7B797F