#281B99#281B99
#281B99 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.8% C 0.189 H 274.9°. Best body text is #FFFFFF at 12.30:1 contrast (WCAG AA passes).
Color values
| HEX | #281B99 |
|---|---|
| RGB | rgb(40, 27, 153) |
| HSL | hsl(246, 70%, 35%) |
| HSV | hsv(246, 82%, 60%) |
| CMYK | cmyk(73.9%, 82.4%, 0%, 40%) |
| CIE-LAB | lab(22.07, 45.65, -65.15) |
| CIE-LCH | lch(22.07, 79.55, 305.02°) |
| OKLab | oklab(34.84% 0.0162 -0.1884) |
| OKLCH | oklch(34.84% 0.189 274.9) |
| XYZ | xyz(7.0149, 3.5342, 30.4433) |
| Luminance | 0.0353 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.27
Cobalt Blue
#030AA7
ΔE00 3.27
Royal Blue (survey)
#0504AA
ΔE00 3.76
Indigo Blue
#3A18B1
ΔE00 3.90
Ultramarine
#2000B1
ΔE00 4.14
Darkblue
#00008B
ΔE00 5.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#281B99 #8C991B
analogous
#1B4D99 #281B99 #671B99
triadic
#281B99 #99281B #1B9928
tetradic
#281B99 #991B4D #8C991B #1B9967
square
#281B99 #991B4D #8C991B #1B9967
split-complementary
#281B99 #99671B #4D991B
monochromatic
#0D0931 #1A1265 #281B99 #3624CD #5E4FE0
Accessibility & contrast
On white
12.30
#281B99 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.71
#281B99 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #281B99
12.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##281B99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##281B99 | 1.00 | 12.30 | 1.71 | 12.30 |
| #FFFFFF | 12.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003A9C
Deuteranopia (green-blind)
#002F97
Tritanopia (blue-blind)
#00435B
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #281b99; /* rgb */ color: rgb(40, 27, 153); /* oklch */ color: oklch(34.8% 0.189 274.9);
Tailwind
colors: {
custom: {
50: '#765cb8',
500: '#281b99',
950: '#000000',
},
}SCSS
$custom: #281b99; $custom-light: #765cb8; $custom-dark: #000000;
JSON
{
"hex": "#281b99",
"rgb": {
"r": 40,
"g": 27,
"b": 153
},
"hsl": {
"h": 246.19,
"s": 70,
"l": 35.294
},
"oklch": {
"l": 0.34842,
"c": 0.18906,
"h": 274.9
},
"luminance": 0.03535
}Semantic roles & 50–950 ramp
primary
#281B99
secondary
#B6C24E
accent
#ED3BDA
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0412
muted
#7C7981