#282D9C#282D9C
#282D9C is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.7% C 0.175 H 272.3°. Best body text is #FFFFFF at 10.79:1 contrast (WCAG AA passes).
Color values
| HEX | #282D9C |
|---|---|
| RGB | rgb(40, 45, 156) |
| HSL | hsl(237, 59%, 38%) |
| HSV | hsv(237, 74%, 61%) |
| CMYK | cmyk(74.4%, 71.2%, 0%, 38.8%) |
| CIE-LAB | lab(25.94, 36.60, -60.58) |
| CIE-LCH | lch(25.94, 70.78, 301.14°) |
| OKLab | oklab(37.68% 0.0071 -0.1753) |
| OKLCH | oklch(37.68% 0.175 272.3) |
| XYZ | xyz(7.8122, 4.7274, 31.9468) |
| Luminance | 0.0473 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.71
Royal
#0C1793
ΔE00 5.38
Indigo Blue
#3A18B1
ΔE00 5.79
Blueberry
#464196
ΔE00 6.62
Cobalt Blue
#030AA7
ΔE00 6.79
Darkslateblue
#483D8B
ΔE00 6.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#282D9C #9C9728
analogous
#28679C #282D9C #5D289C
triadic
#282D9C #9C282D #2D9C28
tetradic
#282D9C #9C2867 #9C9728 #289C5D
square
#282D9C #9C2867 #9C9728 #289C5D
split-complementary
#282D9C #9C5D28 #679C28
monochromatic
#0F113B #1C1F6B #282D9C #363CCB #676BD8
Accessibility & contrast
On white
10.79
#282D9C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.95
#282D9C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #282D9C
10.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##282D9C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##282D9C | 1.00 | 10.79 | 1.95 | 10.79 |
| #FFFFFF | 10.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00439F
Deuteranopia (green-blind)
#00389A
Tritanopia (blue-blind)
#004C61
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #282d9c; /* rgb */ color: rgb(40, 45, 156); /* oklch */ color: oklch(37.7% 0.175 272.3);
Tailwind
colors: {
custom: {
50: '#7567ba',
500: '#282d9c',
950: '#000000',
},
}SCSS
$custom: #282d9c; $custom-light: #7567ba; $custom-dark: #000000;
JSON
{
"hex": "#282d9c",
"rgb": {
"r": 40,
"g": 45,
"b": 156
},
"hsl": {
"h": 237.414,
"s": 59.184,
"l": 38.431
},
"oklch": {
"l": 0.37679,
"c": 0.1754,
"h": 272.3
},
"luminance": 0.04728
}Semantic roles & 50–950 ramp
primary
#282D9C
secondary
#BEBA62
accent
#DC45E2
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81