#282AA7#282AA7
#282AA7 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.4% C 0.192 H 272.1°. Best body text is #FFFFFF at 10.61:1 contrast (WCAG AA passes).
Color values
| HEX | #282AA7 |
|---|---|
| RGB | rgb(40, 42, 167) |
| HSL | hsl(239, 61%, 41%) |
| HSV | hsv(239, 76%, 65%) |
| CMYK | cmyk(76%, 74.9%, 0%, 34.5%) |
| CIE-LAB | lab(26.44, 42.21, -66.45) |
| CIE-LCH | lch(26.44, 78.72, 302.42°) |
| OKLab | oklab(38.37% 0.0069 -0.1923) |
| OKLCH | oklch(38.37% 0.192 272.1) |
| XYZ | xyz(8.6757, 4.8961, 37.0395) |
| Luminance | 0.0490 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.04
Indigo Blue
#3A18B1
ΔE00 4.26
Royal
#0C1793
ΔE00 5.26
Cobalt Blue
#030AA7
ΔE00 5.80
True Blue
#010FCC
ΔE00 5.85
Ultramarine
#2000B1
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#282AA7 #A7A528
analogous
#2869A7 #282AA7 #6528A7
triadic
#282AA7 #A7282A #2AA728
tetradic
#282AA7 #A72869 #A7A528 #28A765
square
#282AA7 #A72869 #A7A528 #28A765
split-complementary
#282AA7 #A76528 #69A728
monochromatic
#101144 #1C1E76 #282AA7 #3C3ED0 #6D6FDC
Accessibility & contrast
On white
10.61
#282AA7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.98
#282AA7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #282AA7
10.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##282AA7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##282AA7 | 1.00 | 10.61 | 1.98 | 10.61 |
| #FFFFFF | 10.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0045AB
Deuteranopia (green-blind)
#0038A5
Tritanopia (blue-blind)
#004E66
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #282aa7; /* rgb */ color: rgb(40, 42, 167); /* oklch */ color: oklch(38.4% 0.192 272.1);
Tailwind
colors: {
custom: {
50: '#7865c2',
500: '#282aa7',
950: '#000000',
},
}SCSS
$custom: #282aa7; $custom-light: #7865c2; $custom-dark: #000000;
JSON
{
"hex": "#282aa7",
"rgb": {
"r": 40,
"g": 42,
"b": 167
},
"hsl": {
"h": 239.055,
"s": 61.353,
"l": 40.588
},
"oklch": {
"l": 0.38372,
"c": 0.19245,
"h": 272.1
},
"luminance": 0.04897
}Semantic roles & 50–950 ramp
primary
#282AA7
secondary
#C3C168
accent
#E243E4
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0613
muted
#7C7A82