#282984#282984

#282984 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.6% C 0.148 H 274.9°. Best body text is #FFFFFF at 12.06:1 contrast (WCAG AA passes).

Color values

HEX#282984
RGBrgb(40, 41, 132)
HSLhsl(239, 53%, 34%)
HSVhsv(239, 70%, 52%)
CMYKcmyk(69.7%, 68.9%, 0%, 48.2%)
CIE-LABlab(22.66, 30.56, -51.11)
CIE-LCHlch(22.66, 59.55, 300.87°)
OKLaboklab(34.6% 0.0128 -0.1476)
OKLCHoklch(34.6% 0.148 274.9)
XYZxyz(5.8315, 3.7024, 22.2326)
Luminance0.0370 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282984 #848328
analogous
#285784 #282984 #552884
triadic
#282984 #842829 #298428
tetradic
#282984 #842857 #848328 #288455
square
#282984 #842857 #848328 #288455
split-complementary
#282984 #845528 #578428
monochromatic
#0C0C26 #1A1A55 #282984 #3638B3 #5A5BCD

Accessibility & contrast

On white

12.06
#282984 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#282984 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282984
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282984#FFFFFF#000000##FFFFFF
##2829841.0012.061.7412.06
#FFFFFF12.061.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A87
Deuteranopia (green-blind)
#003282
Tritanopia (blue-blind)
#004153
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #282984;
/* rgb */ color: rgb(40, 41, 132);
/* oklch */ color: oklch(34.6% 0.148 274.9);
Tailwind
colors: {
  custom: {
    50: '#6f63a9',
    500: '#282984',
    950: '#000000',
  },
}
SCSS
$custom: #282984;
$custom-light: #6f63a9;
$custom-dark: #000000;
JSON
{
  "hex": "#282984",
  "rgb": {
    "r": 40,
    "g": 41,
    "b": 132
  },
  "hsl": {
    "h": 239.348,
    "s": 53.488,
    "l": 33.725
  },
  "oklch": {
    "l": 0.34595,
    "c": 0.14813,
    "h": 274.9
  },
  "luminance": 0.03703
}

Semantic roles & 50–950 ramp

primary
#282984
secondary
#B2B156
accent
#DB4BDD
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #282984

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

Preview Lab → · Contrast checker → · Palette generator →

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