#281CA9#281CA9

#281CA9 is a dark, highly saturated blue. Relative luminance 0.041; OKLCH L 36.8% C 0.207 H 273.2°. Best body text is #FFFFFF at 11.48:1 contrast (WCAG AA passes).

Color values

HEX#281CA9
RGBrgb(40, 28, 169)
HSLhsl(245, 72%, 39%)
HSVhsv(245, 83%, 66%)
CMYKcmyk(76.3%, 83.4%, 0%, 33.7%)
CIE-LABlab(24.15, 50.11, -71.45)
CIE-LCHlch(24.15, 87.27, 305.04°)
OKLaboklab(36.83% 0.0115 -0.2067)
OKLCHoklch(36.83% 0.207 273.2)
XYZxyz(8.4494, 4.1453, 37.8832)
Luminance0.0415 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281CA9 #9DA91C
analogous
#1C56A9 #281CA9 #6E1CA9
triadic
#281CA9 #A9281C #1CA928
tetradic
#281CA9 #A91C56 #9DA91C #1CA96E
square
#281CA9 #A91C56 #9DA91C #1CA96E
split-complementary
#281CA9 #A96E1C #56A91C
monochromatic
#0F0B40 #1C1374 #281CA9 #3627DB #675BE4

Accessibility & contrast

On white

11.48
#281CA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#281CA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281CA9
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281CA9#FFFFFF#000000##FFFFFF
##281CA91.0011.481.8311.48
#FFFFFF11.481.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040AD
Deuteranopia (green-blind)
#0033A7
Tritanopia (blue-blind)
#004A64
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #281ca9;
/* rgb */ color: rgb(40, 28, 169);
/* oklch */ color: oklch(36.8% 0.207 273.2);
Tailwind
colors: {
  custom: {
    50: '#795dc4',
    500: '#281ca9',
    950: '#000000',
  },
}
SCSS
$custom: #281ca9;
$custom-light: #795dc4;
$custom-dark: #000000;
JSON
{
  "hex": "#281ca9",
  "rgb": {
    "r": 40,
    "g": 28,
    "b": 169
  },
  "hsl": {
    "h": 245.106,
    "s": 71.574,
    "l": 38.627
  },
  "oklch": {
    "l": 0.36834,
    "c": 0.20698,
    "h": 273.2
  },
  "luminance": 0.04146
}

Semantic roles & 50–950 ramp

primary
#281CA9
secondary
#BEC859
accent
#EE39DF
background
#F8F5FC
surface
#EFE9F8
border
#CAC5D1
text
#0B0413
muted
#7C7982

Preview Lab

Preview with #281CA9

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

Preview Lab → · Contrast checker → · Palette generator →

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