#282C7A#282C7A
#282C7A is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.2% C 0.130 H 274.9°. Best body text is #FFFFFF at 12.13:1 contrast (WCAG AA passes).
Color values
| HEX | #282C7A |
|---|---|
| RGB | rgb(40, 44, 122) |
| HSL | hsl(237, 51%, 32%) |
| HSV | hsv(237, 67%, 48%) |
| CMYK | cmyk(67.2%, 63.9%, 0%, 52.2%) |
| CIE-LAB | lab(22.50, 24.90, -45.05) |
| CIE-LCH | lch(22.50, 51.48, 298.93°) |
| OKLab | oklab(34.2% 0.0111 -0.1298) |
| OKLCH | oklch(34.2% 0.13 274.9) |
| XYZ | xyz(5.2874, 3.6572, 18.8358) |
| Luminance | 0.0366 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.29
Darkslateblue
#483D8B
ΔE00 6.56
Royal
#0C1793
ΔE00 7.19
Marine
#042E60
ΔE00 7.47
Blueberry
#464196
ΔE00 7.50
Sapphire (survey)
#2138AB
ΔE00 7.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#282C7A #7A7628
analogous
#28557A #282C7A #4D287A
triadic
#282C7A #7A282C #2C7A28
tetradic
#282C7A #7A2855 #7A7628 #287A4D
square
#282C7A #7A2855 #7A7628 #287A4D
split-complementary
#282C7A #7A4D28 #557A28
monochromatic
#0A0B1E #191B4C #282C7A #373DA8 #555BC7
Accessibility & contrast
On white
12.13
#282C7A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.73
#282C7A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #282C7A
12.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##282C7A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##282C7A | 1.00 | 12.13 | 1.73 | 12.13 |
| #FFFFFF | 12.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00397D
Deuteranopia (green-blind)
#003278
Tritanopia (blue-blind)
#00404E
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #282c7a; /* rgb */ color: rgb(40, 44, 122); /* oklch */ color: oklch(34.2% 0.130 274.9);
Tailwind
colors: {
custom: {
50: '#6d65a1',
500: '#282c7a',
950: '#000000',
},
}SCSS
$custom: #282c7a; $custom-light: #6d65a1; $custom-dark: #000000;
JSON
{
"hex": "#282c7a",
"rgb": {
"r": 40,
"g": 44,
"b": 122
},
"hsl": {
"h": 237.073,
"s": 50.617,
"l": 31.765
},
"oklch": {
"l": 0.34198,
"c": 0.13027,
"h": 274.9
},
"luminance": 0.03658
}Semantic roles & 50–950 ramp
primary
#282C7A
secondary
#ACA752
accent
#D34EDA
background
#F6F6FA
surface
#ECEBF3
border
#C7C6CD
text
#08050F
muted
#7A7A7F