#282087#282087

#282087 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.5% C 0.162 H 276.5°. Best body text is #FFFFFF at 12.75:1 contrast (WCAG AA passes).

Color values

HEX#282087
RGBrgb(40, 32, 135)
HSLhsl(245, 62%, 33%)
HSVhsv(245, 76%, 53%)
CMYKcmyk(70.4%, 76.3%, 0%, 47.1%)
CIE-LABlab(20.95, 37.15, -55.81)
CIE-LCHlch(20.95, 67.04, 303.65°)
OKLaboklab(33.46% 0.0183 -0.1613)
OKLCHoklch(33.46% 0.162 276.5)
XYZxyz(5.7633, 3.2329, 23.2373)
Luminance0.0323 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282087 #7F8720
analogous
#204C87 #282087 #5B2087
triadic
#282087 #872820 #208728
tetradic
#282087 #87204C #7F8720 #20875B
square
#282087 #87204C #7F8720 #20875B
split-complementary
#282087 #875B20 #4C8720
monochromatic
#0B0924 #191456 #282087 #372CB8 #574DD5

Accessibility & contrast

On white

12.75
#282087 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#282087 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282087
12.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282087#FFFFFF#000000##FFFFFF
##2820871.0012.751.6512.75
#FFFFFF12.751.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00378A
Deuteranopia (green-blind)
#002E85
Tritanopia (blue-blind)
#003E52
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #282087;
/* rgb */ color: rgb(40, 32, 135);
/* oklch */ color: oklch(33.5% 0.162 276.5);
Tailwind
colors: {
  custom: {
    50: '#715dab',
    500: '#282087',
    950: '#000000',
  },
}
SCSS
$custom: #282087;
$custom-light: #715dab;
$custom-dark: #000000;
JSON
{
  "hex": "#282087",
  "rgb": {
    "r": 40,
    "g": 32,
    "b": 135
  },
  "hsl": {
    "h": 244.66,
    "s": 61.677,
    "l": 32.745
  },
  "oklch": {
    "l": 0.33462,
    "c": 0.16232,
    "h": 276.5
  },
  "luminance": 0.03233
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #282087

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

Preview Lab → · Contrast checker → · Palette generator →

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