#281993#281993

#281993 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.9% C 0.184 H 275.8°. Best body text is #FFFFFF at 12.72:1 contrast (WCAG AA passes).

Color values

HEX#281993
RGBrgb(40, 25, 147)
HSLhsl(247, 71%, 34%)
HSVhsv(247, 83%, 58%)
CMYKcmyk(72.8%, 83%, 0%, 42.4%)
CIE-LABlab(21.03, 44.74, -63.17)
CIE-LCHlch(21.03, 77.40, 305.31°)
OKLaboklab(33.92% 0.0186 -0.1826)
OKLCHoklch(33.92% 0.184 275.8)
XYZxyz(6.4874, 3.2523, 27.8840)
Luminance0.0325 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281993 #849319
analogous
#194793 #281993 #651993
triadic
#281993 #932819 #199328
tetradic
#281993 #931947 #849319 #199365
square
#281993 #931947 #849319 #199365
split-complementary
#281993 #936519 #479319
monochromatic
#0C072A #1A105F #281993 #3622C7 #5A47E0

Accessibility & contrast

On white

12.72
#281993 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #281993
12.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281993#FFFFFF#000000##FFFFFF
##2819931.0012.721.6512.72
#FFFFFF12.721.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003896
Deuteranopia (green-blind)
#002D91
Tritanopia (blue-blind)
#003F57
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #281993;
/* rgb */ color: rgb(40, 25, 147);
/* oklch */ color: oklch(33.9% 0.184 275.8);
Tailwind
colors: {
  custom: {
    50: '#745ab4',
    500: '#281993',
    950: '#000000',
  },
}
SCSS
$custom: #281993;
$custom-light: #745ab4;
$custom-dark: #000000;
JSON
{
  "hex": "#281993",
  "rgb": {
    "r": 40,
    "g": 25,
    "b": 147
  },
  "hsl": {
    "h": 247.377,
    "s": 70.93,
    "l": 33.725
  },
  "oklch": {
    "l": 0.33915,
    "c": 0.18354,
    "h": 275.8
  },
  "luminance": 0.03253
}

Semantic roles & 50–950 ramp

primary
#281993
secondary
#B2C147
accent
#EE3AD8
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #281993

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

Preview Lab → · Contrast checker → · Palette generator →

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