#281B92#281B92

#281B92 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 34.0% C 0.181 H 275.8°. Best body text is #FFFFFF at 12.64:1 contrast (WCAG AA passes).

Color values

HEX#281B92
RGBrgb(40, 27, 146)
HSLhsl(247, 69%, 34%)
HSVhsv(247, 82%, 57%)
CMYKcmyk(72.6%, 81.5%, 0%, 42.7%)
CIE-LABlab(21.24, 43.45, -62.19)
CIE-LCHlch(21.24, 75.86, 304.94°)
OKLaboklab(34.03% 0.0181 -0.1798)
OKLCHoklch(34.03% 0.181 275.8)
XYZxyz(6.4536, 3.3097, 27.4873)
Luminance0.0331 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281B92 #85921B
analogous
#1B4A92 #281B92 #641B92
triadic
#281B92 #92281B #1B9228
tetradic
#281B92 #921B4A #85921B #1B9264
square
#281B92 #921B4A #85921B #1B9264
split-complementary
#281B92 #92641B #4A921B
monochromatic
#0C082B #1A115E #281B92 #3625C6 #5A4ADE

Accessibility & contrast

On white

12.64
#281B92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#281B92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281B92
12.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281B92#FFFFFF#000000##FFFFFF
##281B921.0012.641.6612.64
#FFFFFF12.641.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.641.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: #281b92;
/* rgb */ color: rgb(40, 27, 146);
/* oklch */ color: oklch(34.0% 0.181 275.8);
Tailwind
colors: {
  custom: {
    50: '#745bb3',
    500: '#281b92',
    950: '#000000',
  },
}
SCSS
$custom: #281b92;
$custom-light: #745bb3;
$custom-dark: #000000;
JSON
{
  "hex": "#281b92",
  "rgb": {
    "r": 40,
    "g": 27,
    "b": 146
  },
  "hsl": {
    "h": 246.555,
    "s": 68.786,
    "l": 33.922
  },
  "oklch": {
    "l": 0.3403,
    "c": 0.18069,
    "h": 275.8
  },
  "luminance": 0.0331
}

Semantic roles & 50–950 ramp

primary
#281B92
secondary
#B3BF49
accent
#EC3CD8
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #281B92

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

Preview Lab → · Contrast checker → · Palette generator →

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