#281886#281886

#281886 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.3% C 0.169 H 277.8°. Best body text is #FFFFFF at 13.42:1 contrast (WCAG AA passes).

Color values

HEX#281886
RGBrgb(40, 24, 134)
HSLhsl(249, 70%, 31%)
HSVhsv(249, 82%, 53%)
CMYKcmyk(70.1%, 82.1%, 0%, 47.5%)
CIE-LABlab(19.33, 41.15, -57.86)
CIE-LCHlch(19.33, 71.00, 305.42°)
OKLaboklab(32.29% 0.0229 -0.1672)
OKLCHoklch(32.29% 0.169 277.8)
XYZxyz(5.5034, 2.8251, 22.8049)
Luminance0.0283 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281886 #768618
analogous
#183F86 #281886 #5F1886
triadic
#281886 #862818 #188628
tetradic
#281886 #86183F #768618 #18865F
square
#281886 #86183F #768618 #18865F
split-complementary
#281886 #865F18 #3F8618
monochromatic
#09051E #190F52 #281886 #3721BA #543CDC

Accessibility & contrast

On white

13.42
#281886 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#281886 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281886
13.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281886#FFFFFF#000000##FFFFFF
##2818861.0013.421.5713.42
#FFFFFF13.421.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003389
Deuteranopia (green-blind)
#002A84
Tritanopia (blue-blind)
#003A4F
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #281886;
/* rgb */ color: rgb(40, 24, 134);
/* oklch */ color: oklch(32.3% 0.169 277.8);
Tailwind
colors: {
  custom: {
    50: '#7159aa',
    500: '#281886',
    950: '#000000',
  },
}
SCSS
$custom: #281886;
$custom-light: #7159aa;
$custom-dark: #000000;
JSON
{
  "hex": "#281886",
  "rgb": {
    "r": 40,
    "g": 24,
    "b": 134
  },
  "hsl": {
    "h": 248.727,
    "s": 69.62,
    "l": 30.98
  },
  "oklch": {
    "l": 0.3229,
    "c": 0.16872,
    "h": 277.8
  },
  "luminance": 0.02826
}

Semantic roles & 50–950 ramp

primary
#281886
secondary
#A8BA40
accent
#EC3BD3
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #281886

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

Preview Lab → · Contrast checker → · Palette generator →

#281886 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva