#282584#282584

#282584 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.9% C 0.153 H 275.9°. Best body text is #FFFFFF at 12.44:1 contrast (WCAG AA passes).

Color values

HEX#282584
RGBrgb(40, 37, 132)
HSLhsl(242, 56%, 33%)
HSVhsv(242, 72%, 52%)
CMYKcmyk(69.7%, 72%, 0%, 48.2%)
CIE-LABlab(21.73, 33.10, -52.65)
CIE-LCHlch(21.73, 62.19, 302.16°)
OKLaboklab(33.92% 0.0157 -0.1521)
OKLCHoklch(33.92% 0.153 275.9)
XYZxyz(5.7001, 3.4397, 22.1889)
Luminance0.0344 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282584 #818425
analogous
#255184 #282584 #572584
triadic
#282584 #842825 #258428
tetradic
#282584 #842551 #818425 #258457
square
#282584 #842551 #818425 #258457
split-complementary
#282584 #845725 #518425
monochromatic
#0B0A24 #1A1854 #282584 #3632B4 #5854CF

Accessibility & contrast

On white

12.44
#282584 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#282584 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282584
12.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282584#FFFFFF#000000##FFFFFF
##2825841.0012.441.6912.44
#FFFFFF12.441.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003887
Deuteranopia (green-blind)
#003082
Tritanopia (blue-blind)
#003F51
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #282584;
/* rgb */ color: rgb(40, 37, 132);
/* oklch */ color: oklch(33.9% 0.153 275.9);
Tailwind
colors: {
  custom: {
    50: '#7060a9',
    500: '#282584',
    950: '#000000',
  },
}
SCSS
$custom: #282584;
$custom-light: #7060a9;
$custom-dark: #000000;
JSON
{
  "hex": "#282584",
  "rgb": {
    "r": 40,
    "g": 37,
    "b": 132
  },
  "hsl": {
    "h": 241.895,
    "s": 56.213,
    "l": 33.137
  },
  "oklch": {
    "l": 0.33919,
    "c": 0.1529,
    "h": 275.9
  },
  "luminance": 0.0344
}

Semantic roles & 50–950 ramp

primary
#282584
secondary
#B0B351
accent
#E048DB
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #282584

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

Preview Lab → · Contrast checker → · Palette generator →

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