#281DAC#281DAC

#281DAC is a dark, highly saturated blue. Relative luminance 0.043; OKLCH L 37.3% C 0.210 H 272.9°. Best body text is #FFFFFF at 11.28:1 contrast (WCAG AA passes).

Color values

HEX#281DAC
RGBrgb(40, 29, 172)
HSLhsl(245, 71%, 39%)
HSVhsv(245, 83%, 67%)
CMYKcmyk(76.7%, 83.1%, 0%, 32.5%)
CIE-LABlab(24.66, 50.57, -72.40)
CIE-LCHlch(24.66, 88.31, 304.93°)
OKLaboklab(37.3% 0.0104 -0.2094)
OKLCHoklch(37.3% 0.21 272.9)
XYZxyz(8.7583, 4.3075, 39.3916)
Luminance0.0431 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281DAC #A1AC1D
analogous
#1D5AAC #281DAC #6F1DAC
triadic
#281DAC #AC281D #1DAC28
tetradic
#281DAC #AC1D5A #A1AC1D #1DAC6F
square
#281DAC #AC1D5A #A1AC1D #1DAC6F
split-complementary
#281DAC #AC6F1D #5AAC1D
monochromatic
#100B43 #1C1478 #281DAC #392BDB #6A5FE4

Accessibility & contrast

On white

11.28
#281DAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#281DAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281DAC
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281DAC#FFFFFF#000000##FFFFFF
##281DAC1.0011.281.8611.28
#FFFFFF11.281.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041B0
Deuteranopia (green-blind)
#0034AA
Tritanopia (blue-blind)
#004B66
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #281dac;
/* rgb */ color: rgb(40, 29, 172);
/* oklch */ color: oklch(37.3% 0.210 272.9);
Tailwind
colors: {
  custom: {
    50: '#7a5ec6',
    500: '#281dac',
    950: '#000000',
  },
}
SCSS
$custom: #281dac;
$custom-light: #7a5ec6;
$custom-dark: #000000;
JSON
{
  "hex": "#281dac",
  "rgb": {
    "r": 40,
    "g": 29,
    "b": 172
  },
  "hsl": {
    "h": 244.615,
    "s": 71.144,
    "l": 39.412
  },
  "oklch": {
    "l": 0.37295,
    "c": 0.2097,
    "h": 272.9
  },
  "luminance": 0.04308
}

Semantic roles & 50–950 ramp

primary
#281DAC
secondary
#C0C85C
accent
#EE3AE0
background
#F8F5FC
surface
#EFE9F8
border
#CAC5D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #281DAC

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

Preview Lab → · Contrast checker → · Palette generator →

#281DAC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva