#281D90#281D90

#281D90 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 34.0% C 0.177 H 275.8°. Best body text is #FFFFFF at 12.59:1 contrast (WCAG AA passes).

Color values

HEX#281D90
RGBrgb(40, 29, 144)
HSLhsl(246, 66%, 34%)
HSVhsv(246, 80%, 56%)
CMYKcmyk(72.2%, 79.9%, 0%, 43.5%)
CIE-LABlab(21.37, 41.78, -60.74)
CIE-LCHlch(21.37, 73.72, 304.52°)
OKLaboklab(34.05% 0.0178 -0.1756)
OKLCHoklch(34.05% 0.177 275.8)
XYZxyz(6.3468, 3.3429, 26.6909)
Luminance0.0334 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281D90 #85901D
analogous
#1D4C90 #281D90 #621D90
triadic
#281D90 #90281D #1D9028
tetradic
#281D90 #901D4C #85901D #1D9062
square
#281D90 #901D4C #85901D #1D9062
split-complementary
#281D90 #90621D #4C901D
monochromatic
#0C082A #1A135D #281D90 #3627C3 #5A4CDB

Accessibility & contrast

On white

12.59
#281D90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#281D90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281D90
12.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281D90#FFFFFF#000000##FFFFFF
##281D901.0012.591.6712.59
#FFFFFF12.591.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003893
Deuteranopia (green-blind)
#002E8E
Tritanopia (blue-blind)
#004056
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #281d90;
/* rgb */ color: rgb(40, 29, 144);
/* oklch */ color: oklch(34.0% 0.177 275.8);
Tailwind
colors: {
  custom: {
    50: '#735cb2',
    500: '#281d90',
    950: '#000000',
  },
}
SCSS
$custom: #281d90;
$custom-light: #735cb2;
$custom-dark: #000000;
JSON
{
  "hex": "#281d90",
  "rgb": {
    "r": 40,
    "g": 29,
    "b": 144
  },
  "hsl": {
    "h": 245.739,
    "s": 66.474,
    "l": 33.922
  },
  "oklch": {
    "l": 0.34049,
    "c": 0.17651,
    "h": 275.8
  },
  "luminance": 0.03343
}

Semantic roles & 50–950 ramp

primary
#281D90
secondary
#B3BD4B
accent
#E93ED9
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #281D90

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

Preview Lab → · Contrast checker → · Palette generator →

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