#281CA8#281CA8

#281CA8 is a dark, highly saturated blue. Relative luminance 0.041; OKLCH L 36.7% C 0.206 H 273.3°. Best body text is #FFFFFF at 11.53:1 contrast (WCAG AA passes).

Color values

HEX#281CA8
RGBrgb(40, 28, 168)
HSLhsl(245, 71%, 38%)
HSVhsv(245, 83%, 66%)
CMYKcmyk(76.2%, 83.3%, 0%, 34.1%)
CIE-LABlab(24.02, 49.80, -71.05)
CIE-LCHlch(24.02, 86.76, 305.03°)
OKLaboklab(36.72% 0.0118 -0.2055)
OKLCHoklch(36.72% 0.206 273.3)
XYZxyz(8.3559, 4.1079, 37.3907)
Luminance0.0411 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281CA8 #9CA81C
analogous
#1C56A8 #281CA8 #6E1CA8
triadic
#281CA8 #A8281C #1CA828
tetradic
#281CA8 #A81C56 #9CA81C #1CA86E
square
#281CA8 #A81C56 #9CA81C #1CA86E
split-complementary
#281CA8 #A86E1C #56A81C
monochromatic
#0F0B3F #1C1374 #281CA8 #3626DB #675BE4

Accessibility & contrast

On white

11.53
#281CA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#281CA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281CA8
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281CA8#FFFFFF#000000##FFFFFF
##281CA81.0011.531.8211.53
#FFFFFF11.531.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FAC
Deuteranopia (green-blind)
#0032A6
Tritanopia (blue-blind)
#004964
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #281ca8;
/* rgb */ color: rgb(40, 28, 168);
/* oklch */ color: oklch(36.7% 0.206 273.3);
Tailwind
colors: {
  custom: {
    50: '#795dc3',
    500: '#281ca8',
    950: '#000000',
  },
}
SCSS
$custom: #281ca8;
$custom-light: #795dc3;
$custom-dark: #000000;
JSON
{
  "hex": "#281ca8",
  "rgb": {
    "r": 40,
    "g": 28,
    "b": 168
  },
  "hsl": {
    "h": 245.143,
    "s": 71.429,
    "l": 38.431
  },
  "oklch": {
    "l": 0.36716,
    "c": 0.20583,
    "h": 273.3
  },
  "luminance": 0.04109
}

Semantic roles & 50–950 ramp

primary
#281CA8
secondary
#BEC758
accent
#EE3ADF
background
#F8F5FC
surface
#EFE9F8
border
#CAC5D1
text
#0B0413
muted
#7C7982

Preview Lab

Preview with #281CA8

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

Preview Lab → · Contrast checker → · Palette generator →

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