#282284#282284

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

Color values

HEX#282284
RGBrgb(40, 34, 132)
HSLhsl(244, 59%, 33%)
HSVhsv(244, 74%, 52%)
CMYKcmyk(69.7%, 74.2%, 0%, 48.2%)
CIE-LABlab(21.06, 34.95, -53.75)
CIE-LCHlch(21.06, 64.11, 303.03°)
OKLaboklab(33.44% 0.0177 -0.1553)
OKLCHoklch(33.44% 0.156 276.5)
XYZxyz(5.6106, 3.2606, 22.1590)
Luminance0.0326 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282284 #7E8422
analogous
#224D84 #282284 #592284
triadic
#282284 #842822 #228428
tetradic
#282284 #84224D #7E8422 #228459
square
#282284 #84224D #7E8422 #228459
split-complementary
#282284 #845922 #4D8422
monochromatic
#0B0923 #191553 #282284 #372FB5 #574FD2

Accessibility & contrast

On white

12.71
#282284 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #282284
12.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282284#FFFFFF#000000##FFFFFF
##2822841.0012.711.6512.71
#FFFFFF12.711.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003787
Deuteranopia (green-blind)
#002E82
Tritanopia (blue-blind)
#003D51
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #282284;
/* rgb */ color: rgb(40, 34, 132);
/* oklch */ color: oklch(33.4% 0.156 276.5);
Tailwind
colors: {
  custom: {
    50: '#705ea9',
    500: '#282284',
    950: '#000000',
  },
}
SCSS
$custom: #282284;
$custom-light: #705ea9;
$custom-dark: #000000;
JSON
{
  "hex": "#282284",
  "rgb": {
    "r": 40,
    "g": 34,
    "b": 132
  },
  "hsl": {
    "h": 243.673,
    "s": 59.036,
    "l": 32.549
  },
  "oklch": {
    "l": 0.33442,
    "c": 0.15629,
    "h": 276.5
  },
  "luminance": 0.03261
}

Semantic roles & 50–950 ramp

primary
#282284
secondary
#AFB54D
accent
#E246D9
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #282284

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

Preview Lab → · Contrast checker → · Palette generator →

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