#281A89#281A89

#281A89 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.9% C 0.171 H 277.1°. Best body text is #FFFFFF at 13.13:1 contrast (WCAG AA passes).

Color values

HEX#281A89
RGBrgb(40, 26, 137)
HSLhsl(248, 68%, 32%)
HSVhsv(248, 81%, 54%)
CMYKcmyk(70.8%, 81%, 0%, 46.3%)
CIE-LABlab(20.03, 41.09, -58.59)
CIE-LCHlch(20.03, 71.57, 305.04°)
OKLaboklab(32.88% 0.0211 -0.1693)
OKLCHoklch(32.88% 0.171 277.1)
XYZxyz(5.7584, 2.9955, 23.9368)
Luminance0.0300 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281A89 #7B891A
analogous
#1A4389 #281A89 #601A89
triadic
#281A89 #89281A #1A8928
tetradic
#281A89 #891A43 #7B891A #1A8960
square
#281A89 #891A43 #7B891A #1A8960
split-complementary
#281A89 #89601A #43891A
monochromatic
#0A0622 #191056 #281A89 #3724BC #5642DB

Accessibility & contrast

On white

13.13
#281A89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #281A89
13.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281A89#FFFFFF#000000##FFFFFF
##281A891.0013.131.6013.13
#FFFFFF13.131.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00358C
Deuteranopia (green-blind)
#002C87
Tritanopia (blue-blind)
#003C51
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #281a89;
/* rgb */ color: rgb(40, 26, 137);
/* oklch */ color: oklch(32.9% 0.171 277.1);
Tailwind
colors: {
  custom: {
    50: '#725aad',
    500: '#281a89',
    950: '#000000',
  },
}
SCSS
$custom: #281a89;
$custom-light: #725aad;
$custom-dark: #000000;
JSON
{
  "hex": "#281a89",
  "rgb": {
    "r": 40,
    "g": 26,
    "b": 137
  },
  "hsl": {
    "h": 247.568,
    "s": 68.098,
    "l": 31.961
  },
  "oklch": {
    "l": 0.32877,
    "c": 0.17063,
    "h": 277.1
  },
  "luminance": 0.02996
}

Semantic roles & 50–950 ramp

primary
#281A89
secondary
#ADBC43
accent
#EB3DD5
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #281A89

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

Preview Lab → · Contrast checker → · Palette generator →

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