#281B9E#281B9E
#281B9E is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.4% C 0.195 H 274.4°. Best body text is #FFFFFF at 12.06:1 contrast (WCAG AA passes).
Color values
| HEX | #281B9E |
|---|---|
| RGB | rgb(40, 27, 158) |
| HSL | hsl(246, 71%, 36%) |
| HSV | hsv(246, 83%, 62%) |
| CMYK | cmyk(74.7%, 82.9%, 0%, 38%) |
| CIE-LAB | lab(22.66, 47.20, -67.22) |
| CIE-LCH | lch(22.66, 82.14, 305.07°) |
| OKLab | oklab(35.43% 0.0148 -0.1944) |
| OKLCH | oklch(35.43% 0.195 274.4) |
| XYZ | xyz(7.4365, 3.7029, 32.6639) |
| Luminance | 0.0370 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.67
Cobalt Blue
#030AA7
ΔE00 3.01
Indigo Blue
#3A18B1
ΔE00 3.30
Royal Blue (survey)
#0504AA
ΔE00 3.46
Ultramarine
#2000B1
ΔE00 3.68
Darkblue
#00008B
ΔE00 5.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#281B9E #919E1B
analogous
#1B509E #281B9E #6A1B9E
triadic
#281B9E #9E281B #1B9E28
tetradic
#281B9E #9E1B50 #919E1B #1B9E6A
square
#281B9E #9E1B50 #919E1B #1B9E6A
split-complementary
#281B9E #9E6A1B #509E1B
monochromatic
#0E0935 #1B126A #281B9E #3524D2 #6052E1
Accessibility & contrast
On white
12.06
#281B9E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.74
#281B9E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #281B9E
12.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##281B9E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##281B9E | 1.00 | 12.06 | 1.74 | 12.06 |
| #FFFFFF | 12.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.06 | 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: #281b9e; /* rgb */ color: rgb(40, 27, 158); /* oklch */ color: oklch(35.4% 0.195 274.4);
Tailwind
colors: {
custom: {
50: '#775cbc',
500: '#281b9e',
950: '#000000',
},
}SCSS
$custom: #281b9e; $custom-light: #775cbc; $custom-dark: #000000;
JSON
{
"hex": "#281b9e",
"rgb": {
"r": 40,
"g": 27,
"b": 158
},
"hsl": {
"h": 245.954,
"s": 70.811,
"l": 36.275
},
"oklch": {
"l": 0.35428,
"c": 0.19496,
"h": 274.4
},
"luminance": 0.03704
}Semantic roles & 50–950 ramp
primary
#281B9E
secondary
#B9C451
accent
#EE3ADC
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981