#281E9E#281E9E
#281E9E is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.8% C 0.193 H 274.1°. Best body text is #FFFFFF at 11.87:1 contrast (WCAG AA passes).
Color values
| HEX | #281E9E |
|---|---|
| RGB | rgb(40, 30, 158) |
| HSL | hsl(245, 68%, 37%) |
| HSV | hsv(245, 81%, 62%) |
| CMYK | cmyk(74.7%, 81%, 0%, 38%) |
| CIE-LAB | lab(23.16, 45.75, -66.40) |
| CIE-LCH | lch(23.16, 80.63, 304.57°) |
| OKLab | oklab(35.77% 0.0137 -0.192) |
| OKLCH | oklch(35.77% 0.193 274.1) |
| XYZ | xyz(7.5089, 3.8475, 32.6880) |
| Luminance | 0.0385 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.85
Indigo Blue
#3A18B1
ΔE00 3.41
Cobalt Blue
#030AA7
ΔE00 3.46
Royal Blue (survey)
#0504AA
ΔE00 3.94
Ultramarine
#2000B1
ΔE00 4.14
True Blue
#010FCC
ΔE00 5.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#281E9E #949E1E
analogous
#1E549E #281E9E #681E9E
triadic
#281E9E #9E281E #1E9E28
tetradic
#281E9E #9E1E54 #949E1E #1E9E68
square
#281E9E #9E1E54 #949E1E #1E9E68
split-complementary
#281E9E #9E681E #549E1E
monochromatic
#0E0A37 #1B146B #281E9E #3528D1 #6257DF
Accessibility & contrast
On white
11.87
#281E9E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.77
#281E9E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #281E9E
11.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##281E9E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##281E9E | 1.00 | 11.87 | 1.77 | 11.87 |
| #FFFFFF | 11.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003DA2
Deuteranopia (green-blind)
#00319C
Tritanopia (blue-blind)
#00465E
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #281e9e; /* rgb */ color: rgb(40, 30, 158); /* oklch */ color: oklch(35.8% 0.193 274.1);
Tailwind
colors: {
custom: {
50: '#765dbc',
500: '#281e9e',
950: '#000000',
},
}SCSS
$custom: #281e9e; $custom-light: #765dbc; $custom-dark: #000000;
JSON
{
"hex": "#281e9e",
"rgb": {
"r": 40,
"g": 30,
"b": 158
},
"hsl": {
"h": 244.688,
"s": 68.085,
"l": 36.863
},
"oklch": {
"l": 0.35772,
"c": 0.19254,
"h": 274.1
},
"luminance": 0.03848
}Semantic roles & 50–950 ramp
primary
#281E9E
secondary
#BAC355
accent
#EB3DDD
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981