#281C9D#281C9D

#281C9D is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.4% C 0.193 H 274.4°. Best body text is #FFFFFF at 12.05:1 contrast (WCAG AA passes).

Color values

HEX#281C9D
RGBrgb(40, 28, 157)
HSLhsl(246, 70%, 36%)
HSVhsv(246, 82%, 62%)
CMYKcmyk(74.5%, 82.2%, 0%, 38.4%)
CIE-LABlab(22.71, 46.41, -66.54)
CIE-LCHlch(22.71, 81.13, 304.90°)
OKLaboklab(35.42% 0.0147 -0.1924)
OKLCHoklch(35.42% 0.193 274.4)
XYZxyz(7.3741, 3.7152, 32.2202)
Luminance0.0372 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281C9D #919D1C
analogous
#1C519D #281C9D #691C9D
triadic
#281C9D #9D281C #1C9D28
tetradic
#281C9D #9D1C51 #919D1C #1C9D69
square
#281C9D #9D1C51 #919D1C #1C9D69
split-complementary
#281C9D #9D691C #519D1C
monochromatic
#0E0935 #1B1369 #281C9D #3525D1 #6053E0

Accessibility & contrast

On white

12.05
#281C9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#281C9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281C9D
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281C9D#FFFFFF#000000##FFFFFF
##281C9D1.0012.051.7412.05
#FFFFFF12.051.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003CA1
Deuteranopia (green-blind)
#00309B
Tritanopia (blue-blind)
#00455D
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #281c9d;
/* rgb */ color: rgb(40, 28, 157);
/* oklch */ color: oklch(35.4% 0.193 274.4);
Tailwind
colors: {
  custom: {
    50: '#765cbb',
    500: '#281c9d',
    950: '#000000',
  },
}
SCSS
$custom: #281c9d;
$custom-light: #765cbb;
$custom-dark: #000000;
JSON
{
  "hex": "#281c9d",
  "rgb": {
    "r": 40,
    "g": 28,
    "b": 157
  },
  "hsl": {
    "h": 245.581,
    "s": 69.73,
    "l": 36.275
  },
  "oklch": {
    "l": 0.35423,
    "c": 0.19299,
    "h": 274.4
  },
  "luminance": 0.03716
}

Semantic roles & 50–950 ramp

primary
#281C9D
secondary
#B9C351
accent
#ED3BDC
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #281C9D

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

Preview Lab → · Contrast checker → · Palette generator →

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