#281C9A#281C9A

#281C9A is a dark, vivid blue. Relative luminance 0.036; OKLCH L 35.1% C 0.189 H 274.7°. Best body text is #FFFFFF at 12.19:1 contrast (WCAG AA passes).

Color values

HEX#281C9A
RGBrgb(40, 28, 154)
HSLhsl(246, 69%, 36%)
HSVhsv(246, 82%, 60%)
CMYKcmyk(74%, 81.8%, 0%, 39.6%)
CIE-LABlab(22.35, 45.47, -65.29)
CIE-LCHlch(22.35, 79.57, 304.86°)
OKLaboklab(35.07% 0.0155 -0.1888)
OKLCHoklch(35.07% 0.189 274.7)
XYZxyz(7.1211, 3.6140, 30.8879)
Luminance0.0362 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281C9A #8E9A1C
analogous
#1C4F9A #281C9A #671C9A
triadic
#281C9A #9A281C #1C9A28
tetradic
#281C9A #9A1C4F #8E9A1C #1C9A67
square
#281C9A #9A1C4F #8E9A1C #1C9A67
split-complementary
#281C9A #9A671C #4F9A1C
monochromatic
#0D0932 #1B1366 #281C9A #3525CE #5F51DF

Accessibility & contrast

On white

12.19
#281C9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#281C9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281C9A
12.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281C9A#FFFFFF#000000##FFFFFF
##281C9A1.0012.191.7212.19
#FFFFFF12.191.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B9D
Deuteranopia (green-blind)
#003098
Tritanopia (blue-blind)
#00435C
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #281c9a;
/* rgb */ color: rgb(40, 28, 154);
/* oklch */ color: oklch(35.1% 0.189 274.7);
Tailwind
colors: {
  custom: {
    50: '#765cb9',
    500: '#281c9a',
    950: '#000000',
  },
}
SCSS
$custom: #281c9a;
$custom-light: #765cb9;
$custom-dark: #000000;
JSON
{
  "hex": "#281c9a",
  "rgb": {
    "r": 40,
    "g": 28,
    "b": 154
  },
  "hsl": {
    "h": 245.714,
    "s": 69.231,
    "l": 35.686
  },
  "oklch": {
    "l": 0.35074,
    "c": 0.18944,
    "h": 274.7
  },
  "luminance": 0.03615
}

Semantic roles & 50–950 ramp

primary
#281C9A
secondary
#B7C250
accent
#EC3CDB
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #281C9A

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

Preview Lab → · Contrast checker → · Palette generator →

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