#282C8F#282C8F
#282C8F is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.2% C 0.159 H 273.4°. Best body text is #FFFFFF at 11.37:1 contrast (WCAG AA passes).
Color values
| HEX | #282C8F |
|---|---|
| RGB | rgb(40, 44, 143) |
| HSL | hsl(238, 56%, 36%) |
| HSV | hsv(238, 72%, 56%) |
| CMYK | cmyk(72%, 69.2%, 0%, 43.9%) |
| CIE-LAB | lab(24.43, 32.59, -55.07) |
| CIE-LCH | lch(24.43, 63.99, 300.62°) |
| OKLab | oklab(36.2% 0.0094 -0.1592) |
| OKLCH | oklch(36.2% 0.159 273.4) |
| XYZ | xyz(6.7320, 4.2350, 26.4439) |
| Luminance | 0.0424 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 5.04
Royal
#0C1793
ΔE00 5.26
Midnight Blue
#191970
ΔE00 6.38
Darkslateblue
#483D8B
ΔE00 6.53
Blueberry
#464196
ΔE00 6.69
Indigo Blue
#3A18B1
ΔE00 7.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#282C8F #8F8B28
analogous
#285F8F #282C8F #57288F
triadic
#282C8F #8F282C #2C8F28
tetradic
#282C8F #8F285F #8F8B28 #288F57
square
#282C8F #8F285F #8F8B28 #288F57
split-complementary
#282C8F #8F5728 #5F8F28
monochromatic
#0D0F2F #1B1D5F #282C8F #353BBF #5F64D2
Accessibility & contrast
On white
11.37
#282C8F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.85
#282C8F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #282C8F
11.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##282C8F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##282C8F | 1.00 | 11.37 | 1.85 | 11.37 |
| #FFFFFF | 11.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F92
Deuteranopia (green-blind)
#00358D
Tritanopia (blue-blind)
#004759
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #282c8f; /* rgb */ color: rgb(40, 44, 143); /* oklch */ color: oklch(36.2% 0.159 273.4);
Tailwind
colors: {
custom: {
50: '#7265b1',
500: '#282c8f',
950: '#000000',
},
}SCSS
$custom: #282c8f; $custom-light: #7265b1; $custom-dark: #000000;
JSON
{
"hex": "#282c8f",
"rgb": {
"r": 40,
"g": 44,
"b": 143
},
"hsl": {
"h": 237.67,
"s": 56.284,
"l": 35.882
},
"oklch": {
"l": 0.36201,
"c": 0.15943,
"h": 273.4
},
"luminance": 0.04236
}Semantic roles & 50–950 ramp
primary
#282C8F
secondary
#B8B45B
accent
#DA48E0
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80