#281DA1#281DA1

#281DA1 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 36.0% C 0.197 H 273.9°. Best body text is #FFFFFF at 11.79:1 contrast (WCAG AA passes).

Color values

HEX#281DA1
RGBrgb(40, 29, 161)
HSLhsl(245, 69%, 37%)
HSVhsv(245, 82%, 63%)
CMYKcmyk(75.2%, 82%, 0%, 36.9%)
CIE-LABlab(23.35, 47.18, -67.92)
CIE-LCHlch(23.35, 82.70, 304.78°)
OKLaboklab(36% 0.0133 -0.1965)
OKLCHoklch(36% 0.197 273.9)
XYZxyz(7.7453, 3.9023, 34.0563)
Luminance0.0390 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281DA1 #96A11D
analogous
#1D54A1 #281DA1 #6A1DA1
triadic
#281DA1 #A1281D #1DA128
tetradic
#281DA1 #A11D54 #96A11D #1DA16A
square
#281DA1 #A11D54 #96A11D #1DA16A
split-complementary
#281DA1 #A16A1D #54A11D
monochromatic
#0E0A39 #1B146D #281DA1 #3526D5 #6358E1

Accessibility & contrast

On white

11.79
#281DA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#281DA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281DA1
11.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281DA1#FFFFFF#000000##FFFFFF
##281DA11.0011.791.7811.79
#FFFFFF11.791.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003EA5
Deuteranopia (green-blind)
#00319F
Tritanopia (blue-blind)
#004760
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #281da1;
/* rgb */ color: rgb(40, 29, 161);
/* oklch */ color: oklch(36.0% 0.197 273.9);
Tailwind
colors: {
  custom: {
    50: '#775dbe',
    500: '#281da1',
    950: '#000000',
  },
}
SCSS
$custom: #281da1;
$custom-light: #775dbe;
$custom-dark: #000000;
JSON
{
  "hex": "#281da1",
  "rgb": {
    "r": 40,
    "g": 29,
    "b": 161
  },
  "hsl": {
    "h": 245,
    "s": 69.474,
    "l": 37.255
  },
  "oklch": {
    "l": 0.36003,
    "c": 0.19691,
    "h": 273.9
  },
  "luminance": 0.03903
}

Semantic roles & 50–950 ramp

primary
#281DA1
secondary
#BBC455
accent
#EC3CDE
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #281DA1

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

Preview Lab → · Contrast checker → · Palette generator →

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