#282282#282282

#282282 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.2% C 0.154 H 276.8°. Best body text is #FFFFFF at 12.79:1 contrast (WCAG AA passes).

Color values

HEX#282282
RGBrgb(40, 34, 130)
HSLhsl(244, 59%, 32%)
HSVhsv(244, 74%, 51%)
CMYKcmyk(69.2%, 73.8%, 0%, 49%)
CIE-LABlab(20.85, 34.26, -52.83)
CIE-LCHlch(20.85, 62.96, 302.96°)
OKLaboklab(33.23% 0.0181 -0.1526)
OKLCHoklch(33.23% 0.154 276.8)
XYZxyz(5.4751, 3.2064, 21.4451)
Luminance0.0321 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282282 #7C8222
analogous
#224C82 #282282 #582282
triadic
#282282 #822822 #228228
tetradic
#282282 #82224C #7C8222 #228258
square
#282282 #82224C #7C8222 #228258
split-complementary
#282282 #825822 #4C8222
monochromatic
#0A0921 #191551 #282282 #372FB3 #564ED1

Accessibility & contrast

On white

12.79
#282282 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#282282 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282282
12.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282282#FFFFFF#000000##FFFFFF
##2822821.0012.791.6412.79
#FFFFFF12.791.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #282282;
/* rgb */ color: rgb(40, 34, 130);
/* oklch */ color: oklch(33.2% 0.154 276.8);
Tailwind
colors: {
  custom: {
    50: '#6f5ea7',
    500: '#282282',
    950: '#000000',
  },
}
SCSS
$custom: #282282;
$custom-light: #6f5ea7;
$custom-dark: #000000;
JSON
{
  "hex": "#282282",
  "rgb": {
    "r": 40,
    "g": 34,
    "b": 130
  },
  "hsl": {
    "h": 243.75,
    "s": 58.537,
    "l": 32.157
  },
  "oklch": {
    "l": 0.33232,
    "c": 0.15366,
    "h": 276.8
  },
  "luminance": 0.03207
}

Semantic roles & 50–950 ramp

primary
#282282
secondary
#ADB44C
accent
#E246D8
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #282282

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

Preview Lab → · Contrast checker → · Palette generator →

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