#282084#282084

#282084 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.1% C 0.158 H 276.9°. Best body text is #FFFFFF at 12.88:1 contrast (WCAG AA passes).

Color values

HEX#282084
RGBrgb(40, 32, 132)
HSLhsl(245, 61%, 32%)
HSVhsv(245, 76%, 52%)
CMYKcmyk(69.7%, 75.8%, 0%, 48.2%)
CIE-LABlab(20.63, 36.14, -54.45)
CIE-LCHlch(20.63, 65.35, 303.57°)
OKLaboklab(33.14% 0.019 -0.1573)
OKLCHoklch(33.14% 0.158 276.9)
XYZxyz(5.5551, 3.1496, 22.1405)
Luminance0.0315 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282084 #7C8420
analogous
#204A84 #282084 #5A2084
triadic
#282084 #842820 #208428
tetradic
#282084 #84204A #7C8420 #20845A
square
#282084 #84204A #7C8420 #20845A
split-complementary
#282084 #845A20 #4A8420
monochromatic
#0A0821 #191453 #282084 #372CB5 #564BD3

Accessibility & contrast

On white

12.88
#282084 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#282084 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282084
12.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282084#FFFFFF#000000##FFFFFF
##2820841.0012.881.6312.88
#FFFFFF12.881.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003687
Deuteranopia (green-blind)
#002D82
Tritanopia (blue-blind)
#003C50
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #282084;
/* rgb */ color: rgb(40, 32, 132);
/* oklch */ color: oklch(33.1% 0.158 276.9);
Tailwind
colors: {
  custom: {
    50: '#705da9',
    500: '#282084',
    950: '#000000',
  },
}
SCSS
$custom: #282084;
$custom-light: #705da9;
$custom-dark: #000000;
JSON
{
  "hex": "#282084",
  "rgb": {
    "r": 40,
    "g": 32,
    "b": 132
  },
  "hsl": {
    "h": 244.8,
    "s": 60.976,
    "l": 32.157
  },
  "oklch": {
    "l": 0.3314,
    "c": 0.15845,
    "h": 276.9
  },
  "luminance": 0.0315
}

Semantic roles & 50–950 ramp

primary
#282084
secondary
#ADB64A
accent
#E444D7
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #282084

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#282084 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva