#281783#281783
#281783 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.8% C 0.166 H 278.4°. Best body text is #FFFFFF at 13.63:1 contrast (WCAG AA passes).
Color values
| HEX | #281783 |
|---|---|
| RGB | rgb(40, 23, 131) |
| HSL | hsl(249, 70%, 30%) |
| HSV | hsv(249, 82%, 51%) |
| CMYK | cmyk(69.5%, 82.4%, 0%, 48.6%) |
| CIE-LAB | lab(18.81, 40.70, -56.83) |
| CIE-LCH | lch(18.81, 69.90, 305.61°) |
| OKLab | oklab(31.83% 0.0243 -0.1641) |
| OKLCH | oklch(31.83% 0.166 278.4) |
| XYZ | xyz(5.2769, 2.7021, 21.7118) |
| Luminance | 0.0270 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.01
Midnight Blue
#191970
ΔE00 3.68
Indigo (survey)
#380282
ΔE00 3.78
Darkblue
#00008B
ΔE00 4.30
Navy
#000080
ΔE00 4.51
Deep Blue
#040273
ΔE00 4.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#281783 #728317
analogous
#173C83 #281783 #5E1783
triadic
#281783 #832817 #178328
tetradic
#281783 #83173C #728317 #17835E
square
#281783 #83173C #728317 #17835E
split-complementary
#281783 #835E17 #3C8317
monochromatic
#08051B #180E4F #281783 #3820B7 #5238DC
Accessibility & contrast
On white
13.63
#281783 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.54
#281783 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #281783
13.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##281783 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##281783 | 1.00 | 13.63 | 1.54 | 13.63 |
| #FFFFFF | 13.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003286
Deuteranopia (green-blind)
#002981
Tritanopia (blue-blind)
#00384D
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #281783; /* rgb */ color: rgb(40, 23, 131); /* oklch */ color: oklch(31.8% 0.166 278.4);
Tailwind
colors: {
custom: {
50: '#7158a8',
500: '#281783',
950: '#000000',
},
}SCSS
$custom: #281783; $custom-light: #7158a8; $custom-dark: #000000;
JSON
{
"hex": "#281783",
"rgb": {
"r": 40,
"g": 23,
"b": 131
},
"hsl": {
"h": 249.444,
"s": 70.13,
"l": 30.196
},
"oklch": {
"l": 0.31827,
"c": 0.16594,
"h": 278.4
},
"luminance": 0.02703
}Semantic roles & 50–950 ramp
primary
#281783
secondary
#A4B73F
accent
#ED3BD1
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F