#282A94#282A94
#282A94 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.4% C 0.168 H 273.4°. Best body text is #FFFFFF at 11.36:1 contrast (WCAG AA passes).
Color values
| HEX | #282A94 |
|---|---|
| RGB | rgb(40, 42, 148) |
| HSL | hsl(239, 57%, 37%) |
| HSV | hsv(239, 73%, 58%) |
| CMYK | cmyk(73%, 71.6%, 0%, 42%) |
| CIE-LAB | lab(24.46, 35.63, -58.11) |
| CIE-LCH | lch(24.46, 68.16, 301.52°) |
| OKLab | oklab(36.37% 0.01 -0.168) |
| OKLCH | oklch(36.37% 0.168 273.4) |
| XYZ | xyz(7.0465, 4.2445, 28.4591) |
| Luminance | 0.0425 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 4.60
Sapphire (survey)
#2138AB
ΔE00 4.95
Indigo Blue
#3A18B1
ΔE00 6.04
Cobalt Blue
#030AA7
ΔE00 6.50
Midnight Blue
#191970
ΔE00 6.58
Darkslateblue
#483D8B
ΔE00 7.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#282A94 #949228
analogous
#286094 #282A94 #5C2894
triadic
#282A94 #94282A #2A9428
tetradic
#282A94 #942860 #949228 #28945C
square
#282A94 #942860 #949228 #28945C
split-complementary
#282A94 #945C28 #609428
monochromatic
#0E0F34 #1B1C64 #282A94 #3538C4 #6264D5
Accessibility & contrast
On white
11.36
#282A94 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.85
#282A94 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #282A94
11.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##282A94 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##282A94 | 1.00 | 11.36 | 1.85 | 11.36 |
| #FFFFFF | 11.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F97
Deuteranopia (green-blind)
#003592
Tritanopia (blue-blind)
#00475C
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #282a94; /* rgb */ color: rgb(40, 42, 148); /* oklch */ color: oklch(36.4% 0.168 273.4);
Tailwind
colors: {
custom: {
50: '#7364b4',
500: '#282a94',
950: '#000000',
},
}SCSS
$custom: #282a94; $custom-light: #7364b4; $custom-dark: #000000;
JSON
{
"hex": "#282a94",
"rgb": {
"r": 40,
"g": 42,
"b": 148
},
"hsl": {
"h": 238.889,
"s": 57.447,
"l": 36.863
},
"oklch": {
"l": 0.36372,
"c": 0.16834,
"h": 273.4
},
"luminance": 0.04245
}Semantic roles & 50–950 ramp
primary
#282A94
secondary
#BAB85E
accent
#DE47E1
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090511
muted
#7B7A80