#281BA1#281BA1
#281BA1 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.8% C 0.198 H 274.0°. Best body text is #FFFFFF at 11.92:1 contrast (WCAG AA passes).
Color values
| HEX | #281BA1 |
|---|---|
| RGB | rgb(40, 27, 161) |
| HSL | hsl(246, 71%, 37%) |
| HSV | hsv(246, 83%, 63%) |
| CMYK | cmyk(75.2%, 83.2%, 0%, 36.9%) |
| CIE-LAB | lab(23.02, 48.12, -68.46) |
| CIE-LCH | lch(23.02, 83.68, 305.10°) |
| OKLab | oklab(35.78% 0.014 -0.198) |
| OKLCH | oklch(35.78% 0.198 274) |
| XYZ | xyz(7.6979, 3.8074, 34.0405) |
| Luminance | 0.0381 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt Blue
#030AA7
ΔE00 2.93
Royal
#0C1793
ΔE00 2.96
Indigo Blue
#3A18B1
ΔE00 2.96
Royal Blue (survey)
#0504AA
ΔE00 3.35
Ultramarine
#2000B1
ΔE00 3.45
True Blue
#010FCC
ΔE00 5.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#281BA1 #94A11B
analogous
#1B51A1 #281BA1 #6B1BA1
triadic
#281BA1 #A1281B #1BA128
tetradic
#281BA1 #A11B51 #94A11B #1BA16B
square
#281BA1 #A11B51 #94A11B #1BA16B
split-complementary
#281BA1 #A16B1B #51A11B
monochromatic
#0E0938 #1B126D #281BA1 #3524D5 #6254E2
Accessibility & contrast
On white
11.92
#281BA1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.76
#281BA1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #281BA1
11.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##281BA1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##281BA1 | 1.00 | 11.92 | 1.76 | 11.92 |
| #FFFFFF | 11.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003DA5
Deuteranopia (green-blind)
#00319F
Tritanopia (blue-blind)
#004660
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #281ba1; /* rgb */ color: rgb(40, 27, 161); /* oklch */ color: oklch(35.8% 0.198 274.0);
Tailwind
colors: {
custom: {
50: '#775cbe',
500: '#281ba1',
950: '#000000',
},
}SCSS
$custom: #281ba1; $custom-light: #775cbe; $custom-dark: #000000;
JSON
{
"hex": "#281ba1",
"rgb": {
"r": 40,
"g": 27,
"b": 161
},
"hsl": {
"h": 245.821,
"s": 71.277,
"l": 36.863
},
"oklch": {
"l": 0.35781,
"c": 0.19846,
"h": 274
},
"luminance": 0.03808
}Semantic roles & 50–950 ramp
primary
#281BA1
secondary
#BAC552
accent
#EE3ADD
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0A0412
muted
#7C7981