#281A79#281A79
#281A79 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.1% C 0.151 H 279.7°. Best body text is #FFFFFF at 13.87:1 contrast (WCAG AA passes).
Color values
| HEX | #281A79 |
|---|---|
| RGB | rgb(40, 26, 121) |
| HSL | hsl(249, 65%, 29%) |
| HSV | hsv(249, 79%, 47%) |
| CMYK | cmyk(66.9%, 78.5%, 0%, 52.5%) |
| CIE-LAB | lab(18.23, 35.90, -51.42) |
| CIE-LCH | lch(18.23, 62.71, 304.92°) |
| OKLab | oklab(31.09% 0.0254 -0.1484) |
| OKLCH | oklch(31.09% 0.151 279.7) |
| XYZ | xyz(4.6946, 2.5700, 18.3341) |
| Luminance | 0.0257 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.33
Royal
#0C1793
ΔE00 4.42
Indigo (survey)
#380282
ΔE00 4.72
Dark Royal Blue
#02066F
ΔE00 4.89
Deep Blue
#040273
ΔE00 5.19
Navy
#000080
ΔE00 5.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#281A79 #6B791A
analogous
#1A3C79 #281A79 #581A79
triadic
#281A79 #79281A #1A7928
tetradic
#281A79 #791A3C #6B791A #1A7958
square
#281A79 #791A3C #6B791A #1A7958
split-complementary
#281A79 #79581A #3C791A
monochromatic
#080519 #170F47 #281A79 #3925AB #5039D4
Accessibility & contrast
On white
13.87
#281A79 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.51
#281A79 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #281A79
13.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##281A79 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##281A79 | 1.00 | 13.87 | 1.51 | 13.87 |
| #FFFFFF | 13.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00307C
Deuteranopia (green-blind)
#002977
Tritanopia (blue-blind)
#003548
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #281a79; /* rgb */ color: rgb(40, 26, 121); /* oklch */ color: oklch(31.1% 0.151 279.7);
Tailwind
colors: {
custom: {
50: '#6e59a1',
500: '#281a79',
950: '#000000',
},
}SCSS
$custom: #281a79; $custom-light: #6e59a1; $custom-dark: #000000;
JSON
{
"hex": "#281a79",
"rgb": {
"r": 40,
"g": 26,
"b": 121
},
"hsl": {
"h": 248.842,
"s": 64.626,
"l": 28.824
},
"oklch": {
"l": 0.31089,
"c": 0.15059,
"h": 279.7
},
"luminance": 0.0257
}Semantic roles & 50–950 ramp
primary
#281A79
secondary
#9DAD41
accent
#E840CF
background
#F7F5FA
surface
#EDE9F3
border
#C8C5CD
text
#08030F
muted
#7B787F