#281D92#281D92

#281D92 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 34.3% C 0.179 H 275.5°. Best body text is #FFFFFF at 12.49:1 contrast (WCAG AA passes).

Color values

HEX#281D92
RGBrgb(40, 29, 146)
HSLhsl(246, 67%, 34%)
HSVhsv(246, 80%, 57%)
CMYKcmyk(72.6%, 80.1%, 0%, 42.7%)
CIE-LABlab(21.60, 42.43, -61.61)
CIE-LCHlch(21.60, 74.80, 304.56°)
OKLaboklab(34.28% 0.0172 -0.1781)
OKLCHoklch(34.28% 0.179 275.5)
XYZxyz(6.5010, 3.4045, 27.5031)
Luminance0.0340 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281D92 #87921D
analogous
#1D4D92 #281D92 #631D92
triadic
#281D92 #92281D #1D9228
tetradic
#281D92 #921D4D #87921D #1D9263
square
#281D92 #921D4D #87921D #1D9263
split-complementary
#281D92 #92631D #4D921D
monochromatic
#0C092C #1A135F #281D92 #3627C5 #5B4EDC

Accessibility & contrast

On white

12.49
#281D92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#281D92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281D92
12.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281D92#FFFFFF#000000##FFFFFF
##281D921.0012.491.6812.49
#FFFFFF12.491.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003995
Deuteranopia (green-blind)
#002E90
Tritanopia (blue-blind)
#004157
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #281d92;
/* rgb */ color: rgb(40, 29, 146);
/* oklch */ color: oklch(34.3% 0.179 275.5);
Tailwind
colors: {
  custom: {
    50: '#745cb3',
    500: '#281d92',
    950: '#000000',
  },
}
SCSS
$custom: #281d92;
$custom-light: #745cb3;
$custom-dark: #000000;
JSON
{
  "hex": "#281d92",
  "rgb": {
    "r": 40,
    "g": 29,
    "b": 146
  },
  "hsl": {
    "h": 245.641,
    "s": 66.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.34276,
    "c": 0.17895,
    "h": 275.5
  },
  "luminance": 0.03405
}

Semantic roles & 50–950 ramp

primary
#281D92
secondary
#B4BE4C
accent
#EA3EDA
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #281D92

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

Preview Lab → · Contrast checker → · Palette generator →

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