#281885#281885

#281885 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.2% C 0.168 H 278.0°. Best body text is #FFFFFF at 13.46:1 contrast (WCAG AA passes).

Color values

HEX#281885
RGBrgb(40, 24, 133)
HSLhsl(249, 69%, 31%)
HSVhsv(249, 82%, 52%)
CMYKcmyk(69.9%, 82%, 0%, 47.8%)
CIE-LABlab(19.21, 40.84, -57.42)
CIE-LCHlch(19.21, 70.46, 305.42°)
OKLaboklab(32.18% 0.0232 -0.1659)
OKLCHoklch(32.18% 0.168 278)
XYZxyz(5.4340, 2.7974, 22.4393)
Luminance0.0280 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281885 #758518
analogous
#183E85 #281885 #5E1885
triadic
#281885 #852818 #188528
tetradic
#281885 #85183E #758518 #18855E
square
#281885 #85183E #758518 #18855E
split-complementary
#281885 #855E18 #3E8518
monochromatic
#09051D #180F51 #281885 #3821B9 #533CDC

Accessibility & contrast

On white

13.46
#281885 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#281885 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281885
13.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281885#FFFFFF#000000##FFFFFF
##2818851.0013.461.5613.46
#FFFFFF13.461.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003388
Deuteranopia (green-blind)
#002A83
Tritanopia (blue-blind)
#00394F
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #281885;
/* rgb */ color: rgb(40, 24, 133);
/* oklch */ color: oklch(32.2% 0.168 278.0);
Tailwind
colors: {
  custom: {
    50: '#7158aa',
    500: '#281885',
    950: '#000000',
  },
}
SCSS
$custom: #281885;
$custom-light: #7158aa;
$custom-dark: #000000;
JSON
{
  "hex": "#281885",
  "rgb": {
    "r": 40,
    "g": 24,
    "b": 133
  },
  "hsl": {
    "h": 248.807,
    "s": 69.427,
    "l": 30.784
  },
  "oklch": {
    "l": 0.32176,
    "c": 0.16751,
    "h": 278
  },
  "luminance": 0.02798
}

Semantic roles & 50–950 ramp

primary
#281885
secondary
#A7B940
accent
#EC3CD2
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #281885

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

Preview Lab → · Contrast checker → · Palette generator →

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