#281DC9#281DC9

#281DC9 is a dark, highly saturated blue. Relative luminance 0.055; OKLCH L 40.8% C 0.242 H 270.7°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#281DC9
RGBrgb(40, 29, 201)
HSLhsl(244, 75%, 45%)
HSVhsv(244, 86%, 79%)
CMYKcmyk(80.1%, 85.6%, 0%, 21.2%)
CIE-LABlab(28.24, 59.14, -83.68)
CIE-LCHlch(28.24, 102.47, 305.25°)
OKLaboklab(40.77% 0.0032 -0.2421)
OKLCHoklch(40.77% 0.242 270.7)
XYZxyz(11.8535, 5.5455, 55.6927)
Luminance0.0555 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281DC9 #BEC91D
analogous
#1D68C9 #281DC9 #7E1DC9
triadic
#281DC9 #C9281D #1DC928
tetradic
#281DC9 #C91D68 #BEC91D #1DC97E
square
#281DC9 #C91D68 #BEC91D #1DC97E
split-complementary
#281DC9 #C97E1D #68C91D
monochromatic
#130E5E #1D1594 #281DC9 #4A40E3 #7D75EB

Accessibility & contrast

On white

9.96
#281DC9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#281DC9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281DC9
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281DC9#FFFFFF#000000##FFFFFF
##281DC91.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BCD
Deuteranopia (green-blind)
#003AC6
Tritanopia (blue-blind)
#005777
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #281dc9;
/* rgb */ color: rgb(40, 29, 201);
/* oklch */ color: oklch(40.8% 0.242 270.7);
Tailwind
colors: {
  custom: {
    50: '#8160db',
    500: '#281dc9',
    950: '#000000',
  },
}
SCSS
$custom: #281dc9;
$custom-light: #8160db;
$custom-dark: #000000;
JSON
{
  "hex": "#281dc9",
  "rgb": {
    "r": 40,
    "g": 29,
    "b": 201
  },
  "hsl": {
    "h": 243.837,
    "s": 74.783,
    "l": 45.098
  },
  "oklch": {
    "l": 0.40769,
    "c": 0.24208,
    "h": 270.7
  },
  "luminance": 0.05547
}

Semantic roles & 50–950 ramp

primary
#281DC9
secondary
#CCD270
accent
#F136E5
background
#F9F5FD
surface
#F1EAFB
border
#CBC6D4
text
#0D0515
muted
#7E7983

Preview Lab

Preview with #281DC9

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

Preview Lab → · Contrast checker → · Palette generator →

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