#281D9E#281D9E

#281D9E is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.7% C 0.193 H 274.2°. Best body text is #FFFFFF at 11.93:1 contrast (WCAG AA passes).

Color values

HEX#281D9E
RGBrgb(40, 29, 158)
HSLhsl(245, 69%, 37%)
HSVhsv(245, 82%, 62%)
CMYKcmyk(74.7%, 81.6%, 0%, 38%)
CIE-LABlab(22.99, 46.24, -66.68)
CIE-LCHlch(22.99, 81.15, 304.74°)
OKLaboklab(35.65% 0.0141 -0.1929)
OKLCHoklch(35.65% 0.193 274.2)
XYZxyz(7.4839, 3.7977, 32.6797)
Luminance0.0380 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281D9E #939E1D
analogous
#1D539E #281D9E #691D9E
triadic
#281D9E #9E281D #1D9E28
tetradic
#281D9E #9E1D53 #939E1D #1D9E69
square
#281D9E #9E1D53 #939E1D #1D9E69
split-complementary
#281D9E #9E691D #539E1D
monochromatic
#0E0A37 #1B146A #281D9E #3526D2 #6156E0

Accessibility & contrast

On white

11.93
#281D9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#281D9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281D9E
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281D9E#FFFFFF#000000##FFFFFF
##281D9E1.0011.931.7611.93
#FFFFFF11.931.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.931.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #281d9e;
/* rgb */ color: rgb(40, 29, 158);
/* oklch */ color: oklch(35.7% 0.193 274.2);
Tailwind
colors: {
  custom: {
    50: '#775dbc',
    500: '#281d9e',
    950: '#000000',
  },
}
SCSS
$custom: #281d9e;
$custom-light: #775dbc;
$custom-dark: #000000;
JSON
{
  "hex": "#281d9e",
  "rgb": {
    "r": 40,
    "g": 29,
    "b": 158
  },
  "hsl": {
    "h": 245.116,
    "s": 68.984,
    "l": 36.667
  },
  "oklch": {
    "l": 0.35654,
    "c": 0.19338,
    "h": 274.2
  },
  "luminance": 0.03798
}

Semantic roles & 50–950 ramp

primary
#281D9E
secondary
#BAC354
accent
#EC3CDD
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #281D9E

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

Preview Lab → · Contrast checker → · Palette generator →

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