#281C92#281C92

#281C92 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 34.2% C 0.180 H 275.6°. Best body text is #FFFFFF at 12.56:1 contrast (WCAG AA passes).

Color values

HEX#281C92
RGBrgb(40, 28, 146)
HSLhsl(246, 68%, 34%)
HSVhsv(246, 81%, 57%)
CMYKcmyk(72.6%, 80.8%, 0%, 42.7%)
CIE-LABlab(21.42, 42.94, -61.90)
CIE-LCHlch(21.42, 75.34, 304.75°)
OKLaboklab(34.15% 0.0177 -0.179)
OKLCHoklch(34.15% 0.18 275.6)
XYZxyz(6.4769, 3.3563, 27.4951)
Luminance0.0336 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281C92 #86921C
analogous
#1C4B92 #281C92 #631C92
triadic
#281C92 #92281C #1C9228
tetradic
#281C92 #921C4B #86921C #1C9263
square
#281C92 #921C4B #86921C #1C9263
split-complementary
#281C92 #92631C #4B921C
monochromatic
#0C082B #1A125F #281C92 #3626C5 #5B4CDD

Accessibility & contrast

On white

12.56
#281C92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#281C92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281C92
12.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281C92#FFFFFF#000000##FFFFFF
##281C921.0012.561.6712.56
#FFFFFF12.561.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003895
Deuteranopia (green-blind)
#002E90
Tritanopia (blue-blind)
#004057
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #281c92;
/* rgb */ color: rgb(40, 28, 146);
/* oklch */ color: oklch(34.2% 0.180 275.6);
Tailwind
colors: {
  custom: {
    50: '#745cb3',
    500: '#281c92',
    950: '#000000',
  },
}
SCSS
$custom: #281c92;
$custom-light: #745cb3;
$custom-dark: #000000;
JSON
{
  "hex": "#281c92",
  "rgb": {
    "r": 40,
    "g": 28,
    "b": 146
  },
  "hsl": {
    "h": 246.102,
    "s": 67.816,
    "l": 34.118
  },
  "oklch": {
    "l": 0.34151,
    "c": 0.17983,
    "h": 275.6
  },
  "luminance": 0.03357
}

Semantic roles & 50–950 ramp

primary
#281C92
secondary
#B3BF4B
accent
#EB3DD9
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #281C92

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

Preview Lab → · Contrast checker → · Palette generator →

#281C92 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva