#282C97#282C97
#282C97 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.0% C 0.170 H 272.8°. Best body text is #FFFFFF at 11.07:1 contrast (WCAG AA passes).
Color values
| HEX | #282C97 |
|---|---|
| RGB | rgb(40, 44, 151) |
| HSL | hsl(238, 58%, 37%) |
| HSV | hsv(238, 74%, 59%) |
| CMYK | cmyk(73.5%, 70.9%, 0%, 40.8%) |
| CIE-LAB | lab(25.22, 35.45, -58.72) |
| CIE-LCH | lch(25.22, 68.59, 301.12°) |
| OKLab | oklab(37% 0.0084 -0.1698) |
| OKLCH | oklch(37% 0.17 272.8) |
| XYZ | xyz(7.3598, 4.4861, 29.7502) |
| Luminance | 0.0449 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.29
Royal
#0C1793
ΔE00 5.08
Indigo Blue
#3A18B1
ΔE00 6.09
Blueberry
#464196
ΔE00 6.72
Cobalt Blue
#030AA7
ΔE00 6.80
Darkslateblue
#483D8B
ΔE00 6.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#282C97 #979328
analogous
#286397 #282C97 #5C2897
triadic
#282C97 #97282C #2C9728
tetradic
#282C97 #972863 #979328 #28975C
square
#282C97 #972863 #979328 #28975C
split-complementary
#282C97 #975C28 #639728
monochromatic
#0E1036 #1B1E67 #282C97 #353AC7 #6468D6
Accessibility & contrast
On white
11.07
#282C97 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.90
#282C97 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #282C97
11.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##282C97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##282C97 | 1.00 | 11.07 | 1.90 | 11.07 |
| #FFFFFF | 11.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00419A
Deuteranopia (green-blind)
#003795
Tritanopia (blue-blind)
#00495E
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #282c97; /* rgb */ color: rgb(40, 44, 151); /* oklch */ color: oklch(37.0% 0.170 272.8);
Tailwind
colors: {
custom: {
50: '#7366b7',
500: '#282c97',
950: '#000000',
},
}SCSS
$custom: #282c97; $custom-light: #7366b7; $custom-dark: #000000;
JSON
{
"hex": "#282c97",
"rgb": {
"r": 40,
"g": 44,
"b": 151
},
"hsl": {
"h": 237.838,
"s": 58.115,
"l": 37.451
},
"oklch": {
"l": 0.37005,
"c": 0.17002,
"h": 272.8
},
"luminance": 0.04487
}Semantic roles & 50–950 ramp
primary
#282C97
secondary
#BCB85F
accent
#DC46E1
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80