#281D9D#281D9D

#281D9D is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.5% C 0.192 H 274.3°. Best body text is #FFFFFF at 11.98:1 contrast (WCAG AA passes).

Color values

HEX#281D9D
RGBrgb(40, 29, 157)
HSLhsl(245, 69%, 36%)
HSVhsv(245, 82%, 62%)
CMYKcmyk(74.5%, 81.5%, 0%, 38.4%)
CIE-LABlab(22.87, 45.93, -66.26)
CIE-LCHlch(22.87, 80.62, 304.73°)
OKLaboklab(35.54% 0.0144 -0.1916)
OKLCHoklch(35.54% 0.192 274.3)
XYZxyz(7.3982, 3.7634, 32.2283)
Luminance0.0376 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281D9D #929D1D
analogous
#1D529D #281D9D #681D9D
triadic
#281D9D #9D281D #1D9D28
tetradic
#281D9D #9D1D52 #929D1D #1D9D68
square
#281D9D #9D1D52 #929D1D #1D9D68
split-complementary
#281D9D #9D681D #529D1D
monochromatic
#0E0A36 #1B1369 #281D9D #3527D1 #6155E0

Accessibility & contrast

On white

11.98
#281D9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#281D9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281D9D
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281D9D#FFFFFF#000000##FFFFFF
##281D9D1.0011.981.7511.98
#FFFFFF11.981.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003CA1
Deuteranopia (green-blind)
#00319B
Tritanopia (blue-blind)
#00455E
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #281d9d;
/* rgb */ color: rgb(40, 29, 157);
/* oklch */ color: oklch(35.5% 0.192 274.3);
Tailwind
colors: {
  custom: {
    50: '#765dbb',
    500: '#281d9d',
    950: '#000000',
  },
}
SCSS
$custom: #281d9d;
$custom-light: #765dbb;
$custom-dark: #000000;
JSON
{
  "hex": "#281d9d",
  "rgb": {
    "r": 40,
    "g": 29,
    "b": 157
  },
  "hsl": {
    "h": 245.156,
    "s": 68.817,
    "l": 36.471
  },
  "oklch": {
    "l": 0.35538,
    "c": 0.19219,
    "h": 274.3
  },
  "luminance": 0.03764
}

Semantic roles & 50–950 ramp

primary
#281D9D
secondary
#B9C353
accent
#EC3CDD
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #281D9D

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

Preview Lab → · Contrast checker → · Palette generator →

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