#281689#281689

#281689 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.4% C 0.174 H 277.6°. Best body text is #FFFFFF at 13.41:1 contrast (WCAG AA passes).

Color values

HEX#281689
RGBrgb(40, 22, 137)
HSLhsl(249, 72%, 31%)
HSVhsv(249, 84%, 54%)
CMYKcmyk(70.8%, 83.9%, 0%, 46.3%)
CIE-LABlab(19.35, 43.05, -59.71)
CIE-LCHlch(19.35, 73.61, 305.79°)
OKLaboklab(32.41% 0.0229 -0.1725)
OKLCHoklch(32.41% 0.174 277.6)
XYZxyz(5.6759, 2.8306, 23.9093)
Luminance0.0283 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281689 #778916
analogous
#163D89 #281689 #611689
triadic
#281689 #892816 #168928
tetradic
#281689 #89163D #778916 #168961
square
#281689 #89163D #778916 #168961
split-complementary
#281689 #896116 #3D8916
monochromatic
#090520 #190E54 #281689 #371EBE #543ADF

Accessibility & contrast

On white

13.41
#281689 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #281689
13.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281689#FFFFFF#000000##FFFFFF
##2816891.0013.411.5713.41
#FFFFFF13.411.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.411.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: #281689;
/* rgb */ color: rgb(40, 22, 137);
/* oklch */ color: oklch(32.4% 0.174 277.6);
Tailwind
colors: {
  custom: {
    50: '#7258ad',
    500: '#281689',
    950: '#000000',
  },
}
SCSS
$custom: #281689;
$custom-light: #7258ad;
$custom-dark: #000000;
JSON
{
  "hex": "#281689",
  "rgb": {
    "r": 40,
    "g": 22,
    "b": 137
  },
  "hsl": {
    "h": 249.391,
    "s": 72.327,
    "l": 31.176
  },
  "oklch": {
    "l": 0.3241,
    "c": 0.17401,
    "h": 277.6
  },
  "luminance": 0.02831
}

Semantic roles & 50–950 ramp

primary
#281689
secondary
#A9BD3E
accent
#EF39D3
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F

Preview Lab

Preview with #281689

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

Preview Lab → · Contrast checker → · Palette generator →

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