#282C9F#282C9F
#282C9F is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.8% C 0.180 H 272.3°. Best body text is #FFFFFF at 10.76:1 contrast (WCAG AA passes).
Color values
| HEX | #282C9F |
|---|---|
| RGB | rgb(40, 44, 159) |
| HSL | hsl(238, 60%, 39%) |
| HSV | hsv(238, 75%, 62%) |
| CMYK | cmyk(74.8%, 72.3%, 0%, 37.6%) |
| CIE-LAB | lab(26.02, 38.27, -62.28) |
| CIE-LCH | lch(26.02, 73.10, 301.57°) |
| OKLab | oklab(37.83% 0.0072 -0.1802) |
| OKLCH | oklch(37.83% 0.18 272.3) |
| XYZ | xyz(8.0317, 4.7549, 33.2887) |
| Luminance | 0.0476 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.78
Royal
#0C1793
ΔE00 5.23
Indigo Blue
#3A18B1
ΔE00 5.29
Cobalt Blue
#030AA7
ΔE00 6.42
Blueberry
#464196
ΔE00 6.90
Royal Blue (survey)
#0504AA
ΔE00 6.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#282C9F #9F9B28
analogous
#28689F #282C9F #60289F
triadic
#282C9F #9F282C #2C9F28
tetradic
#282C9F #9F2868 #9F9B28 #289F60
square
#282C9F #9F2868 #9F9B28 #289F60
split-complementary
#282C9F #9F6028 #689F28
monochromatic
#0F113D #1C1E6E #282C9F #373CCD #686CD9
Accessibility & contrast
On white
10.76
#282C9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.95
#282C9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #282C9F
10.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##282C9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##282C9F | 1.00 | 10.76 | 1.95 | 10.76 |
| #FFFFFF | 10.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0043A2
Deuteranopia (green-blind)
#00389D
Tritanopia (blue-blind)
#004C62
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #282c9f; /* rgb */ color: rgb(40, 44, 159); /* oklch */ color: oklch(37.8% 0.180 272.3);
Tailwind
colors: {
custom: {
50: '#7566bd',
500: '#282c9f',
950: '#000000',
},
}SCSS
$custom: #282c9f; $custom-light: #7566bd; $custom-dark: #000000;
JSON
{
"hex": "#282c9f",
"rgb": {
"r": 40,
"g": 44,
"b": 159
},
"hsl": {
"h": 237.983,
"s": 59.799,
"l": 39.02
},
"oklch": {
"l": 0.37828,
"c": 0.18034,
"h": 272.3
},
"luminance": 0.04756
}Semantic roles & 50–950 ramp
primary
#282C9F
secondary
#BFBC64
accent
#DE45E3
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81