#281983#281983

#281983 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.1% C 0.164 H 278.2°. Best body text is #FFFFFF at 13.49:1 contrast (WCAG AA passes).

Color values

HEX#281983
RGBrgb(40, 25, 131)
HSLhsl(248, 68%, 31%)
HSVhsv(248, 81%, 51%)
CMYKcmyk(69.5%, 80.9%, 0%, 48.6%)
CIE-LABlab(19.16, 39.69, -56.25)
CIE-LCHlch(19.16, 68.84, 305.21°)
OKLaboklab(32.07% 0.0233 -0.1625)
OKLCHoklch(32.07% 0.164 278.2)
XYZxyz(5.3181, 2.7846, 21.7256)
Luminance0.0278 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281983 #748319
analogous
#193F83 #281983 #5D1983
triadic
#281983 #832819 #198328
tetradic
#281983 #83193F #748319 #19835D
square
#281983 #83193F #748319 #19835D
split-complementary
#281983 #835D19 #3F8319
monochromatic
#09051C #180F50 #281983 #3823B6 #533DDA

Accessibility & contrast

On white

13.49
#281983 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #281983
13.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281983#FFFFFF#000000##FFFFFF
##2819831.0013.491.5613.49
#FFFFFF13.491.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003386
Deuteranopia (green-blind)
#002A81
Tritanopia (blue-blind)
#00394E
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #281983;
/* rgb */ color: rgb(40, 25, 131);
/* oklch */ color: oklch(32.1% 0.164 278.2);
Tailwind
colors: {
  custom: {
    50: '#7159a8',
    500: '#281983',
    950: '#000000',
  },
}
SCSS
$custom: #281983;
$custom-light: #7159a8;
$custom-dark: #000000;
JSON
{
  "hex": "#281983",
  "rgb": {
    "r": 40,
    "g": 25,
    "b": 131
  },
  "hsl": {
    "h": 248.491,
    "s": 67.949,
    "l": 30.588
  },
  "oklch": {
    "l": 0.3207,
    "c": 0.16415,
    "h": 278.2
  },
  "luminance": 0.02785
}

Semantic roles & 50–950 ramp

primary
#281983
secondary
#A6B741
accent
#EB3DD2
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #281983

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

Preview Lab → · Contrast checker → · Palette generator →

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