#281BAD#281BAD

#281BAD is a dark, highly saturated blue. Relative luminance 0.043; OKLCH L 37.2% C 0.212 H 272.9°. Best body text is #FFFFFF at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#281BAD
RGBrgb(40, 27, 173)
HSLhsl(245, 73%, 39%)
HSVhsv(245, 84%, 68%)
CMYKcmyk(76.9%, 84.4%, 0%, 32.2%)
CIE-LABlab(24.49, 51.75, -73.30)
CIE-LCHlch(24.49, 89.73, 305.22°)
OKLaboklab(37.21% 0.0107 -0.212)
OKLCHoklch(37.21% 0.212 272.9)
XYZxyz(8.8073, 4.2512, 39.8834)
Luminance0.0425 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281BAD #A0AD1B
analogous
#1B57AD #281BAD #711BAD
triadic
#281BAD #AD281B #1BAD28
tetradic
#281BAD #AD1B57 #A0AD1B #1BAD71
square
#281BAD #AD1B57 #A0AD1B #1BAD71
split-complementary
#281BAD #AD711B #57AD1B
monochromatic
#100A43 #1C1378 #281BAD #3828DD #695DE6

Accessibility & contrast

On white

11.35
#281BAD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#281BAD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281BAD
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281BAD#FFFFFF#000000##FFFFFF
##281BAD1.0011.351.8511.35
#FFFFFF11.351.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041B1
Deuteranopia (green-blind)
#0033AB
Tritanopia (blue-blind)
#004B67
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #281bad;
/* rgb */ color: rgb(40, 27, 173);
/* oklch */ color: oklch(37.2% 0.212 272.9);
Tailwind
colors: {
  custom: {
    50: '#7a5dc7',
    500: '#281bad',
    950: '#000000',
  },
}
SCSS
$custom: #281bad;
$custom-light: #7a5dc7;
$custom-dark: #000000;
JSON
{
  "hex": "#281bad",
  "rgb": {
    "r": 40,
    "g": 27,
    "b": 173
  },
  "hsl": {
    "h": 245.342,
    "s": 73,
    "l": 39.216
  },
  "oklch": {
    "l": 0.37208,
    "c": 0.21227,
    "h": 272.9
  },
  "luminance": 0.04252
}

Semantic roles & 50–950 ramp

primary
#281BAD
secondary
#C0CA5A
accent
#F038DF
background
#F8F5FC
surface
#EFE9F8
border
#CAC5D1
text
#0B0413
muted
#7C7982

Preview Lab

Preview with #281BAD

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

Preview Lab → · Contrast checker → · Palette generator →

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