#282185#282185

#282185 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.4% C 0.159 H 276.6°. Best body text is #FFFFFF at 12.76:1 contrast (WCAG AA passes).

Color values

HEX#282185
RGBrgb(40, 33, 133)
HSLhsl(244, 60%, 33%)
HSVhsv(244, 75%, 52%)
CMYKcmyk(69.9%, 75.2%, 0%, 47.8%)
CIE-LABlab(20.95, 35.89, -54.56)
CIE-LCHlch(20.95, 65.30, 303.34°)
OKLaboklab(33.4% 0.0181 -0.1576)
OKLCHoklch(33.4% 0.159 276.6)
XYZxyz(5.6512, 3.2318, 22.5117)
Luminance0.0323 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282185 #7E8521
analogous
#214C85 #282185 #5A2185
triadic
#282185 #852821 #218528
tetradic
#282185 #85214C #7E8521 #21855A
square
#282185 #85214C #7E8521 #21855A
split-complementary
#282185 #855A21 #4C8521
monochromatic
#0B0923 #191554 #282185 #372DB6 #574DD3

Accessibility & contrast

On white

12.76
#282185 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #282185
12.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282185#FFFFFF#000000##FFFFFF
##2821851.0012.761.6512.76
#FFFFFF12.761.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003788
Deuteranopia (green-blind)
#002E83
Tritanopia (blue-blind)
#003D51
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #282185;
/* rgb */ color: rgb(40, 33, 133);
/* oklch */ color: oklch(33.4% 0.159 276.6);
Tailwind
colors: {
  custom: {
    50: '#705eaa',
    500: '#282185',
    950: '#000000',
  },
}
SCSS
$custom: #282185;
$custom-light: #705eaa;
$custom-dark: #000000;
JSON
{
  "hex": "#282185",
  "rgb": {
    "r": 40,
    "g": 33,
    "b": 133
  },
  "hsl": {
    "h": 244.2,
    "s": 60.241,
    "l": 32.549
  },
  "oklch": {
    "l": 0.33396,
    "c": 0.15868,
    "h": 276.6
  },
  "luminance": 0.03232
}

Semantic roles & 50–950 ramp

primary
#282185
secondary
#AFB64C
accent
#E344D8
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #282185

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

Preview Lab → · Contrast checker → · Palette generator →

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