#281A84#281A84

#281A84 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.3% C 0.164 H 277.9°. Best body text is #FFFFFF at 13.37:1 contrast (WCAG AA passes).

Color values

HEX#281A84
RGBrgb(40, 26, 132)
HSLhsl(248, 67%, 31%)
HSVhsv(248, 80%, 52%)
CMYKcmyk(69.7%, 80.3%, 0%, 48.2%)
CIE-LABlab(19.46, 39.49, -56.39)
CIE-LCHlch(19.46, 68.84, 305.00°)
OKLaboklab(32.31% 0.0225 -0.1629)
OKLCHoklch(32.31% 0.164 277.9)
XYZxyz(5.4080, 2.8554, 22.0915)
Luminance0.0286 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281A84 #76841A
analogous
#1A4184 #281A84 #5D1A84
triadic
#281A84 #84281A #1A8428
tetradic
#281A84 #841A41 #76841A #1A845D
square
#281A84 #841A41 #76841A #1A845D
split-complementary
#281A84 #845D1A #41841A
monochromatic
#09061E #191051 #281A84 #3724B7 #543FD9

Accessibility & contrast

On white

13.37
#281A84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#281A84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281A84
13.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281A84#FFFFFF#000000##FFFFFF
##281A841.0013.371.5713.37
#FFFFFF13.371.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003387
Deuteranopia (green-blind)
#002B82
Tritanopia (blue-blind)
#003A4F
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #281a84;
/* rgb */ color: rgb(40, 26, 132);
/* oklch */ color: oklch(32.3% 0.164 277.9);
Tailwind
colors: {
  custom: {
    50: '#7159a9',
    500: '#281a84',
    950: '#000000',
  },
}
SCSS
$custom: #281a84;
$custom-light: #7159a9;
$custom-dark: #000000;
JSON
{
  "hex": "#281a84",
  "rgb": {
    "r": 40,
    "g": 26,
    "b": 132
  },
  "hsl": {
    "h": 247.925,
    "s": 67.089,
    "l": 30.98
  },
  "oklch": {
    "l": 0.3231,
    "c": 0.16446,
    "h": 277.9
  },
  "luminance": 0.02856
}

Semantic roles & 50–950 ramp

primary
#281A84
secondary
#A8B842
accent
#EA3ED3
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #281A84

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

Preview Lab → · Contrast checker → · Palette generator →

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