#282EA5#282EA5
#282EA5 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.8% C 0.186 H 271.6°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).
Color values
| HEX | #282EA5 |
|---|---|
| RGB | rgb(40, 46, 165) |
| HSL | hsl(237, 61%, 40%) |
| HSV | hsv(237, 76%, 65%) |
| CMYK | cmyk(75.8%, 72.1%, 0%, 35.3%) |
| CIE-LAB | lab(27.08, 39.15, -64.18) |
| CIE-LCH | lch(27.08, 75.18, 301.38°) |
| OKLab | oklab(38.77% 0.0053 -0.1858) |
| OKLCH | oklch(38.77% 0.186 271.6) |
| XYZ | xyz(8.6413, 5.1208, 36.1230) |
| Luminance | 0.0512 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.07
Indigo Blue
#3A18B1
ΔE00 5.28
Royal
#0C1793
ΔE00 5.95
Blueberry
#464196
ΔE00 6.74
True Blue
#010FCC
ΔE00 6.75
Cobalt Blue
#030AA7
ΔE00 6.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#282EA5 #A59F28
analogous
#286CA5 #282EA5 #6028A5
triadic
#282EA5 #A5282E #2EA528
tetradic
#282EA5 #A5286C #A59F28 #28A560
square
#282EA5 #A5286C #A59F28 #28A560
split-complementary
#282EA5 #A56028 #6CA528
monochromatic
#101342 #1C2074 #282EA5 #3B42CF #6C71DB
Accessibility & contrast
On white
10.37
#282EA5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.02
#282EA5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #282EA5
10.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##282EA5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##282EA5 | 1.00 | 10.37 | 2.02 | 10.37 |
| #FFFFFF | 10.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0046A9
Deuteranopia (green-blind)
#003AA3
Tritanopia (blue-blind)
#005066
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #282ea5; /* rgb */ color: rgb(40, 46, 165); /* oklch */ color: oklch(38.8% 0.186 271.6);
Tailwind
colors: {
custom: {
50: '#7768c1',
500: '#282ea5',
950: '#000000',
},
}SCSS
$custom: #282ea5; $custom-light: #7768c1; $custom-dark: #000000;
JSON
{
"hex": "#282ea5",
"rgb": {
"r": 40,
"g": 46,
"b": 165
},
"hsl": {
"h": 237.12,
"s": 60.976,
"l": 40.196
},
"oklch": {
"l": 0.38766,
"c": 0.18584,
"h": 271.6
},
"luminance": 0.05122
}Semantic roles & 50–950 ramp
primary
#282EA5
secondary
#C2BE67
accent
#DC44E4
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0612
muted
#7C7A81