#282C74#282C74
#282C74 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.7% C 0.122 H 275.3°. Best body text is #FFFFFF at 12.33:1 contrast (WCAG AA passes).
Color values
| HEX | #282C74 |
|---|---|
| RGB | rgb(40, 44, 116) |
| HSL | hsl(237, 49%, 31%) |
| HSV | hsv(237, 66%, 45%) |
| CMYK | cmyk(65.5%, 62.1%, 0%, 54.5%) |
| CIE-LAB | lab(21.99, 22.68, -42.06) |
| CIE-LCH | lch(21.99, 47.78, 298.33°) |
| OKLab | oklab(33.66% 0.0113 -0.121) |
| OKLCH | oklch(33.66% 0.122 275.3) |
| XYZ | xyz(4.9271, 3.5130, 16.9380) |
| Luminance | 0.0351 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.46
Darkslateblue
#483D8B
ΔE00 6.87
Marine
#042E60
ΔE00 6.92
Blueberry
#464196
ΔE00 7.99
Royal
#0C1793
ΔE00 8.04
Navy Blue
#1B2A4A
ΔE00 8.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#282C74 #747028
analogous
#285274 #282C74 #4A2874
triadic
#282C74 #74282C #2C7428
tetradic
#282C74 #742852 #747028 #28744A
square
#282C74 #742852 #747028 #28744A
split-complementary
#282C74 #744A28 #527428
monochromatic
#090919 #181B46 #282C74 #383DA2 #5359C4
Accessibility & contrast
On white
12.33
#282C74 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.70
#282C74 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #282C74
12.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##282C74 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##282C74 | 1.00 | 12.33 | 1.70 | 12.33 |
| #FFFFFF | 12.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003876
Deuteranopia (green-blind)
#003173
Tritanopia (blue-blind)
#003E4B
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #282c74; /* rgb */ color: rgb(40, 44, 116); /* oklch */ color: oklch(33.7% 0.122 275.3);
Tailwind
colors: {
custom: {
50: '#6b659d',
500: '#282c74',
950: '#000000',
},
}SCSS
$custom: #282c74; $custom-light: #6b659d; $custom-dark: #000000;
JSON
{
"hex": "#282c74",
"rgb": {
"r": 40,
"g": 44,
"b": 116
},
"hsl": {
"h": 236.842,
"s": 48.718,
"l": 30.588
},
"oklch": {
"l": 0.33659,
"c": 0.12154,
"h": 275.3
},
"luminance": 0.03513
}Semantic roles & 50–950 ramp
primary
#282C74
secondary
#A6A252
accent
#D150D8
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07050E
muted
#7A7A7E