#282C9B#282C9B
#282C9B is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.4% C 0.175 H 272.6°. Best body text is #FFFFFF at 10.92:1 contrast (WCAG AA passes).
Color values
| HEX | #282C9B |
|---|---|
| RGB | rgb(40, 44, 155) |
| HSL | hsl(238, 59%, 38%) |
| HSV | hsv(238, 74%, 61%) |
| CMYK | cmyk(74.2%, 71.6%, 0%, 39.2%) |
| CIE-LAB | lab(25.62, 36.87, -60.51) |
| CIE-LCH | lch(25.62, 70.85, 301.35°) |
| OKLab | oklab(37.41% 0.0078 -0.175) |
| OKLCH | oklch(37.41% 0.175 272.6) |
| XYZ | xyz(7.6902, 4.6183, 31.4901) |
| Luminance | 0.0462 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.00
Royal
#0C1793
ΔE00 5.12
Indigo Blue
#3A18B1
ΔE00 5.67
Cobalt Blue
#030AA7
ΔE00 6.58
Blueberry
#464196
ΔE00 6.80
Darkslateblue
#483D8B
ΔE00 7.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#282C9B #9B9728
analogous
#28659B #282C9B #5D289B
triadic
#282C9B #9B282C #2C9B28
tetradic
#282C9B #9B2865 #9B9728 #289B5D
square
#282C9B #9B2865 #9B9728 #289B5D
split-complementary
#282C9B #9B5D28 #659B28
monochromatic
#0F103A #1B1E6A #282C9B #353ACB #666AD7
Accessibility & contrast
On white
10.92
#282C9B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.92
#282C9B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #282C9B
10.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##282C9B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##282C9B | 1.00 | 10.92 | 1.92 | 10.92 |
| #FFFFFF | 10.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00429E
Deuteranopia (green-blind)
#003799
Tritanopia (blue-blind)
#004B60
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #282c9b; /* rgb */ color: rgb(40, 44, 155); /* oklch */ color: oklch(37.4% 0.175 272.6);
Tailwind
colors: {
custom: {
50: '#7466ba',
500: '#282c9b',
950: '#000000',
},
}SCSS
$custom: #282c9b; $custom-light: #7466ba; $custom-dark: #000000;
JSON
{
"hex": "#282c9b",
"rgb": {
"r": 40,
"g": 44,
"b": 155
},
"hsl": {
"h": 237.913,
"s": 58.974,
"l": 38.235
},
"oklch": {
"l": 0.37414,
"c": 0.17521,
"h": 272.6
},
"luminance": 0.04619
}Semantic roles & 50–950 ramp
primary
#282C9B
secondary
#BDBA61
accent
#DD46E2
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81