#282387#282387

#282387 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.9% C 0.159 H 275.9°. Best body text is #FFFFFF at 12.50:1 contrast (WCAG AA passes).

Color values

HEX#282387
RGBrgb(40, 35, 135)
HSLhsl(243, 59%, 33%)
HSVhsv(243, 74%, 53%)
CMYKcmyk(70.4%, 74.1%, 0%, 47.1%)
CIE-LABlab(21.59, 35.38, -54.76)
CIE-LCHlch(21.59, 65.20, 302.86°)
OKLaboklab(33.91% 0.0165 -0.1582)
OKLCHoklch(33.91% 0.159 275.9)
XYZxyz(5.8478, 3.4019, 23.2654)
Luminance0.0340 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282387 #828723
analogous
#235087 #282387 #5A2387
triadic
#282387 #872823 #238728
tetradic
#282387 #872350 #828723 #23875A
square
#282387 #872350 #828723 #23875A
split-complementary
#282387 #875A23 #508723
monochromatic
#0B0A26 #1A1656 #282387 #3630B8 #5952D2

Accessibility & contrast

On white

12.50
#282387 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#282387 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282387
12.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282387#FFFFFF#000000##FFFFFF
##2823871.0012.501.6812.50
#FFFFFF12.501.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00388A
Deuteranopia (green-blind)
#002F85
Tritanopia (blue-blind)
#003F52
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #282387;
/* rgb */ color: rgb(40, 35, 135);
/* oklch */ color: oklch(33.9% 0.159 275.9);
Tailwind
colors: {
  custom: {
    50: '#705fab',
    500: '#282387',
    950: '#000000',
  },
}
SCSS
$custom: #282387;
$custom-light: #705fab;
$custom-dark: #000000;
JSON
{
  "hex": "#282387",
  "rgb": {
    "r": 40,
    "g": 35,
    "b": 135
  },
  "hsl": {
    "h": 243,
    "s": 58.824,
    "l": 33.333
  },
  "oklch": {
    "l": 0.33912,
    "c": 0.15911,
    "h": 275.9
  },
  "luminance": 0.03402
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #282387

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

Preview Lab → · Contrast checker → · Palette generator →

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