#282199#282199
#282199 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.6% C 0.184 H 274.3°. Best body text is #FFFFFF at 11.88:1 contrast (WCAG AA passes).
Color values
| HEX | #282199 |
|---|---|
| RGB | rgb(40, 33, 153) |
| HSL | hsl(244, 65%, 36%) |
| HSV | hsv(244, 78%, 60%) |
| CMYK | cmyk(73.9%, 78.4%, 0%, 40%) |
| CIE-LAB | lab(23.13, 42.58, -63.39) |
| CIE-LCH | lch(23.13, 76.36, 303.89°) |
| OKLab | oklab(35.58% 0.0137 -0.1834) |
| OKLCH | oklch(35.58% 0.184 274.3) |
| XYZ | xyz(7.1668, 3.8380, 30.4939) |
| Luminance | 0.0384 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.85
Indigo Blue
#3A18B1
ΔE00 4.21
Cobalt Blue
#030AA7
ΔE00 4.22
Royal Blue (survey)
#0504AA
ΔE00 4.75
Ultramarine
#2000B1
ΔE00 5.07
Darkblue
#00008B
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#282199 #929921
analogous
#215699 #282199 #642199
triadic
#282199 #992821 #219928
tetradic
#282199 #992156 #929921 #219964
square
#282199 #992156 #929921 #219964
split-complementary
#282199 #996421 #569921
monochromatic
#0E0B34 #1B1667 #282199 #352CCB #6159DB
Accessibility & contrast
On white
11.88
#282199 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.77
#282199 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #282199
11.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##282199 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##282199 | 1.00 | 11.88 | 1.77 | 11.88 |
| #FFFFFF | 11.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003D9C
Deuteranopia (green-blind)
#003197
Tritanopia (blue-blind)
#00455C
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #282199; /* rgb */ color: rgb(40, 33, 153); /* oklch */ color: oklch(35.6% 0.184 274.3);
Tailwind
colors: {
custom: {
50: '#755fb8',
500: '#282199',
950: '#000000',
},
}SCSS
$custom: #282199; $custom-light: #755fb8; $custom-dark: #000000;
JSON
{
"hex": "#282199",
"rgb": {
"r": 40,
"g": 33,
"b": 153
},
"hsl": {
"h": 243.5,
"s": 64.516,
"l": 36.471
},
"oklch": {
"l": 0.35582,
"c": 0.18386,
"h": 274.3
},
"luminance": 0.03839
}Semantic roles & 50–950 ramp
primary
#282199
secondary
#B9BF56
accent
#E840DE
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0512
muted
#7C7981