#281C9F#281C9F
#281C9F is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.7% C 0.195 H 274.2°. Best body text is #FFFFFF at 11.95:1 contrast (WCAG AA passes).
Color values
| HEX | #281C9F |
|---|---|
| RGB | rgb(40, 28, 159) |
| HSL | hsl(245, 70%, 37%) |
| HSV | hsv(245, 82%, 62%) |
| CMYK | cmyk(74.8%, 82.4%, 0%, 37.6%) |
| CIE-LAB | lab(22.94, 47.04, -67.37) |
| CIE-LCH | lch(22.94, 82.16, 304.92°) |
| OKLab | oklab(35.66% 0.0142 -0.1948) |
| OKLCH | oklch(35.66% 0.195 274.2) |
| XYZ | xyz(7.5463, 3.7841, 33.1269) |
| Luminance | 0.0379 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.81
Cobalt Blue
#030AA7
ΔE00 3.12
Indigo Blue
#3A18B1
ΔE00 3.21
Royal Blue (survey)
#0504AA
ΔE00 3.57
Ultramarine
#2000B1
ΔE00 3.74
True Blue
#010FCC
ΔE00 5.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#281C9F #939F1C
analogous
#1C529F #281C9F #6A1C9F
triadic
#281C9F #9F281C #1C9F28
tetradic
#281C9F #9F1C52 #939F1C #1C9F6A
square
#281C9F #9F1C52 #939F1C #1C9F6A
split-complementary
#281C9F #9F6A1C #529F1C
monochromatic
#0E0A37 #1B136B #281C9F #3525D3 #6154E1
Accessibility & contrast
On white
11.95
#281C9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.76
#281C9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #281C9F
11.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##281C9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##281C9F | 1.00 | 11.95 | 1.76 | 11.95 |
| #FFFFFF | 11.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003DA3
Deuteranopia (green-blind)
#00319D
Tritanopia (blue-blind)
#00455F
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #281c9f; /* rgb */ color: rgb(40, 28, 159); /* oklch */ color: oklch(35.7% 0.195 274.2);
Tailwind
colors: {
custom: {
50: '#775cbd',
500: '#281c9f',
950: '#000000',
},
}SCSS
$custom: #281c9f; $custom-light: #775cbd; $custom-dark: #000000;
JSON
{
"hex": "#281c9f",
"rgb": {
"r": 40,
"g": 28,
"b": 159
},
"hsl": {
"h": 245.496,
"s": 70.053,
"l": 36.667
},
"oklch": {
"l": 0.35656,
"c": 0.19536,
"h": 274.2
},
"luminance": 0.03785
}Semantic roles & 50–950 ramp
primary
#281C9F
secondary
#BAC453
accent
#ED3BDD
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981