#281CA1#281CA1

#281CA1 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.9% C 0.198 H 274.0°. Best body text is #FFFFFF at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#281CA1
RGBrgb(40, 28, 161)
HSLhsl(245, 70%, 37%)
HSVhsv(245, 83%, 63%)
CMYKcmyk(75.2%, 82.6%, 0%, 36.9%)
CIE-LABlab(23.18, 47.66, -68.19)
CIE-LCHlch(23.18, 83.20, 304.95°)
OKLaboklab(35.89% 0.0137 -0.1972)
OKLCHoklch(35.89% 0.198 274)
XYZxyz(7.7212, 3.8540, 34.0483)
Luminance0.0386 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281CA1 #95A11C
analogous
#1C52A1 #281CA1 #6B1CA1
triadic
#281CA1 #A1281C #1CA128
tetradic
#281CA1 #A11C52 #95A11C #1CA16B
square
#281CA1 #A11C52 #95A11C #1CA16B
split-complementary
#281CA1 #A16B1C #52A11C
monochromatic
#0E0A39 #1B136D #281CA1 #3525D5 #6256E2

Accessibility & contrast

On white

11.86
#281CA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#281CA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281CA1
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281CA1#FFFFFF#000000##FFFFFF
##281CA11.0011.861.7711.86
#FFFFFF11.861.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003DA5
Deuteranopia (green-blind)
#00319F
Tritanopia (blue-blind)
#004660
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #281ca1;
/* rgb */ color: rgb(40, 28, 161);
/* oklch */ color: oklch(35.9% 0.198 274.0);
Tailwind
colors: {
  custom: {
    50: '#775dbe',
    500: '#281ca1',
    950: '#000000',
  },
}
SCSS
$custom: #281ca1;
$custom-light: #775dbe;
$custom-dark: #000000;
JSON
{
  "hex": "#281ca1",
  "rgb": {
    "r": 40,
    "g": 28,
    "b": 161
  },
  "hsl": {
    "h": 245.414,
    "s": 70.37,
    "l": 37.059
  },
  "oklch": {
    "l": 0.35891,
    "c": 0.1977,
    "h": 274
  },
  "luminance": 0.03855
}

Semantic roles & 50–950 ramp

primary
#281CA1
secondary
#BBC554
accent
#ED3BDD
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #281CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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