#282186#282186

#282186 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.5% C 0.160 H 276.4°. Best body text is #FFFFFF at 12.71:1 contrast (WCAG AA passes).

Color values

HEX#282186
RGBrgb(40, 33, 134)
HSLhsl(244, 60%, 33%)
HSVhsv(244, 75%, 53%)
CMYKcmyk(70.1%, 75.4%, 0%, 47.5%)
CIE-LABlab(21.05, 36.23, -55.01)
CIE-LCHlch(21.05, 65.87, 303.37°)
OKLaboklab(33.5% 0.0179 -0.159)
OKLCHoklch(33.5% 0.16 276.4)
XYZxyz(5.7206, 3.2595, 22.8773)
Luminance0.0326 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282186 #7F8621
analogous
#214D86 #282186 #5A2186
triadic
#282186 #862821 #218628
tetradic
#282186 #86214D #7F8621 #21865A
square
#282186 #86214D #7F8621 #21865A
split-complementary
#282186 #865A21 #4D8621
monochromatic
#0B0924 #191555 #282186 #372DB7 #574ED3

Accessibility & contrast

On white

12.71
#282186 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #282186
12.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282186#FFFFFF#000000##FFFFFF
##2821861.0012.711.6512.71
#FFFFFF12.711.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003789
Deuteranopia (green-blind)
#002E84
Tritanopia (blue-blind)
#003E51
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #282186;
/* rgb */ color: rgb(40, 33, 134);
/* oklch */ color: oklch(33.5% 0.160 276.4);
Tailwind
colors: {
  custom: {
    50: '#705eaa',
    500: '#282186',
    950: '#000000',
  },
}
SCSS
$custom: #282186;
$custom-light: #705eaa;
$custom-dark: #000000;
JSON
{
  "hex": "#282186",
  "rgb": {
    "r": 40,
    "g": 33,
    "b": 134
  },
  "hsl": {
    "h": 244.158,
    "s": 60.479,
    "l": 32.745
  },
  "oklch": {
    "l": 0.33502,
    "c": 0.15997,
    "h": 276.4
  },
  "luminance": 0.0326
}

Semantic roles & 50–950 ramp

primary
#282186
secondary
#AFB74C
accent
#E444D9
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #282186

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

Preview Lab → · Contrast checker → · Palette generator →

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