#281688#281688

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

Color values

HEX#281688
RGBrgb(40, 22, 136)
HSLhsl(249, 72%, 31%)
HSVhsv(249, 84%, 53%)
CMYKcmyk(70.6%, 83.8%, 0%, 46.7%)
CIE-LABlab(19.23, 42.75, -59.28)
CIE-LCHlch(19.23, 73.08, 305.80°)
OKLaboklab(32.29% 0.0232 -0.1713)
OKLCHoklch(32.29% 0.173 277.7)
XYZxyz(5.6045, 2.8020, 23.5333)
Luminance0.0280 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281688 #768816
analogous
#163D88 #281688 #611688
triadic
#281688 #882816 #168828
tetradic
#281688 #88163D #768816 #168861
square
#281688 #88163D #768816 #168861
split-complementary
#281688 #886116 #3D8816
monochromatic
#09051F #190D53 #281688 #371FBD #5439DF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##281688#FFFFFF#000000##FFFFFF
##2816881.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)
#00338B
Deuteranopia (green-blind)
#002A86
Tritanopia (blue-blind)
#003A50
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #281688;
/* rgb */ color: rgb(40, 22, 136);
/* oklch */ color: oklch(32.3% 0.173 277.7);
Tailwind
colors: {
  custom: {
    50: '#7258ac',
    500: '#281688',
    950: '#000000',
  },
}
SCSS
$custom: #281688;
$custom-light: #7258ac;
$custom-dark: #000000;
JSON
{
  "hex": "#281688",
  "rgb": {
    "r": 40,
    "g": 22,
    "b": 136
  },
  "hsl": {
    "h": 249.474,
    "s": 72.152,
    "l": 30.98
  },
  "oklch": {
    "l": 0.32292,
    "c": 0.17282,
    "h": 277.7
  },
  "luminance": 0.02803
}

Semantic roles & 50–950 ramp

primary
#281688
secondary
#A8BC3E
accent
#EF39D2
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F

Preview Lab

Preview with #281688

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

Preview Lab → · Contrast checker → · Palette generator →

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