#281984#281984

#281984 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.2% C 0.165 H 278.0°. Best body text is #FFFFFF at 13.44:1 contrast (WCAG AA passes).

Color values

HEX#281984
RGBrgb(40, 25, 132)
HSLhsl(248, 68%, 31%)
HSVhsv(248, 81%, 52%)
CMYKcmyk(69.7%, 81.1%, 0%, 48.2%)
CIE-LABlab(19.27, 40.01, -56.69)
CIE-LCHlch(19.27, 69.39, 305.21°)
OKLaboklab(32.18% 0.023 -0.1638)
OKLCHoklch(32.18% 0.165 278)
XYZxyz(5.3862, 2.8119, 22.0842)
Luminance0.0281 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281984 #758419
analogous
#193F84 #281984 #5D1984
triadic
#281984 #842819 #198428
tetradic
#281984 #84193F #758419 #19845D
square
#281984 #84193F #758419 #19845D
split-complementary
#281984 #845D19 #3F8419
monochromatic
#09061D #180F51 #281984 #3823B7 #533DDA

Accessibility & contrast

On white

13.44
#281984 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#281984 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281984
13.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281984#FFFFFF#000000##FFFFFF
##2819841.0013.441.5613.44
#FFFFFF13.441.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003387
Deuteranopia (green-blind)
#002A82
Tritanopia (blue-blind)
#00394E
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #281984;
/* rgb */ color: rgb(40, 25, 132);
/* oklch */ color: oklch(32.2% 0.165 278.0);
Tailwind
colors: {
  custom: {
    50: '#7159a9',
    500: '#281984',
    950: '#000000',
  },
}
SCSS
$custom: #281984;
$custom-light: #7159a9;
$custom-dark: #000000;
JSON
{
  "hex": "#281984",
  "rgb": {
    "r": 40,
    "g": 25,
    "b": 132
  },
  "hsl": {
    "h": 248.411,
    "s": 68.153,
    "l": 30.784
  },
  "oklch": {
    "l": 0.32184,
    "c": 0.16539,
    "h": 278
  },
  "luminance": 0.02812
}

Semantic roles & 50–950 ramp

primary
#281984
secondary
#A7B841
accent
#EB3DD3
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #281984

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

Preview Lab → · Contrast checker → · Palette generator →

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