#282089#282089

#282089 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.7% C 0.165 H 276.2°. Best body text is #FFFFFF at 12.67:1 contrast (WCAG AA passes).

Color values

HEX#282089
RGBrgb(40, 32, 137)
HSLhsl(245, 62%, 33%)
HSVhsv(245, 77%, 54%)
CMYKcmyk(70.8%, 76.6%, 0%, 46.3%)
CIE-LABlab(21.17, 37.83, -56.71)
CIE-LCHlch(21.17, 68.16, 303.71°)
OKLaboklab(33.68% 0.0179 -0.1639)
OKLCHoklch(33.68% 0.165 276.2)
XYZxyz(5.9055, 3.2897, 23.9858)
Luminance0.0329 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282089 #818920
analogous
#204D89 #282089 #5C2089
triadic
#282089 #892820 #208928
tetradic
#282089 #89204D #818920 #20895C
square
#282089 #89204D #818920 #20895C
split-complementary
#282089 #895C20 #4D8920
monochromatic
#0B0926 #1A1457 #282089 #362CBB #584ED6

Accessibility & contrast

On white

12.67
#282089 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#282089 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282089
12.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282089#FFFFFF#000000##FFFFFF
##2820891.0012.671.6612.67
#FFFFFF12.671.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00378C
Deuteranopia (green-blind)
#002E87
Tritanopia (blue-blind)
#003E53
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #282089;
/* rgb */ color: rgb(40, 32, 137);
/* oklch */ color: oklch(33.7% 0.165 276.2);
Tailwind
colors: {
  custom: {
    50: '#715dad',
    500: '#282089',
    950: '#000000',
  },
}
SCSS
$custom: #282089;
$custom-light: #715dad;
$custom-dark: #000000;
JSON
{
  "hex": "#282089",
  "rgb": {
    "r": 40,
    "g": 32,
    "b": 137
  },
  "hsl": {
    "h": 244.571,
    "s": 62.13,
    "l": 33.137
  },
  "oklch": {
    "l": 0.33679,
    "c": 0.16486,
    "h": 276.2
  },
  "luminance": 0.0329
}

Semantic roles & 50–950 ramp

primary
#282089
secondary
#B0B94C
accent
#E543D9
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #282089

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

Preview Lab → · Contrast checker → · Palette generator →

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