#282382#282382

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

Color values

HEX#282382
RGBrgb(40, 35, 130)
HSLhsl(243, 58%, 32%)
HSVhsv(243, 73%, 51%)
CMYKcmyk(69.2%, 73.1%, 0%, 49%)
CIE-LABlab(21.07, 33.64, -52.46)
CIE-LCHlch(21.07, 62.32, 302.67°)
OKLaboklab(33.39% 0.0174 -0.1515)
OKLCHoklch(33.39% 0.153 276.6)
XYZxyz(5.5041, 3.2644, 21.4548)
Luminance0.0326 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282382 #7D8223
analogous
#234D82 #282382 #582382
triadic
#282382 #822823 #238228
tetradic
#282382 #82234D #7D8223 #238258
square
#282382 #82234D #7D8223 #238258
split-complementary
#282382 #825823 #4D8223
monochromatic
#0A0922 #191652 #282382 #3730B2 #5650D0

Accessibility & contrast

On white

12.70
#282382 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #282382
12.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282382#FFFFFF#000000##FFFFFF
##2823821.0012.701.6512.70
#FFFFFF12.701.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003785
Deuteranopia (green-blind)
#002E80
Tritanopia (blue-blind)
#003D50
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #282382;
/* rgb */ color: rgb(40, 35, 130);
/* oklch */ color: oklch(33.4% 0.153 276.6);
Tailwind
colors: {
  custom: {
    50: '#6f5fa7',
    500: '#282382',
    950: '#000000',
  },
}
SCSS
$custom: #282382;
$custom-light: #6f5fa7;
$custom-dark: #000000;
JSON
{
  "hex": "#282382",
  "rgb": {
    "r": 40,
    "g": 35,
    "b": 130
  },
  "hsl": {
    "h": 243.158,
    "s": 57.576,
    "l": 32.353
  },
  "oklch": {
    "l": 0.3339,
    "c": 0.15253,
    "h": 276.6
  },
  "luminance": 0.03265
}

Semantic roles & 50–950 ramp

primary
#282382
secondary
#AEB34D
accent
#E147D9
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #282382

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

Preview Lab → · Contrast checker → · Palette generator →

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