#281D73#281D73

#281D73 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 30.9% C 0.139 H 280.2°. Best body text is #FFFFFF at 13.87:1 contrast (WCAG AA passes).

Color values

HEX#281D73
RGBrgb(40, 29, 115)
HSLhsl(248, 60%, 28%)
HSVhsv(248, 75%, 45%)
CMYKcmyk(65.2%, 74.8%, 0%, 54.9%)
CIE-LABlab(18.22, 32.14, -47.58)
CIE-LCHlch(18.22, 57.42, 304.04°)
OKLaboklab(30.89% 0.0247 -0.1372)
OKLCHoklch(30.89% 0.139 280.2)
XYZxyz(4.4080, 2.5673, 16.4796)
Luminance0.0257 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281D73 #68731D
analogous
#1D3D73 #281D73 #531D73
triadic
#281D73 #73281D #1D7328
tetradic
#281D73 #731D3D #68731D #1D7353
square
#281D73 #731D3D #68731D #1D7353
split-complementary
#281D73 #73531D #3D731D
monochromatic
#080618 #171142 #281D73 #3929A4 #4F3CCE

Accessibility & contrast

On white

13.87
#281D73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#281D73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281D73
13.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281D73#FFFFFF#000000##FFFFFF
##281D731.0013.871.5113.87
#FFFFFF13.871.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003076
Deuteranopia (green-blind)
#002971
Tritanopia (blue-blind)
#003546
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #281d73;
/* rgb */ color: rgb(40, 29, 115);
/* oklch */ color: oklch(30.9% 0.139 280.2);
Tailwind
colors: {
  custom: {
    50: '#6c5a9c',
    500: '#281d73',
    950: '#000000',
  },
}
SCSS
$custom: #281d73;
$custom-light: #6c5a9c;
$custom-dark: #000000;
JSON
{
  "hex": "#281d73",
  "rgb": {
    "r": 40,
    "g": 29,
    "b": 115
  },
  "hsl": {
    "h": 247.674,
    "s": 59.722,
    "l": 28.235
  },
  "oklch": {
    "l": 0.3089,
    "c": 0.13946,
    "h": 280.2
  },
  "luminance": 0.02568
}

Semantic roles & 50–950 ramp

primary
#281D73
secondary
#9BA745
accent
#E345CF
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08040E
muted
#7A797E

Preview Lab

Preview with #281D73

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

Preview Lab → · Contrast checker → · Palette generator →

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