#282386#282386

#282386 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.8% C 0.158 H 276.1°. Best body text is #FFFFFF at 12.54:1 contrast (WCAG AA passes).

Color values

HEX#282386
RGBrgb(40, 35, 134)
HSLhsl(243, 59%, 33%)
HSVhsv(243, 74%, 53%)
CMYKcmyk(70.1%, 73.9%, 0%, 47.5%)
CIE-LABlab(21.48, 35.03, -54.31)
CIE-LCHlch(21.48, 64.63, 302.83°)
OKLaboklab(33.81% 0.0167 -0.1569)
OKLCHoklch(33.81% 0.158 276.1)
XYZxyz(5.7778, 3.3739, 22.8964)
Luminance0.0337 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282386 #818623
analogous
#234F86 #282386 #592386
triadic
#282386 #862823 #238628
tetradic
#282386 #86234F #818623 #238659
square
#282386 #86234F #818623 #238659
split-complementary
#282386 #865923 #4F8623
monochromatic
#0B0A25 #1A1655 #282386 #3630B7 #5852D2

Accessibility & contrast

On white

12.54
#282386 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#282386 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282386
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282386#FFFFFF#000000##FFFFFF
##2823861.0012.541.6712.54
#FFFFFF12.541.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003889
Deuteranopia (green-blind)
#002F84
Tritanopia (blue-blind)
#003F52
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #282386;
/* rgb */ color: rgb(40, 35, 134);
/* oklch */ color: oklch(33.8% 0.158 276.1);
Tailwind
colors: {
  custom: {
    50: '#705faa',
    500: '#282386',
    950: '#000000',
  },
}
SCSS
$custom: #282386;
$custom-light: #705faa;
$custom-dark: #000000;
JSON
{
  "hex": "#282386",
  "rgb": {
    "r": 40,
    "g": 35,
    "b": 134
  },
  "hsl": {
    "h": 243.03,
    "s": 58.58,
    "l": 33.137
  },
  "oklch": {
    "l": 0.33807,
    "c": 0.1578,
    "h": 276.1
  },
  "luminance": 0.03374
}

Semantic roles & 50–950 ramp

primary
#282386
secondary
#B0B54F
accent
#E246DA
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #282386

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

Preview Lab → · Contrast checker → · Palette generator →

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