#281693#281693

#281693 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.6% C 0.186 H 276.1°. Best body text is #FFFFFF at 12.91:1 contrast (WCAG AA passes).

Color values

HEX#281693
RGBrgb(40, 22, 147)
HSLhsl(249, 74%, 33%)
HSVhsv(249, 85%, 58%)
CMYKcmyk(72.8%, 85%, 0%, 42.4%)
CIE-LABlab(20.56, 46.11, -63.94)
CIE-LCHlch(20.56, 78.83, 305.80°)
OKLaboklab(33.59% 0.0198 -0.1848)
OKLCHoklch(33.59% 0.186 276.1)
XYZxyz(6.4267, 3.1309, 27.8637)
Luminance0.0313 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281693 #819316
analogous
#164293 #281693 #661693
triadic
#281693 #932816 #169328
tetradic
#281693 #931642 #819316 #169366
square
#281693 #931642 #819316 #169366
split-complementary
#281693 #936616 #429316
monochromatic
#0B0629 #1A0E5E #281693 #361EC8 #5841E3

Accessibility & contrast

On white

12.91
#281693 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#281693 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281693
12.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281693#FFFFFF#000000##FFFFFF
##2816931.0012.911.6312.91
#FFFFFF12.911.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003796
Deuteranopia (green-blind)
#002C91
Tritanopia (blue-blind)
#003E57
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #281693;
/* rgb */ color: rgb(40, 22, 147);
/* oklch */ color: oklch(33.6% 0.186 276.1);
Tailwind
colors: {
  custom: {
    50: '#7559b4',
    500: '#281693',
    950: '#000000',
  },
}
SCSS
$custom: #281693;
$custom-light: #7559b4;
$custom-dark: #000000;
JSON
{
  "hex": "#281693",
  "rgb": {
    "r": 40,
    "g": 22,
    "b": 147
  },
  "hsl": {
    "h": 248.64,
    "s": 73.964,
    "l": 33.137
  },
  "oklch": {
    "l": 0.33593,
    "c": 0.18584,
    "h": 276.1
  },
  "luminance": 0.03132
}

Semantic roles & 50–950 ramp

primary
#281693
secondary
#B0C342
accent
#F137D6
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #281693

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

Preview Lab → · Contrast checker → · Palette generator →

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