#282182#282182

#282182 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.1% C 0.155 H 277.0°. Best body text is #FFFFFF at 12.88:1 contrast (WCAG AA passes).

Color values

HEX#282182
RGBrgb(40, 33, 130)
HSLhsl(244, 60%, 32%)
HSVhsv(244, 75%, 51%)
CMYKcmyk(69.2%, 74.6%, 0%, 49%)
CIE-LABlab(20.64, 34.86, -53.18)
CIE-LCHlch(20.64, 63.59, 303.24°)
OKLaboklab(33.08% 0.0188 -0.1536)
OKLCHoklch(33.08% 0.155 277)
XYZxyz(5.4469, 3.1501, 21.4357)
Luminance0.0315 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282182 #7B8221
analogous
#214B82 #282182 #592182
triadic
#282182 #822821 #218228
tetradic
#282182 #82214B #7B8221 #218259
square
#282182 #82214B #7B8221 #218259
split-complementary
#282182 #825921 #4B8221
monochromatic
#0A0820 #191551 #282182 #372DB3 #564CD2

Accessibility & contrast

On white

12.88
#282182 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#282182 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282182
12.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282182#FFFFFF#000000##FFFFFF
##2821821.0012.881.6312.88
#FFFFFF12.881.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.881.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #282182;
/* rgb */ color: rgb(40, 33, 130);
/* oklch */ color: oklch(33.1% 0.155 277.0);
Tailwind
colors: {
  custom: {
    50: '#705ea7',
    500: '#282182',
    950: '#000000',
  },
}
SCSS
$custom: #282182;
$custom-light: #705ea7;
$custom-dark: #000000;
JSON
{
  "hex": "#282182",
  "rgb": {
    "r": 40,
    "g": 33,
    "b": 130
  },
  "hsl": {
    "h": 244.33,
    "s": 59.509,
    "l": 31.961
  },
  "oklch": {
    "l": 0.33078,
    "c": 0.15477,
    "h": 277
  },
  "luminance": 0.03151
}

Semantic roles & 50–950 ramp

primary
#282182
secondary
#ADB44A
accent
#E345D7
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #282182

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

Preview Lab → · Contrast checker → · Palette generator →

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