#281EA6#281EA6

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

Color values

HEX#281EA6
RGBrgb(40, 30, 166)
HSLhsl(244, 69%, 38%)
HSVhsv(244, 82%, 65%)
CMYKcmyk(75.9%, 81.9%, 0%, 34.9%)
CIE-LABlab(24.10, 48.25, -69.71)
CIE-LCHlch(24.10, 84.78, 304.69°)
OKLaboklab(36.7% 0.0117 -0.2016)
OKLCHoklch(36.7% 0.202 273.3)
XYZxyz(8.2200, 4.1320, 36.4333)
Luminance0.0413 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281EA6 #9CA61E
analogous
#1E58A6 #281EA6 #6C1EA6
triadic
#281EA6 #A6281E #1EA628
tetradic
#281EA6 #A61E58 #9CA61E #1EA66C
square
#281EA6 #A61E58 #9CA61E #1EA66C
split-complementary
#281EA6 #A66C1E #58A61E
monochromatic
#0F0B3E #1C1572 #281EA6 #3629D8 #675DE2

Accessibility & contrast

On white

11.50
#281EA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #281EA6
11.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281EA6#FFFFFF#000000##FFFFFF
##281EA61.0011.501.8311.50
#FFFFFF11.501.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FAA
Deuteranopia (green-blind)
#0033A4
Tritanopia (blue-blind)
#004963
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #281ea6;
/* rgb */ color: rgb(40, 30, 166);
/* oklch */ color: oklch(36.7% 0.202 273.3);
Tailwind
colors: {
  custom: {
    50: '#785ec2',
    500: '#281ea6',
    950: '#000000',
  },
}
SCSS
$custom: #281ea6;
$custom-light: #785ec2;
$custom-dark: #000000;
JSON
{
  "hex": "#281ea6",
  "rgb": {
    "r": 40,
    "g": 30,
    "b": 166
  },
  "hsl": {
    "h": 244.412,
    "s": 69.388,
    "l": 38.431
  },
  "oklch": {
    "l": 0.367,
    "c": 0.20198,
    "h": 273.3
  },
  "luminance": 0.04133
}

Semantic roles & 50–950 ramp

primary
#281EA6
secondary
#BEC65A
accent
#EC3CDF
background
#F8F5FC
surface
#EFE9F8
border
#CAC5D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #281EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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