#281EA1#281EA1

#281EA1 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 36.1% C 0.196 H 273.8°. Best body text is #FFFFFF at 11.73:1 contrast (WCAG AA passes).

Color values

HEX#281EA1
RGBrgb(40, 30, 161)
HSLhsl(245, 69%, 37%)
HSVhsv(245, 81%, 63%)
CMYKcmyk(75.2%, 81.4%, 0%, 36.9%)
CIE-LABlab(23.51, 46.69, -67.65)
CIE-LCHlch(23.51, 82.20, 304.61°)
OKLaboklab(36.12% 0.013 -0.1957)
OKLCHoklch(36.12% 0.196 273.8)
XYZxyz(7.7702, 3.9521, 34.0646)
Luminance0.0395 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281EA1 #97A11E
analogous
#1E56A1 #281EA1 #691EA1
triadic
#281EA1 #A1281E #1EA128
tetradic
#281EA1 #A11E56 #97A11E #1EA169
square
#281EA1 #A11E56 #97A11E #1EA169
split-complementary
#281EA1 #A1691E #56A11E
monochromatic
#0E0B3A #1B146D #281EA1 #3528D5 #6459E0

Accessibility & contrast

On white

11.73
#281EA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#281EA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281EA1
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281EA1#FFFFFF#000000##FFFFFF
##281EA11.0011.731.7911.73
#FFFFFF11.731.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #281ea1;
/* rgb */ color: rgb(40, 30, 161);
/* oklch */ color: oklch(36.1% 0.196 273.8);
Tailwind
colors: {
  custom: {
    50: '#775ebe',
    500: '#281ea1',
    950: '#000000',
  },
}
SCSS
$custom: #281ea1;
$custom-light: #775ebe;
$custom-dark: #000000;
JSON
{
  "hex": "#281ea1",
  "rgb": {
    "r": 40,
    "g": 30,
    "b": 161
  },
  "hsl": {
    "h": 244.58,
    "s": 68.586,
    "l": 37.451
  },
  "oklch": {
    "l": 0.36119,
    "c": 0.19611,
    "h": 273.8
  },
  "luminance": 0.03953
}

Semantic roles & 50–950 ramp

primary
#281EA1
secondary
#BCC457
accent
#EB3CDE
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #281EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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