#281A7B#281A7B
#281A7B is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.3% C 0.153 H 279.4°. Best body text is #FFFFFF at 13.78:1 contrast (WCAG AA passes).
Color values
| HEX | #281A7B |
|---|---|
| RGB | rgb(40, 26, 123) |
| HSL | hsl(249, 65%, 29%) |
| HSV | hsv(249, 79%, 48%) |
| CMYK | cmyk(67.5%, 78.9%, 0%, 51.8%) |
| CIE-LAB | lab(18.45, 36.56, -52.34) |
| CIE-LCH | lch(18.45, 63.84, 304.93°) |
| OKLab | oklab(31.31% 0.0249 -0.1511) |
| OKLCH | oklch(31.31% 0.153 279.4) |
| XYZ | xyz(4.8185, 2.6196, 18.9868) |
| Luminance | 0.0262 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.53
Royal
#0C1793
ΔE00 4.12
Indigo (survey)
#380282
ΔE00 4.60
Dark Royal Blue
#02066F
ΔE00 4.94
Deep Blue
#040273
ΔE00 5.19
Navy
#000080
ΔE00 5.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#281A7B #6D7B1A
analogous
#1A3D7B #281A7B #591A7B
triadic
#281A7B #7B281A #1A7B28
tetradic
#281A7B #7B1A3D #6D7B1A #1A7B59
square
#281A7B #7B1A3D #6D7B1A #1A7B59
split-complementary
#281A7B #7B591A #3D7B1A
monochromatic
#080519 #180F48 #281A7B #3825AE #503AD5
Accessibility & contrast
On white
13.78
#281A7B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.52
#281A7B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #281A7B
13.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##281A7B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##281A7B | 1.00 | 13.78 | 1.52 | 13.78 |
| #FFFFFF | 13.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00317E
Deuteranopia (green-blind)
#002979
Tritanopia (blue-blind)
#003649
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #281a7b; /* rgb */ color: rgb(40, 26, 123); /* oklch */ color: oklch(31.3% 0.153 279.4);
Tailwind
colors: {
custom: {
50: '#6f59a2',
500: '#281a7b',
950: '#000000',
},
}SCSS
$custom: #281a7b; $custom-light: #6f59a2; $custom-dark: #000000;
JSON
{
"hex": "#281a7b",
"rgb": {
"r": 40,
"g": 26,
"b": 123
},
"hsl": {
"h": 248.66,
"s": 65.101,
"l": 29.216
},
"oklch": {
"l": 0.31308,
"c": 0.15315,
"h": 279.4
},
"luminance": 0.0262
}Semantic roles & 50–950 ramp
primary
#281A7B
secondary
#9FAF42
accent
#E840D0
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F