#281C99#281C99
#281C99 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 35.0% C 0.188 H 274.8°. Best body text is #FFFFFF at 12.23:1 contrast (WCAG AA passes).
Color values
| HEX | #281C99 |
|---|---|
| RGB | rgb(40, 28, 153) |
| HSL | hsl(246, 69%, 35%) |
| HSV | hsv(246, 82%, 60%) |
| CMYK | cmyk(73.9%, 81.7%, 0%, 40%) |
| CIE-LAB | lab(22.23, 45.16, -64.87) |
| CIE-LCH | lch(22.23, 79.04, 304.85°) |
| OKLab | oklab(34.96% 0.0158 -0.1876) |
| OKLCH | oklch(34.96% 0.188 274.8) |
| XYZ | xyz(7.0382, 3.5808, 30.4511) |
| Luminance | 0.0358 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.33
Cobalt Blue
#030AA7
ΔE00 3.40
Royal Blue (survey)
#0504AA
ΔE00 3.90
Indigo Blue
#3A18B1
ΔE00 3.93
Ultramarine
#2000B1
ΔE00 4.27
Darkblue
#00008B
ΔE00 5.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#281C99 #8D991C
analogous
#1C4E99 #281C99 #661C99
triadic
#281C99 #99281C #1C9928
tetradic
#281C99 #991C4E #8D991C #1C9966
square
#281C99 #991C4E #8D991C #1C9966
split-complementary
#281C99 #99661C #4E991C
monochromatic
#0D0932 #1A1365 #281C99 #3625CD #5E50DF
Accessibility & contrast
On white
12.23
#281C99 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.72
#281C99 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #281C99
12.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##281C99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##281C99 | 1.00 | 12.23 | 1.72 | 12.23 |
| #FFFFFF | 12.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B9C
Deuteranopia (green-blind)
#002F97
Tritanopia (blue-blind)
#00435B
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #281c99; /* rgb */ color: rgb(40, 28, 153); /* oklch */ color: oklch(35.0% 0.188 274.8);
Tailwind
colors: {
custom: {
50: '#755cb8',
500: '#281c99',
950: '#000000',
},
}SCSS
$custom: #281c99; $custom-light: #755cb8; $custom-dark: #000000;
JSON
{
"hex": "#281c99",
"rgb": {
"r": 40,
"g": 28,
"b": 153
},
"hsl": {
"h": 245.76,
"s": 69.061,
"l": 35.49
},
"oklch": {
"l": 0.34958,
"c": 0.18824,
"h": 274.8
},
"luminance": 0.03582
}Semantic roles & 50–950 ramp
primary
#281C99
secondary
#B7C24F
accent
#EC3CDB
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0412
muted
#7C7981