#281D85#281D85

#281D85 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.8% C 0.163 H 277.3°. Best body text is #FFFFFF at 13.09:1 contrast (WCAG AA passes).

Color values

HEX#281D85
RGBrgb(40, 29, 133)
HSLhsl(246, 64%, 32%)
HSVhsv(246, 78%, 52%)
CMYKcmyk(69.9%, 78.2%, 0%, 47.8%)
CIE-LABlab(20.14, 38.19, -55.90)
CIE-LCHlch(20.14, 67.70, 304.34°)
OKLaboklab(32.82% 0.0206 -0.1615)
OKLCHoklch(32.82% 0.163 277.3)
XYZxyz(5.5467, 3.0228, 22.4769)
Luminance0.0302 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281D85 #7A851D
analogous
#1D4685 #281D85 #5C1D85
triadic
#281D85 #85281D #1D8528
tetradic
#281D85 #851D46 #7A851D #1D855C
square
#281D85 #851D46 #7A851D #1D855C
split-complementary
#281D85 #855C1D #46851D
monochromatic
#0A0721 #191253 #281D85 #3728B7 #5546D7

Accessibility & contrast

On white

13.09
#281D85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#281D85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281D85
13.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281D85#FFFFFF#000000##FFFFFF
##281D851.0013.091.6013.09
#FFFFFF13.091.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003588
Deuteranopia (green-blind)
#002C83
Tritanopia (blue-blind)
#003B50
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #281d85;
/* rgb */ color: rgb(40, 29, 133);
/* oklch */ color: oklch(32.8% 0.163 277.3);
Tailwind
colors: {
  custom: {
    50: '#715baa',
    500: '#281d85',
    950: '#000000',
  },
}
SCSS
$custom: #281d85;
$custom-light: #715baa;
$custom-dark: #000000;
JSON
{
  "hex": "#281d85",
  "rgb": {
    "r": 40,
    "g": 29,
    "b": 133
  },
  "hsl": {
    "h": 246.346,
    "s": 64.198,
    "l": 31.765
  },
  "oklch": {
    "l": 0.3282,
    "c": 0.16282,
    "h": 277.3
  },
  "luminance": 0.03023
}

Semantic roles & 50–950 ramp

primary
#281D85
secondary
#ACB846
accent
#E741D6
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #281D85

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

Preview Lab → · Contrast checker → · Palette generator →

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