#281EA7#281EA7

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

Color values

HEX#281EA7
RGBrgb(40, 30, 167)
HSLhsl(244, 70%, 39%)
HSVhsv(244, 82%, 65%)
CMYKcmyk(76%, 82%, 0%, 34.5%)
CIE-LABlab(24.22, 48.57, -70.11)
CIE-LCHlch(24.22, 85.29, 304.71°)
OKLaboklab(36.82% 0.0114 -0.2028)
OKLCHoklch(36.82% 0.203 273.2)
XYZxyz(8.3121, 4.1688, 36.9183)
Luminance0.0417 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281EA7 #9DA71E
analogous
#1E58A7 #281EA7 #6C1EA7
triadic
#281EA7 #A7281E #1EA728
tetradic
#281EA7 #A71E58 #9DA71E #1EA76C
square
#281EA7 #A71E58 #9DA71E #1EA76C
split-complementary
#281EA7 #A76C1E #58A71E
monochromatic
#0F0B3F #1C1573 #281EA7 #362AD9 #675DE2

Accessibility & contrast

On white

11.45
#281EA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #281EA7
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281EA7#FFFFFF#000000##FFFFFF
##281EA71.0011.451.8311.45
#FFFFFF11.451.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040AB
Deuteranopia (green-blind)
#0033A5
Tritanopia (blue-blind)
#004964
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #281ea7;
/* rgb */ color: rgb(40, 30, 167);
/* oklch */ color: oklch(36.8% 0.203 273.2);
Tailwind
colors: {
  custom: {
    50: '#795ec3',
    500: '#281ea7',
    950: '#000000',
  },
}
SCSS
$custom: #281ea7;
$custom-light: #795ec3;
$custom-dark: #000000;
JSON
{
  "hex": "#281ea7",
  "rgb": {
    "r": 40,
    "g": 30,
    "b": 167
  },
  "hsl": {
    "h": 244.38,
    "s": 69.543,
    "l": 38.627
  },
  "oklch": {
    "l": 0.36817,
    "c": 0.20315,
    "h": 273.2
  },
  "luminance": 0.0417
}

Semantic roles & 50–950 ramp

primary
#281EA7
secondary
#BEC65B
accent
#EC3BDF
background
#F8F5FC
surface
#EFE9F8
border
#CAC5D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #281EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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