#282085#282085

#282085 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.2% C 0.160 H 276.7°. Best body text is #FFFFFF at 12.84:1 contrast (WCAG AA passes).

Color values

HEX#282085
RGBrgb(40, 32, 133)
HSLhsl(245, 61%, 32%)
HSVhsv(245, 76%, 52%)
CMYKcmyk(69.9%, 75.9%, 0%, 47.8%)
CIE-LABlab(20.74, 36.47, -54.90)
CIE-LCHlch(20.74, 65.91, 303.60°)
OKLaboklab(33.25% 0.0188 -0.1586)
OKLCHoklch(33.25% 0.16 276.7)
XYZxyz(5.6238, 3.1771, 22.5026)
Luminance0.0318 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282085 #7D8520
analogous
#204B85 #282085 #5A2085
triadic
#282085 #852820 #208528
tetradic
#282085 #85204B #7D8520 #20855A
square
#282085 #85204B #7D8520 #20855A
split-complementary
#282085 #855A20 #4B8520
monochromatic
#0A0822 #191454 #282085 #372CB6 #564CD4

Accessibility & contrast

On white

12.84
#282085 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #282085
12.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282085#FFFFFF#000000##FFFFFF
##2820851.0012.841.6412.84
#FFFFFF12.841.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.841.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #282085;
/* rgb */ color: rgb(40, 32, 133);
/* oklch */ color: oklch(33.2% 0.160 276.7);
Tailwind
colors: {
  custom: {
    50: '#705daa',
    500: '#282085',
    950: '#000000',
  },
}
SCSS
$custom: #282085;
$custom-light: #705daa;
$custom-dark: #000000;
JSON
{
  "hex": "#282085",
  "rgb": {
    "r": 40,
    "g": 32,
    "b": 133
  },
  "hsl": {
    "h": 244.752,
    "s": 61.212,
    "l": 32.353
  },
  "oklch": {
    "l": 0.33247,
    "c": 0.15975,
    "h": 276.7
  },
  "luminance": 0.03178
}

Semantic roles & 50–950 ramp

primary
#282085
secondary
#AEB74A
accent
#E443D8
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #282085

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

Preview Lab → · Contrast checker → · Palette generator →

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