#281985#281985

#281985 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.3% C 0.167 H 277.8°. Best body text is #FFFFFF at 13.39:1 contrast (WCAG AA passes).

Color values

HEX#281985
RGBrgb(40, 25, 133)
HSLhsl(248, 68%, 31%)
HSVhsv(248, 81%, 52%)
CMYKcmyk(69.9%, 81.2%, 0%, 47.8%)
CIE-LABlab(19.39, 40.33, -57.13)
CIE-LCHlch(19.39, 69.93, 305.22°)
OKLaboklab(32.3% 0.0227 -0.1651)
OKLCHoklch(32.3% 0.167 277.8)
XYZxyz(5.4550, 2.8394, 22.4463)
Luminance0.0284 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281985 #768519
analogous
#194085 #281985 #5E1985
triadic
#281985 #852819 #198528
tetradic
#281985 #851940 #768519 #19855E
square
#281985 #851940 #768519 #19855E
split-complementary
#281985 #855E19 #408519
monochromatic
#09061E #190F51 #281985 #3723B9 #543EDB

Accessibility & contrast

On white

13.39
#281985 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#281985 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281985
13.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281985#FFFFFF#000000##FFFFFF
##2819851.0013.391.5713.39
#FFFFFF13.391.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003388
Deuteranopia (green-blind)
#002A83
Tritanopia (blue-blind)
#003A4F
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #281985;
/* rgb */ color: rgb(40, 25, 133);
/* oklch */ color: oklch(32.3% 0.167 277.8);
Tailwind
colors: {
  custom: {
    50: '#7159aa',
    500: '#281985',
    950: '#000000',
  },
}
SCSS
$custom: #281985;
$custom-light: #7159aa;
$custom-dark: #000000;
JSON
{
  "hex": "#281985",
  "rgb": {
    "r": 40,
    "g": 25,
    "b": 133
  },
  "hsl": {
    "h": 248.333,
    "s": 68.354,
    "l": 30.98
  },
  "oklch": {
    "l": 0.32298,
    "c": 0.16661,
    "h": 277.8
  },
  "luminance": 0.0284
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #281985

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

Preview Lab → · Contrast checker → · Palette generator →

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