#281589#281589

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

Color values

HEX#281589
RGBrgb(40, 21, 137)
HSLhsl(250, 73%, 31%)
HSVhsv(250, 85%, 54%)
CMYKcmyk(70.8%, 84.7%, 0%, 46.3%)
CIE-LABlab(19.20, 43.51, -59.97)
CIE-LCHlch(19.20, 74.09, 305.97°)
OKLaboklab(32.3% 0.0233 -0.1732)
OKLCHoklch(32.3% 0.175 277.7)
XYZxyz(5.6571, 2.7931, 23.9031)
Luminance0.0279 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281589 #768915
analogous
#153C89 #281589 #621589
triadic
#281589 #892815 #158928
tetradic
#281589 #89153C #768915 #158962
square
#281589 #89153C #768915 #158962
split-complementary
#281589 #896215 #3C8915
monochromatic
#09051F #190D54 #281589 #371DBE #5438E0

Accessibility & contrast

On white

13.47
#281589 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #281589
13.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281589#FFFFFF#000000##FFFFFF
##2815891.0013.471.5613.47
#FFFFFF13.471.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00338C
Deuteranopia (green-blind)
#002A87
Tritanopia (blue-blind)
#003A51
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #281589;
/* rgb */ color: rgb(40, 21, 137);
/* oklch */ color: oklch(32.3% 0.175 277.7);
Tailwind
colors: {
  custom: {
    50: '#7257ad',
    500: '#281589',
    950: '#000000',
  },
}
SCSS
$custom: #281589;
$custom-light: #7257ad;
$custom-dark: #000000;
JSON
{
  "hex": "#281589",
  "rgb": {
    "r": 40,
    "g": 21,
    "b": 137
  },
  "hsl": {
    "h": 249.828,
    "s": 73.418,
    "l": 30.98
  },
  "oklch": {
    "l": 0.32301,
    "c": 0.1748,
    "h": 277.7
  },
  "luminance": 0.02794
}

Semantic roles & 50–950 ramp

primary
#281589
secondary
#A8BD3D
accent
#F038D2
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F

Preview Lab

Preview with #281589

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

Preview Lab → · Contrast checker → · Palette generator →

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