#282CBD#282CBD
#282CBD is a dark, highly saturated blue. Relative luminance 0.059; OKLCH L 41.0% C 0.217 H 270.6°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).
Color values
| HEX | #282CBD |
|---|---|
| RGB | rgb(40, 44, 189) |
| HSL | hsl(238, 65%, 45%) |
| HSV | hsv(238, 79%, 74%) |
| CMYK | cmyk(78.8%, 76.7%, 0%, 25.9%) |
| CIE-LAB | lab(29.22, 48.42, -74.98) |
| CIE-LCH | lch(29.22, 89.26, 302.85°) |
| OKLab | oklab(41.05% 0.0022 -0.2171) |
| OKLCH | oklch(41.05% 0.217 270.6) |
| XYZ | xyz(10.9579, 5.9254, 48.7004) |
| Luminance | 0.0593 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.35
Indigo Blue
#3A18B1
ΔE00 4.43
True Blue
#010FCC
ΔE00 4.66
Ultramarine Blue
#1805DB
ΔE00 5.41
Mediumblue
#0000CD
ΔE00 5.71
Pure Blue
#0203E2
ΔE00 5.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#282CBD #BDB928
analogous
#2877BD #282CBD #6E28BD
triadic
#282CBD #BD282C #2CBD28
tetradic
#282CBD #BD2877 #BDB928 #28BD6E
square
#282CBD #BD2877 #BDB928 #28BD6E
split-complementary
#282CBD #BD6E28 #77BD28
monochromatic
#131458 #1D208A #282CBD #4A4DD9 #7C7FE3
Accessibility & contrast
On white
9.61
#282CBD on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.19
#282CBD on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #282CBD
9.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##282CBD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##282CBD | 1.00 | 9.61 | 2.19 | 9.61 |
| #FFFFFF | 9.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004CC1
Deuteranopia (green-blind)
#003DBA
Tritanopia (blue-blind)
#005873
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #282cbd; /* rgb */ color: rgb(40, 44, 189); /* oklch */ color: oklch(41.0% 0.217 270.6);
Tailwind
colors: {
custom: {
50: '#7d67d2',
500: '#282cbd',
950: '#000000',
},
}SCSS
$custom: #282cbd; $custom-light: #7d67d2; $custom-dark: #000000;
JSON
{
"hex": "#282cbd",
"rgb": {
"r": 40,
"g": 44,
"b": 189
},
"hsl": {
"h": 238.389,
"s": 65.066,
"l": 44.902
},
"oklch": {
"l": 0.4105,
"c": 0.21715,
"h": 270.6
},
"luminance": 0.05927
}Semantic roles & 50–950 ramp
primary
#282CBD
secondary
#CBC975
accent
#E440E8
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83