#282A6E#282A6E
#282A6E is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.7% C 0.115 H 276.7°. Best body text is #FFFFFF at 12.75:1 contrast (WCAG AA passes).
Color values
| HEX | #282A6E |
|---|---|
| RGB | rgb(40, 42, 110) |
| HSL | hsl(238, 47%, 29%) |
| HSV | hsv(238, 64%, 43%) |
| CMYK | cmyk(63.6%, 61.8%, 0%, 56.9%) |
| CIE-LAB | lab(20.95, 21.83, -39.89) |
| CIE-LCH | lch(20.95, 45.47, 298.69°) |
| OKLab | oklab(32.73% 0.0134 -0.1146) |
| OKLCH | oklch(32.73% 0.115 276.7) |
| XYZ | xyz(4.5166, 3.2325, 15.1348) |
| Luminance | 0.0323 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.23
Marine
#042E60
ΔE00 6.95
Darkslateblue
#483D8B
ΔE00 7.52
Navy Blue
#1B2A4A
ΔE00 8.03
Royal
#0C1793
ΔE00 8.52
Blueberry
#464196
ΔE00 8.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#282A6E #6E6C28
analogous
#284D6E #282A6E #49286E
triadic
#282A6E #6E282A #2A6E28
tetradic
#282A6E #6E284D #6E6C28 #286E49
square
#282A6E #6E284D #6E6C28 #286E49
split-complementary
#282A6E #6E4928 #4D6E28
monochromatic
#080916 #181941 #282A6E #383B9B #5154C0
Accessibility & contrast
On white
12.75
#282A6E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.65
#282A6E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #282A6E
12.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##282A6E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##282A6E | 1.00 | 12.75 | 1.65 | 12.75 |
| #FFFFFF | 12.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003570
Deuteranopia (green-blind)
#002F6D
Tritanopia (blue-blind)
#003A47
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #282a6e; /* rgb */ color: rgb(40, 42, 110); /* oklch */ color: oklch(32.7% 0.115 276.7);
Tailwind
colors: {
custom: {
50: '#6a6398',
500: '#282a6e',
950: '#000000',
},
}SCSS
$custom: #282a6e; $custom-light: #6a6398; $custom-dark: #000000;
JSON
{
"hex": "#282a6e",
"rgb": {
"r": 40,
"g": 42,
"b": 110
},
"hsl": {
"h": 238.286,
"s": 46.667,
"l": 29.412
},
"oklch": {
"l": 0.32732,
"c": 0.11543,
"h": 276.7
},
"luminance": 0.03233
}Semantic roles & 50–950 ramp
primary
#282A6E
secondary
#A09E51
accent
#D351D6
background
#F6F5F9
surface
#ECEAF2
border
#C7C6CC
text
#07050E
muted
#7A797E