#281A88#281A88

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

Color values

HEX#281A88
RGBrgb(40, 26, 136)
HSLhsl(248, 68%, 32%)
HSVhsv(248, 81%, 53%)
CMYKcmyk(70.6%, 80.9%, 0%, 46.7%)
CIE-LABlab(19.91, 40.77, -58.16)
CIE-LCHlch(19.91, 71.02, 305.03°)
OKLaboklab(32.76% 0.0214 -0.168)
OKLCHoklch(32.76% 0.169 277.2)
XYZxyz(5.6870, 2.9670, 23.5608)
Luminance0.0297 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281A88 #7A881A
analogous
#1A4388 #281A88 #5F1A88
triadic
#281A88 #88281A #1A8828
tetradic
#281A88 #881A43 #7A881A #1A885F
square
#281A88 #881A43 #7A881A #1A885F
split-complementary
#281A88 #885F1A #43881A
monochromatic
#0A0621 #191055 #281A88 #3724BB #5542DB

Accessibility & contrast

On white

13.18
#281A88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#281A88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281A88
13.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281A88#FFFFFF#000000##FFFFFF
##281A881.0013.181.5913.18
#FFFFFF13.181.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00358B
Deuteranopia (green-blind)
#002B86
Tritanopia (blue-blind)
#003B51
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #281a88;
/* rgb */ color: rgb(40, 26, 136);
/* oklch */ color: oklch(32.8% 0.169 277.2);
Tailwind
colors: {
  custom: {
    50: '#725aac',
    500: '#281a88',
    950: '#000000',
  },
}
SCSS
$custom: #281a88;
$custom-light: #725aac;
$custom-dark: #000000;
JSON
{
  "hex": "#281a88",
  "rgb": {
    "r": 40,
    "g": 26,
    "b": 136
  },
  "hsl": {
    "h": 247.636,
    "s": 67.901,
    "l": 31.765
  },
  "oklch": {
    "l": 0.32763,
    "c": 0.1694,
    "h": 277.2
  },
  "luminance": 0.02967
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #281A88

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

Preview Lab → · Contrast checker → · Palette generator →

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