#282F6C#282F6C
#282F6C is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.6% C 0.105 H 274.3°. Best body text is #FFFFFF at 12.26:1 contrast (WCAG AA passes).
Color values
| HEX | #282F6C |
|---|---|
| RGB | rgb(40, 47, 108) |
| HSL | hsl(234, 46%, 29%) |
| HSV | hsv(234, 63%, 42%) |
| CMYK | cmyk(63%, 56.5%, 0%, 57.6%) |
| CIE-LAB | lab(22.18, 17.60, -36.61) |
| CIE-LCH | lch(22.18, 40.62, 295.67°) |
| OKLab | oklab(33.6% 0.008 -0.1049) |
| OKLCH | oklch(33.6% 0.105 274.3) |
| XYZ | xyz(4.5975, 3.5665, 14.6306) |
| Luminance | 0.0357 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 5.73
Navy Blue
#1B2A4A
ΔE00 7.00
Midnight Blue
#191970
ΔE00 7.10
Darkslateblue
#483D8B
ΔE00 7.39
Marine Blue
#01386A
ΔE00 7.72
Blueberry
#464196
ΔE00 8.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#282F6C #6C6528
analogous
#28516C #282F6C #43286C
triadic
#282F6C #6C282F #2F6C28
tetradic
#282F6C #6C2851 #6C6528 #286C43
square
#282F6C #6C2851 #6C6528 #286C43
split-complementary
#282F6C #6C4328 #516C28
monochromatic
#080A16 #171C3F #282F6C #394299 #505BBE
Accessibility & contrast
On white
12.26
#282F6C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.71
#282F6C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #282F6C
12.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##282F6C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##282F6C | 1.00 | 12.26 | 1.71 | 12.26 |
| #FFFFFF | 12.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#08386E
Deuteranopia (green-blind)
#00326B
Tritanopia (blue-blind)
#003D48
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #282f6c; /* rgb */ color: rgb(40, 47, 108); /* oklch */ color: oklch(33.6% 0.105 274.3);
Tailwind
colors: {
custom: {
50: '#696797',
500: '#282f6c',
950: '#000000',
},
}SCSS
$custom: #282f6c; $custom-light: #696797; $custom-dark: #000000;
JSON
{
"hex": "#282f6c",
"rgb": {
"r": 40,
"g": 47,
"b": 108
},
"hsl": {
"h": 233.824,
"s": 45.946,
"l": 29.02
},
"oklch": {
"l": 0.336,
"c": 0.10523,
"h": 274.3
},
"luminance": 0.03567
}Semantic roles & 50–950 ramp
primary
#282F6C
secondary
#9E9751
accent
#C852D6
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060D
muted
#7A7A7E