#281A91#281A91

#281A91 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.8% C 0.180 H 276.0°. Best body text is #FFFFFF at 12.75:1 contrast (WCAG AA passes).

Color values

HEX#281A91
RGBrgb(40, 26, 145)
HSLhsl(247, 70%, 34%)
HSVhsv(247, 82%, 57%)
CMYKcmyk(72.4%, 82.1%, 0%, 43.1%)
CIE-LABlab(20.96, 43.63, -62.04)
CIE-LCHlch(20.96, 75.85, 305.11°)
OKLaboklab(33.8% 0.0188 -0.1793)
OKLCHoklch(33.8% 0.18 276)
XYZxyz(6.3536, 3.2336, 27.0719)
Luminance0.0323 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281A91 #83911A
analogous
#1A4791 #281A91 #631A91
triadic
#281A91 #91281A #1A9128
tetradic
#281A91 #911A47 #83911A #1A9163
square
#281A91 #911A47 #83911A #1A9163
split-complementary
#281A91 #91631A #47911A
monochromatic
#0B0729 #1A115D #281A91 #3623C5 #5947DE

Accessibility & contrast

On white

12.75
#281A91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#281A91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281A91
12.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281A91#FFFFFF#000000##FFFFFF
##281A911.0012.751.6512.75
#FFFFFF12.751.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003794
Deuteranopia (green-blind)
#002D8F
Tritanopia (blue-blind)
#003F56
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #281a91;
/* rgb */ color: rgb(40, 26, 145);
/* oklch */ color: oklch(33.8% 0.180 276.0);
Tailwind
colors: {
  custom: {
    50: '#745ab3',
    500: '#281a91',
    950: '#000000',
  },
}
SCSS
$custom: #281a91;
$custom-light: #745ab3;
$custom-dark: #000000;
JSON
{
  "hex": "#281a91",
  "rgb": {
    "r": 40,
    "g": 26,
    "b": 145
  },
  "hsl": {
    "h": 247.059,
    "s": 69.591,
    "l": 33.529
  },
  "oklch": {
    "l": 0.33796,
    "c": 0.18033,
    "h": 276
  },
  "luminance": 0.03234
}

Semantic roles & 50–950 ramp

primary
#281A91
secondary
#B1C047
accent
#EC3BD8
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #281A91

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

Preview Lab → · Contrast checker → · Palette generator →

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