#282086#282086

#282086 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.4% C 0.161 H 276.6°. Best body text is #FFFFFF at 12.80:1 contrast (WCAG AA passes).

Color values

HEX#282086
RGBrgb(40, 32, 134)
HSLhsl(245, 61%, 33%)
HSVhsv(245, 76%, 53%)
CMYKcmyk(70.1%, 76.1%, 0%, 47.5%)
CIE-LABlab(20.85, 36.81, -55.35)
CIE-LCHlch(20.85, 66.48, 303.63°)
OKLaboklab(33.35% 0.0186 -0.16)
OKLCHoklch(33.35% 0.161 276.6)
XYZxyz(5.6933, 3.2049, 22.8682)
Luminance0.0321 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282086 #7E8620
analogous
#204B86 #282086 #5B2086
triadic
#282086 #862820 #208628
tetradic
#282086 #86204B #7E8620 #20865B
square
#282086 #86204B #7E8620 #20865B
split-complementary
#282086 #865B20 #4B8620
monochromatic
#0B0823 #191455 #282086 #372CB7 #574CD4

Accessibility & contrast

On white

12.80
#282086 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#282086 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282086
12.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282086#FFFFFF#000000##FFFFFF
##2820861.0012.801.6412.80
#FFFFFF12.801.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003689
Deuteranopia (green-blind)
#002E84
Tritanopia (blue-blind)
#003D51
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #282086;
/* rgb */ color: rgb(40, 32, 134);
/* oklch */ color: oklch(33.4% 0.161 276.6);
Tailwind
colors: {
  custom: {
    50: '#715daa',
    500: '#282086',
    950: '#000000',
  },
}
SCSS
$custom: #282086;
$custom-light: #715daa;
$custom-dark: #000000;
JSON
{
  "hex": "#282086",
  "rgb": {
    "r": 40,
    "g": 32,
    "b": 134
  },
  "hsl": {
    "h": 244.706,
    "s": 61.446,
    "l": 32.549
  },
  "oklch": {
    "l": 0.33354,
    "c": 0.16103,
    "h": 276.6
  },
  "luminance": 0.03205
}

Semantic roles & 50–950 ramp

primary
#282086
secondary
#AFB74B
accent
#E543D8
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #282086

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

Preview Lab → · Contrast checker → · Palette generator →

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