#282AAB#282AAB
#282AAB is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.8% C 0.197 H 271.8°. Best body text is #FFFFFF at 10.45:1 contrast (WCAG AA passes).
Color values
| HEX | #282AAB |
|---|---|
| RGB | rgb(40, 42, 171) |
| HSL | hsl(239, 62%, 41%) |
| HSV | hsv(239, 77%, 67%) |
| CMYK | cmyk(76.6%, 75.4%, 0%, 32.9%) |
| CIE-LAB | lab(26.87, 43.56, -68.15) |
| CIE-LCH | lch(26.87, 80.88, 302.59°) |
| OKLab | oklab(38.8% 0.0062 -0.1973) |
| OKLCH | oklch(38.8% 0.197 271.8) |
| XYZ | xyz(9.0512, 5.0463, 39.0172) |
| Luminance | 0.0505 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.03
Indigo Blue
#3A18B1
ΔE00 4.05
True Blue
#010FCC
ΔE00 5.45
Royal
#0C1793
ΔE00 5.58
Cobalt Blue
#030AA7
ΔE00 5.83
Ultramarine
#2000B1
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#282AAB #ABA928
analogous
#286CAB #282AAB #6828AB
triadic
#282AAB #AB282A #2AAB28
tetradic
#282AAB #AB286C #ABA928 #28AB68
square
#282AAB #AB286C #ABA928 #28AB68
split-complementary
#282AAB #AB6828 #6CAB28
monochromatic
#111248 #1C1E79 #282AAB #3E41D2 #7072DE
Accessibility & contrast
On white
10.45
#282AAB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.01
#282AAB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #282AAB
10.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##282AAB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##282AAB | 1.00 | 10.45 | 2.01 | 10.45 |
| #FFFFFF | 10.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0046AF
Deuteranopia (green-blind)
#0039A9
Tritanopia (blue-blind)
#005069
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #282aab; /* rgb */ color: rgb(40, 42, 171); /* oklch */ color: oklch(38.8% 0.197 271.8);
Tailwind
colors: {
custom: {
50: '#7965c5',
500: '#282aab',
950: '#000000',
},
}SCSS
$custom: #282aab; $custom-light: #7965c5; $custom-dark: #000000;
JSON
{
"hex": "#282aab",
"rgb": {
"r": 40,
"g": 42,
"b": 171
},
"hsl": {
"h": 239.084,
"s": 62.085,
"l": 41.373
},
"oklch": {
"l": 0.38804,
"c": 0.19738,
"h": 271.8
},
"luminance": 0.05047
}Semantic roles & 50–950 ramp
primary
#282AAB
secondary
#C4C36A
accent
#E343E5
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82