#281992#281992

#281992 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.8% C 0.182 H 276.0°. Best body text is #FFFFFF at 12.77:1 contrast (WCAG AA passes).

Color values

HEX#281992
RGBrgb(40, 25, 146)
HSLhsl(247, 71%, 34%)
HSVhsv(247, 83%, 57%)
CMYKcmyk(72.6%, 82.9%, 0%, 42.7%)
CIE-LABlab(20.91, 44.43, -62.74)
CIE-LCHlch(20.91, 76.88, 305.30°)
OKLaboklab(33.8% 0.0189 -0.1814)
OKLCHoklch(33.8% 0.182 276)
XYZxyz(6.4093, 3.2211, 27.4725)
Luminance0.0322 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281992 #839219
analogous
#194692 #281992 #641992
triadic
#281992 #922819 #199228
tetradic
#281992 #921946 #839219 #199264
square
#281992 #921946 #839219 #199264
split-complementary
#281992 #926419 #469219
monochromatic
#0B0729 #1A105E #281992 #3622C6 #5946DF

Accessibility & contrast

On white

12.77
#281992 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#281992 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281992
12.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281992#FFFFFF#000000##FFFFFF
##2819921.0012.771.6412.77
#FFFFFF12.771.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003795
Deuteranopia (green-blind)
#002D90
Tritanopia (blue-blind)
#003F56
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #281992;
/* rgb */ color: rgb(40, 25, 146);
/* oklch */ color: oklch(33.8% 0.182 276.0);
Tailwind
colors: {
  custom: {
    50: '#745ab3',
    500: '#281992',
    950: '#000000',
  },
}
SCSS
$custom: #281992;
$custom-light: #745ab3;
$custom-dark: #000000;
JSON
{
  "hex": "#281992",
  "rgb": {
    "r": 40,
    "g": 25,
    "b": 146
  },
  "hsl": {
    "h": 247.438,
    "s": 70.76,
    "l": 33.529
  },
  "oklch": {
    "l": 0.33798,
    "c": 0.18236,
    "h": 276
  },
  "luminance": 0.03222
}

Semantic roles & 50–950 ramp

primary
#281992
secondary
#B1C146
accent
#EE3AD7
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #281992

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

Preview Lab → · Contrast checker → · Palette generator →

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