#282C94#282C94
#282C94 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.7% C 0.166 H 273.0°. Best body text is #FFFFFF at 11.18:1 contrast (WCAG AA passes).
Color values
| HEX | #282C94 |
|---|---|
| RGB | rgb(40, 44, 148) |
| HSL | hsl(238, 57%, 37%) |
| HSV | hsv(238, 73%, 58%) |
| CMYK | cmyk(73%, 70.3%, 0%, 42%) |
| CIE-LAB | lab(24.92, 34.38, -57.36) |
| CIE-LCH | lch(24.92, 66.87, 300.94°) |
| OKLab | oklab(36.7% 0.0088 -0.1658) |
| OKLCH | oklch(36.7% 0.166 273) |
| XYZ | xyz(7.1193, 4.3899, 28.4834) |
| Luminance | 0.0439 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.55
Royal
#0C1793
ΔE00 5.11
Indigo Blue
#3A18B1
ΔE00 6.43
Blueberry
#464196
ΔE00 6.69
Darkslateblue
#483D8B
ΔE00 6.72
Midnight Blue
#191970
ΔE00 6.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#282C94 #949028
analogous
#286294 #282C94 #5A2894
triadic
#282C94 #94282C #2C9428
tetradic
#282C94 #942862 #949028 #28945A
square
#282C94 #942862 #949028 #28945A
split-complementary
#282C94 #945A28 #629428
monochromatic
#0E0F34 #1B1E64 #282C94 #353AC4 #6266D5
Accessibility & contrast
On white
11.18
#282C94 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.88
#282C94 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #282C94
11.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##282C94 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##282C94 | 1.00 | 11.18 | 1.88 | 11.18 |
| #FFFFFF | 11.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004097
Deuteranopia (green-blind)
#003692
Tritanopia (blue-blind)
#00485C
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #282c94; /* rgb */ color: rgb(40, 44, 148); /* oklch */ color: oklch(36.7% 0.166 273.0);
Tailwind
colors: {
custom: {
50: '#7366b4',
500: '#282c94',
950: '#000000',
},
}SCSS
$custom: #282c94; $custom-light: #7366b4; $custom-dark: #000000;
JSON
{
"hex": "#282c94",
"rgb": {
"r": 40,
"g": 44,
"b": 148
},
"hsl": {
"h": 237.778,
"s": 57.447,
"l": 36.863
},
"oklch": {
"l": 0.36701,
"c": 0.16607,
"h": 273
},
"luminance": 0.04391
}Semantic roles & 50–950 ramp
primary
#282C94
secondary
#BAB75E
accent
#DB47E1
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80