#282D6F#282D6F
#282D6F is a dark, moderate blue. Relative luminance 0.035; OKLCH L 33.4% C 0.113 H 275.2°. Best body text is #FFFFFF at 12.39:1 contrast (WCAG AA passes).
Color values
| HEX | #282D6F |
|---|---|
| RGB | rgb(40, 45, 111) |
| HSL | hsl(236, 47%, 30%) |
| HSV | hsv(236, 64%, 44%) |
| CMYK | cmyk(64%, 59.5%, 0%, 56.5%) |
| CIE-LAB | lab(21.85, 20.12, -39.07) |
| CIE-LCH | lch(21.85, 43.95, 297.25°) |
| OKLab | oklab(33.43% 0.0103 -0.1122) |
| OKLCH | oklch(33.43% 0.113 275.2) |
| XYZ | xyz(4.6818, 3.4752, 15.4599) |
| Luminance | 0.0348 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 6.13
Marine
#042E60
ΔE00 6.32
Darkslateblue
#483D8B
ΔE00 7.17
Navy Blue
#1B2A4A
ΔE00 7.71
Marine Blue
#01386A
ΔE00 8.34
Blueberry
#464196
ΔE00 8.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#282D6F #6F6A28
analogous
#28516F #282D6F #47286F
triadic
#282D6F #6F282D #2D6F28
tetradic
#282D6F #6F2851 #6F6A28 #286F47
square
#282D6F #6F2851 #6F6A28 #286F47
split-complementary
#282D6F #6F4728 #516F28
monochromatic
#080916 #181B42 #282D6F #383F9C #5159C0
Accessibility & contrast
On white
12.39
#282D6F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.70
#282D6F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #282D6F
12.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##282D6F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##282D6F | 1.00 | 12.39 | 1.70 | 12.39 |
| #FFFFFF | 12.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003771
Deuteranopia (green-blind)
#00316E
Tritanopia (blue-blind)
#003D49
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #282d6f; /* rgb */ color: rgb(40, 45, 111); /* oklch */ color: oklch(33.4% 0.113 275.2);
Tailwind
colors: {
custom: {
50: '#6a6599',
500: '#282d6f',
950: '#000000',
},
}SCSS
$custom: #282d6f; $custom-light: #6a6599; $custom-dark: #000000;
JSON
{
"hex": "#282d6f",
"rgb": {
"r": 40,
"g": 45,
"b": 111
},
"hsl": {
"h": 235.775,
"s": 47.02,
"l": 29.608
},
"oklch": {
"l": 0.33428,
"c": 0.11268,
"h": 275.2
},
"luminance": 0.03476
}Semantic roles & 50–950 ramp
primary
#282D6F
secondary
#A19C51
accent
#CD51D7
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07050E
muted
#7A7A7E