#281DA8#281DA8

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

Color values

HEX#281DA8
RGBrgb(40, 29, 168)
HSLhsl(245, 71%, 39%)
HSVhsv(245, 83%, 66%)
CMYKcmyk(76.2%, 82.7%, 0%, 34.1%)
CIE-LABlab(24.18, 49.34, -70.79)
CIE-LCHlch(24.18, 86.29, 304.88°)
OKLaboklab(36.82% 0.0115 -0.2048)
OKLCHoklch(36.82% 0.205 273.2)
XYZxyz(8.3800, 4.1561, 37.3988)
Luminance0.0416 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281DA8 #9DA81D
analogous
#1D57A8 #281DA8 #6D1DA8
triadic
#281DA8 #A8281D #1DA828
tetradic
#281DA8 #A81D57 #9DA81D #1DA86D
square
#281DA8 #A81D57 #9DA81D #1DA86D
split-complementary
#281DA8 #A86D1D #57A81D
monochromatic
#0F0B40 #1C1474 #281DA8 #3628DA #675CE3

Accessibility & contrast

On white

11.47
#281DA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #281DA8
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281DA8#FFFFFF#000000##FFFFFF
##281DA81.0011.471.8311.47
#FFFFFF11.471.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.471.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #281da8;
/* rgb */ color: rgb(40, 29, 168);
/* oklch */ color: oklch(36.8% 0.205 273.2);
Tailwind
colors: {
  custom: {
    50: '#795ec3',
    500: '#281da8',
    950: '#000000',
  },
}
SCSS
$custom: #281da8;
$custom-light: #795ec3;
$custom-dark: #000000;
JSON
{
  "hex": "#281da8",
  "rgb": {
    "r": 40,
    "g": 29,
    "b": 168
  },
  "hsl": {
    "h": 244.748,
    "s": 70.558,
    "l": 38.627
  },
  "oklch": {
    "l": 0.36823,
    "c": 0.20508,
    "h": 273.2
  },
  "luminance": 0.04157
}

Semantic roles & 50–950 ramp

primary
#281DA8
secondary
#BEC75A
accent
#ED3ADF
background
#F8F5FC
surface
#EFE9F8
border
#CAC5D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #281DA8

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

Preview Lab → · Contrast checker → · Palette generator →

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