#282C6F#282C6F
#282C6F is a dark, moderate blue. Relative luminance 0.034; OKLCH L 33.2% C 0.114 H 275.7°. Best body text is #FFFFFF at 12.50:1 contrast (WCAG AA passes).
Color values
| HEX | #282C6F |
|---|---|
| RGB | rgb(40, 44, 111) |
| HSL | hsl(237, 47%, 30%) |
| HSV | hsv(237, 64%, 44%) |
| CMYK | cmyk(64%, 60.4%, 0%, 56.5%) |
| CIE-LAB | lab(21.58, 20.81, -39.52) |
| CIE-LCH | lch(21.58, 44.67, 297.78°) |
| OKLab | oklab(33.22% 0.0113 -0.1135) |
| OKLCH | oklch(33.22% 0.114 275.7) |
| XYZ | xyz(4.6441, 3.3998, 15.4473) |
| Luminance | 0.0340 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.80
Marine
#042E60
ΔE00 6.54
Darkslateblue
#483D8B
ΔE00 7.25
Navy Blue
#1B2A4A
ΔE00 7.85
Blueberry
#464196
ΔE00 8.49
Marine Blue
#01386A
ΔE00 8.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#282C6F #6F6B28
analogous
#28506F #282C6F #48286F
triadic
#282C6F #6F282C #2C6F28
tetradic
#282C6F #6F2850 #6F6B28 #286F48
square
#282C6F #6F2850 #6F6B28 #286F48
split-complementary
#282C6F #6F4828 #506F28
monochromatic
#080916 #181A42 #282C6F #383E9C #5157C0
Accessibility & contrast
On white
12.50
#282C6F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.68
#282C6F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #282C6F
12.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##282C6F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##282C6F | 1.00 | 12.50 | 1.68 | 12.50 |
| #FFFFFF | 12.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003771
Deuteranopia (green-blind)
#00316E
Tritanopia (blue-blind)
#003C49
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #282c6f; /* rgb */ color: rgb(40, 44, 111); /* oklch */ color: oklch(33.2% 0.114 275.7);
Tailwind
colors: {
custom: {
50: '#6a6599',
500: '#282c6f',
950: '#000000',
},
}SCSS
$custom: #282c6f; $custom-light: #6a6599; $custom-dark: #000000;
JSON
{
"hex": "#282c6f",
"rgb": {
"r": 40,
"g": 44,
"b": 111
},
"hsl": {
"h": 236.62,
"s": 47.02,
"l": 29.608
},
"oklch": {
"l": 0.33223,
"c": 0.11409,
"h": 275.7
},
"luminance": 0.034
}Semantic roles & 50–950 ramp
primary
#282C6F
secondary
#A19D51
accent
#CF51D7
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07050E
muted
#7A7A7E