#281A86#281A86

#281A86 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.5% C 0.167 H 277.5°. Best body text is #FFFFFF at 13.27:1 contrast (WCAG AA passes).

Color values

HEX#281A86
RGBrgb(40, 26, 134)
HSLhsl(248, 68%, 31%)
HSVhsv(248, 81%, 53%)
CMYKcmyk(70.1%, 80.6%, 0%, 47.5%)
CIE-LABlab(19.68, 40.13, -57.28)
CIE-LCHlch(19.68, 69.94, 305.02°)
OKLaboklab(32.54% 0.0219 -0.1655)
OKLCHoklch(32.54% 0.167 277.5)
XYZxyz(5.5461, 2.9106, 22.8192)
Luminance0.0291 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281A86 #78861A
analogous
#1A4286 #281A86 #5E1A86
triadic
#281A86 #86281A #1A8628
tetradic
#281A86 #861A42 #78861A #1A865E
square
#281A86 #861A42 #78861A #1A865E
split-complementary
#281A86 #865E1A #42861A
monochromatic
#09061F #191053 #281A86 #3724B9 #5440DA

Accessibility & contrast

On white

13.27
#281A86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#281A86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281A86
13.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281A86#FFFFFF#000000##FFFFFF
##281A861.0013.271.5813.27
#FFFFFF13.271.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003489
Deuteranopia (green-blind)
#002B84
Tritanopia (blue-blind)
#003B50
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #281a86;
/* rgb */ color: rgb(40, 26, 134);
/* oklch */ color: oklch(32.5% 0.167 277.5);
Tailwind
colors: {
  custom: {
    50: '#715aaa',
    500: '#281a86',
    950: '#000000',
  },
}
SCSS
$custom: #281a86;
$custom-light: #715aaa;
$custom-dark: #000000;
JSON
{
  "hex": "#281a86",
  "rgb": {
    "r": 40,
    "g": 26,
    "b": 134
  },
  "hsl": {
    "h": 247.778,
    "s": 67.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.32536,
    "c": 0.16693,
    "h": 277.5
  },
  "luminance": 0.02911
}

Semantic roles & 50–950 ramp

primary
#281A86
secondary
#AAB942
accent
#EA3DD4
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #281A86

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

Preview Lab → · Contrast checker → · Palette generator →

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