#282986#282986

#282986 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.8% C 0.151 H 274.8°. Best body text is #FFFFFF at 11.99:1 contrast (WCAG AA passes).

Color values

HEX#282986
RGBrgb(40, 41, 134)
HSLhsl(239, 54%, 34%)
HSVhsv(239, 70%, 53%)
CMYKcmyk(70.1%, 69.4%, 0%, 47.5%)
CIE-LABlab(22.85, 31.28, -52.05)
CIE-LCHlch(22.85, 60.73, 301.00°)
OKLaboklab(34.79% 0.0125 -0.1503)
OKLCHoklch(34.79% 0.151 274.8)
XYZxyz(5.9697, 3.7577, 22.9603)
Luminance0.0376 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282986 #868528
analogous
#285886 #282986 #562886
triadic
#282986 #862829 #298628
tetradic
#282986 #862858 #868528 #288656
square
#282986 #862858 #868528 #288656
split-complementary
#282986 #865628 #588628
monochromatic
#0C0C28 #1A1B57 #282986 #3637B5 #5B5CCE

Accessibility & contrast

On white

11.99
#282986 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#282986 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282986
11.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282986#FFFFFF#000000##FFFFFF
##2829861.0011.991.7511.99
#FFFFFF11.991.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B89
Deuteranopia (green-blind)
#003284
Tritanopia (blue-blind)
#004254
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #282986;
/* rgb */ color: rgb(40, 41, 134);
/* oklch */ color: oklch(34.8% 0.151 274.8);
Tailwind
colors: {
  custom: {
    50: '#7063aa',
    500: '#282986',
    950: '#000000',
  },
}
SCSS
$custom: #282986;
$custom-light: #7063aa;
$custom-dark: #000000;
JSON
{
  "hex": "#282986",
  "rgb": {
    "r": 40,
    "g": 41,
    "b": 134
  },
  "hsl": {
    "h": 239.362,
    "s": 54.023,
    "l": 34.118
  },
  "oklch": {
    "l": 0.34792,
    "c": 0.15086,
    "h": 274.8
  },
  "luminance": 0.03758
}

Semantic roles & 50–950 ramp

primary
#282986
secondary
#B3B257
accent
#DC4ADD
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #282986

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

Preview Lab → · Contrast checker → · Palette generator →

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