#281E92#281E92
#281E92 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.4% C 0.178 H 275.4°. Best body text is #FFFFFF at 12.42:1 contrast (WCAG AA passes).
Color values
| HEX | #281E92 |
|---|---|
| RGB | rgb(40, 30, 146) |
| HSL | hsl(245, 66%, 35%) |
| HSV | hsv(245, 79%, 57%) |
| CMYK | cmyk(72.6%, 79.5%, 0%, 42.7%) |
| CIE-LAB | lab(21.78, 41.90, -61.30) |
| CIE-LCH | lch(21.78, 74.25, 304.35°) |
| OKLab | oklab(34.4% 0.0168 -0.1772) |
| OKLCH | oklch(34.4% 0.178 275.4) |
| XYZ | xyz(6.5259, 3.4544, 27.5114) |
| Luminance | 0.0345 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.29
Cobalt Blue
#030AA7
ΔE00 4.26
Royal Blue (survey)
#0504AA
ΔE00 4.79
Indigo Blue
#3A18B1
ΔE00 4.90
Ultramarine
#2000B1
ΔE00 5.29
Darkblue
#00008B
ΔE00 5.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#281E92 #88921E
analogous
#1E4E92 #281E92 #621E92
triadic
#281E92 #92281E #1E9228
tetradic
#281E92 #921E4E #88921E #1E9262
square
#281E92 #921E4E #88921E #1E9262
split-complementary
#281E92 #92621E #4E921E
monochromatic
#0C092C #1A145F #281E92 #3628C5 #5B4FDB
Accessibility & contrast
On white
12.42
#281E92 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.69
#281E92 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #281E92
12.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##281E92 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##281E92 | 1.00 | 12.42 | 1.69 | 12.42 |
| #FFFFFF | 12.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003995
Deuteranopia (green-blind)
#002F90
Tritanopia (blue-blind)
#004157
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #281e92; /* rgb */ color: rgb(40, 30, 146); /* oklch */ color: oklch(34.4% 0.178 275.4);
Tailwind
colors: {
custom: {
50: '#745db3',
500: '#281e92',
950: '#000000',
},
}SCSS
$custom: #281e92; $custom-light: #745db3; $custom-dark: #000000;
JSON
{
"hex": "#281e92",
"rgb": {
"r": 40,
"g": 30,
"b": 146
},
"hsl": {
"h": 245.172,
"s": 65.909,
"l": 34.51
},
"oklch": {
"l": 0.34403,
"c": 0.17804,
"h": 275.4
},
"luminance": 0.03455
}Semantic roles & 50–950 ramp
primary
#281E92
secondary
#B4BE4E
accent
#E93FDA
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090411
muted
#7B7980