#281C9E#281C9E
#281C9E is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.5% C 0.194 H 274.3°. Best body text is #FFFFFF at 12.00:1 contrast (WCAG AA passes).
Color values
| HEX | #281C9E |
|---|---|
| RGB | rgb(40, 28, 158) |
| HSL | hsl(246, 70%, 36%) |
| HSV | hsv(246, 82%, 62%) |
| CMYK | cmyk(74.7%, 82.3%, 0%, 38%) |
| CIE-LAB | lab(22.83, 46.72, -66.96) |
| CIE-LCH | lch(22.83, 81.65, 304.91°) |
| OKLab | oklab(35.54% 0.0145 -0.1936) |
| OKLCH | oklch(35.54% 0.194 274.3) |
| XYZ | xyz(7.4598, 3.7495, 32.6717) |
| Luminance | 0.0375 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.72
Cobalt Blue
#030AA7
ΔE00 3.15
Indigo Blue
#3A18B1
ΔE00 3.33
Royal Blue (survey)
#0504AA
ΔE00 3.61
Ultramarine
#2000B1
ΔE00 3.82
Darkblue
#00008B
ΔE00 5.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#281C9E #929E1C
analogous
#1C519E #281C9E #691C9E
triadic
#281C9E #9E281C #1C9E28
tetradic
#281C9E #9E1C51 #929E1C #1C9E69
square
#281C9E #9E1C51 #929E1C #1C9E69
split-complementary
#281C9E #9E691C #519E1C
monochromatic
#0E0A36 #1B136A #281C9E #3525D2 #6154E1
Accessibility & contrast
On white
12.00
#281C9E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.75
#281C9E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #281C9E
12.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##281C9E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##281C9E | 1.00 | 12.00 | 1.75 | 12.00 |
| #FFFFFF | 12.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003CA2
Deuteranopia (green-blind)
#00309C
Tritanopia (blue-blind)
#00455E
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #281c9e; /* rgb */ color: rgb(40, 28, 158); /* oklch */ color: oklch(35.5% 0.194 274.3);
Tailwind
colors: {
custom: {
50: '#775cbc',
500: '#281c9e',
950: '#000000',
},
}SCSS
$custom: #281c9e; $custom-light: #775cbc; $custom-dark: #000000;
JSON
{
"hex": "#281c9e",
"rgb": {
"r": 40,
"g": 28,
"b": 158
},
"hsl": {
"h": 245.538,
"s": 69.892,
"l": 36.471
},
"oklch": {
"l": 0.35539,
"c": 0.19418,
"h": 274.3
},
"luminance": 0.0375
}Semantic roles & 50–950 ramp
primary
#281C9E
secondary
#B9C452
accent
#ED3BDC
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981