#282099#282099
#282099 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.5% C 0.185 H 274.4°. Best body text is #FFFFFF at 11.95:1 contrast (WCAG AA passes).
Color values
| HEX | #282099 |
|---|---|
| RGB | rgb(40, 32, 153) |
| HSL | hsl(244, 65%, 36%) |
| HSV | hsv(244, 79%, 60%) |
| CMYK | cmyk(73.9%, 79.1%, 0%, 40%) |
| CIE-LAB | lab(22.94, 43.11, -63.70) |
| CIE-LCH | lch(22.94, 76.92, 304.09°) |
| OKLab | oklab(35.45% 0.0142 -0.1842) |
| OKLCH | oklch(35.45% 0.185 274.4) |
| XYZ | xyz(7.1394, 3.7833, 30.4848) |
| Luminance | 0.0378 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.72
Cobalt Blue
#030AA7
ΔE00 4.04
Indigo Blue
#3A18B1
ΔE00 4.13
Royal Blue (survey)
#0504AA
ΔE00 4.56
Ultramarine
#2000B1
ΔE00 4.89
Darkblue
#00008B
ΔE00 6.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#282099 #919920
analogous
#205599 #282099 #652099
triadic
#282099 #992820 #209928
tetradic
#282099 #992055 #919920 #209965
square
#282099 #992055 #919920 #209965
split-complementary
#282099 #996520 #559920
monochromatic
#0E0B34 #1B1566 #282099 #352BCC #6057DC
Accessibility & contrast
On white
11.95
#282099 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.76
#282099 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #282099
11.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##282099 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##282099 | 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)
#003C9C
Deuteranopia (green-blind)
#003197
Tritanopia (blue-blind)
#00455C
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #282099; /* rgb */ color: rgb(40, 32, 153); /* oklch */ color: oklch(35.5% 0.185 274.4);
Tailwind
colors: {
custom: {
50: '#755eb8',
500: '#282099',
950: '#000000',
},
}SCSS
$custom: #282099; $custom-light: #755eb8; $custom-dark: #000000;
JSON
{
"hex": "#282099",
"rgb": {
"r": 40,
"g": 32,
"b": 153
},
"hsl": {
"h": 243.967,
"s": 65.405,
"l": 36.275
},
"oklch": {
"l": 0.35451,
"c": 0.18478,
"h": 274.4
},
"luminance": 0.03784
}Semantic roles & 50–950 ramp
primary
#282099
secondary
#B9C055
accent
#E83FDD
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0412
muted
#7C7981