#282F7E#282F7E
#282F7E is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.1% C 0.132 H 273.6°. Best body text is #FFFFFF at 11.68:1 contrast (WCAG AA passes).
Color values
| HEX | #282F7E |
|---|---|
| RGB | rgb(40, 47, 126) |
| HSL | hsl(235, 52%, 33%) |
| HSV | hsv(235, 68%, 49%) |
| CMYK | cmyk(68.3%, 62.7%, 0%, 50.6%) |
| CIE-LAB | lab(23.64, 24.35, -45.74) |
| CIE-LCH | lch(23.64, 51.82, 298.03°) |
| OKLab | oklab(35.14% 0.0083 -0.1318) |
| OKLCH | oklch(35.14% 0.132 273.6) |
| XYZ | xyz(5.6562, 3.9900, 20.2067) |
| Luminance | 0.0399 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 6.07
Midnight Blue
#191970
ΔE00 6.20
Blueberry
#464196
ΔE00 6.76
Sapphire (survey)
#2138AB
ΔE00 6.92
Marine
#042E60
ΔE00 7.32
Royal
#0C1793
ΔE00 7.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#282F7E #7E7728
analogous
#285A7E #282F7E #4C287E
triadic
#282F7E #7E282F #2F7E28
tetradic
#282F7E #7E285A #7E7728 #287E4C
square
#282F7E #7E285A #7E7728 #287E4C
split-complementary
#282F7E #7E4C28 #5A7E28
monochromatic
#0B0C21 #191E50 #282F7E #3740AC #5760CA
Accessibility & contrast
On white
11.68
#282F7E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.80
#282F7E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #282F7E
11.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##282F7E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##282F7E | 1.00 | 11.68 | 1.80 | 11.68 |
| #FFFFFF | 11.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C81
Deuteranopia (green-blind)
#00347C
Tritanopia (blue-blind)
#004351
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #282f7e; /* rgb */ color: rgb(40, 47, 126); /* oklch */ color: oklch(35.1% 0.132 273.6);
Tailwind
colors: {
custom: {
50: '#6d67a4',
500: '#282f7e',
950: '#000000',
},
}SCSS
$custom: #282f7e; $custom-light: #6d67a4; $custom-dark: #000000;
JSON
{
"hex": "#282f7e",
"rgb": {
"r": 40,
"g": 47,
"b": 126
},
"hsl": {
"h": 235.116,
"s": 51.807,
"l": 32.549
},
"oklch": {
"l": 0.35142,
"c": 0.13204,
"h": 273.6
},
"luminance": 0.03991
}Semantic roles & 50–950 ramp
primary
#282F7E
secondary
#AFA753
accent
#D04DDB
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F