#282082#282082

#282082 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.9% C 0.156 H 277.2°. Best body text is #FFFFFF at 12.97:1 contrast (WCAG AA passes).

Color values

HEX#282082
RGBrgb(40, 32, 130)
HSLhsl(245, 60%, 32%)
HSVhsv(245, 75%, 51%)
CMYKcmyk(69.2%, 75.4%, 0%, 49%)
CIE-LABlab(20.42, 35.46, -53.53)
CIE-LCHlch(20.42, 64.21, 303.52°)
OKLaboklab(32.93% 0.0194 -0.1546)
OKLCHoklch(32.93% 0.156 277.2)
XYZxyz(5.4195, 3.0954, 21.4266)
Luminance0.0310 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282082 #7A8220
analogous
#204982 #282082 #592082
triadic
#282082 #822820 #208228
tetradic
#282082 #822049 #7A8220 #208259
square
#282082 #822049 #7A8220 #208259
split-complementary
#282082 #825920 #498220
monochromatic
#0A0820 #191451 #282082 #372CB3 #554AD2

Accessibility & contrast

On white

12.97
#282082 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#282082 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282082
12.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282082#FFFFFF#000000##FFFFFF
##2820821.0012.971.6212.97
#FFFFFF12.971.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003585
Deuteranopia (green-blind)
#002D80
Tritanopia (blue-blind)
#003C4F
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #282082;
/* rgb */ color: rgb(40, 32, 130);
/* oklch */ color: oklch(32.9% 0.156 277.2);
Tailwind
colors: {
  custom: {
    50: '#705da7',
    500: '#282082',
    950: '#000000',
  },
}
SCSS
$custom: #282082;
$custom-light: #705da7;
$custom-dark: #000000;
JSON
{
  "hex": "#282082",
  "rgb": {
    "r": 40,
    "g": 32,
    "b": 130
  },
  "hsl": {
    "h": 244.898,
    "s": 60.494,
    "l": 31.765
  },
  "oklch": {
    "l": 0.32926,
    "c": 0.15586,
    "h": 277.2
  },
  "luminance": 0.03096
}

Semantic roles & 50–950 ramp

primary
#282082
secondary
#ACB549
accent
#E444D7
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #282082

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

Preview Lab → · Contrast checker → · Palette generator →

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