#281C92#281C92
#281C92 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 34.2% C 0.180 H 275.6°. Best body text is #FFFFFF at 12.56:1 contrast (WCAG AA passes).
Color values
| HEX | #281C92 |
|---|---|
| RGB | rgb(40, 28, 146) |
| HSL | hsl(246, 68%, 34%) |
| HSV | hsv(246, 81%, 57%) |
| CMYK | cmyk(72.6%, 80.8%, 0%, 42.7%) |
| CIE-LAB | lab(21.42, 42.94, -61.90) |
| CIE-LCH | lch(21.42, 75.34, 304.75°) |
| OKLab | oklab(34.15% 0.0177 -0.179) |
| OKLCH | oklch(34.15% 0.18 275.6) |
| XYZ | xyz(6.4769, 3.3563, 27.4951) |
| Luminance | 0.0336 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.10
Cobalt Blue
#030AA7
ΔE00 3.98
Royal Blue (survey)
#0504AA
ΔE00 4.49
Indigo Blue
#3A18B1
ΔE00 4.82
Ultramarine
#2000B1
ΔE00 5.02
Darkblue
#00008B
ΔE00 5.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#281C92 #86921C
analogous
#1C4B92 #281C92 #631C92
triadic
#281C92 #92281C #1C9228
tetradic
#281C92 #921C4B #86921C #1C9263
square
#281C92 #921C4B #86921C #1C9263
split-complementary
#281C92 #92631C #4B921C
monochromatic
#0C082B #1A125F #281C92 #3626C5 #5B4CDD
Accessibility & contrast
On white
12.56
#281C92 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.67
#281C92 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #281C92
12.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##281C92 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##281C92 | 1.00 | 12.56 | 1.67 | 12.56 |
| #FFFFFF | 12.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003895
Deuteranopia (green-blind)
#002E90
Tritanopia (blue-blind)
#004057
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #281c92; /* rgb */ color: rgb(40, 28, 146); /* oklch */ color: oklch(34.2% 0.180 275.6);
Tailwind
colors: {
custom: {
50: '#745cb3',
500: '#281c92',
950: '#000000',
},
}SCSS
$custom: #281c92; $custom-light: #745cb3; $custom-dark: #000000;
JSON
{
"hex": "#281c92",
"rgb": {
"r": 40,
"g": 28,
"b": 146
},
"hsl": {
"h": 246.102,
"s": 67.816,
"l": 34.118
},
"oklch": {
"l": 0.34151,
"c": 0.17983,
"h": 275.6
},
"luminance": 0.03357
}Semantic roles & 50–950 ramp
primary
#281C92
secondary
#B3BF4B
accent
#EB3DD9
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980