#282CA7#282CA7
#282CA7 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.7% C 0.190 H 271.8°. Best body text is #FFFFFF at 10.46:1 contrast (WCAG AA passes).
Color values
| HEX | #282CA7 |
|---|---|
| RGB | rgb(40, 44, 167) |
| HSL | hsl(238, 61%, 41%) |
| HSV | hsv(238, 76%, 65%) |
| CMYK | cmyk(76%, 73.7%, 0%, 34.5%) |
| CIE-LAB | lab(26.85, 41.04, -65.76) |
| CIE-LCH | lch(26.85, 77.52, 301.97°) |
| OKLab | oklab(38.67% 0.006 -0.1903) |
| OKLCH | oklch(38.67% 0.19 271.8) |
| XYZ | xyz(8.7484, 5.0416, 37.0638) |
| Luminance | 0.0504 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.55
Indigo Blue
#3A18B1
ΔE00 4.69
Royal
#0C1793
ΔE00 5.65
True Blue
#010FCC
ΔE00 6.18
Cobalt Blue
#030AA7
ΔE00 6.28
Ultramarine
#2000B1
ΔE00 6.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#282CA7 #A7A328
analogous
#286BA7 #282CA7 #6328A7
triadic
#282CA7 #A7282C #2CA728
tetradic
#282CA7 #A7286B #A7A328 #28A763
square
#282CA7 #A7286B #A7A328 #28A763
split-complementary
#282CA7 #A76328 #6BA728
monochromatic
#101244 #1C1F76 #282CA7 #3C41D0 #6D71DC
Accessibility & contrast
On white
10.46
#282CA7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.01
#282CA7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #282CA7
10.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##282CA7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##282CA7 | 1.00 | 10.46 | 2.01 | 10.46 |
| #FFFFFF | 10.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0046AB
Deuteranopia (green-blind)
#0039A5
Tritanopia (blue-blind)
#004F67
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #282ca7; /* rgb */ color: rgb(40, 44, 167); /* oklch */ color: oklch(38.7% 0.190 271.8);
Tailwind
colors: {
custom: {
50: '#7766c2',
500: '#282ca7',
950: '#000000',
},
}SCSS
$custom: #282ca7; $custom-light: #7766c2; $custom-dark: #000000;
JSON
{
"hex": "#282ca7",
"rgb": {
"r": 40,
"g": 44,
"b": 167
},
"hsl": {
"h": 238.11,
"s": 61.353,
"l": 40.588
},
"oklch": {
"l": 0.38668,
"c": 0.19044,
"h": 271.8
},
"luminance": 0.05043
}Semantic roles & 50–950 ramp
primary
#282CA7
secondary
#C3C068
accent
#DF43E4
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0613
muted
#7C7A82