#281990#281990

#281990 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.6% C 0.180 H 276.2°. Best body text is #FFFFFF at 12.87:1 contrast (WCAG AA passes).

Color values

HEX#281990
RGBrgb(40, 25, 144)
HSLhsl(248, 70%, 33%)
HSVhsv(248, 83%, 56%)
CMYKcmyk(72.2%, 82.6%, 0%, 43.5%)
CIE-LABlab(20.67, 43.80, -61.90)
CIE-LCHlch(20.67, 75.83, 305.29°)
OKLaboklab(33.56% 0.0195 -0.1789)
OKLCHoklch(33.56% 0.18 276.2)
XYZxyz(6.2551, 3.1594, 26.6603)
Luminance0.0316 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281990 #819019
analogous
#194590 #281990 #631990
triadic
#281990 #902819 #199028
tetradic
#281990 #901945 #819019 #199063
square
#281990 #901945 #819019 #199063
split-complementary
#281990 #906319 #459019
monochromatic
#0B0728 #1A105C #281990 #3622C4 #5845DF

Accessibility & contrast

On white

12.87
#281990 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #281990
12.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281990#FFFFFF#000000##FFFFFF
##2819901.0012.871.6312.87
#FFFFFF12.871.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003793
Deuteranopia (green-blind)
#002C8E
Tritanopia (blue-blind)
#003E55
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #281990;
/* rgb */ color: rgb(40, 25, 144);
/* oklch */ color: oklch(33.6% 0.180 276.2);
Tailwind
colors: {
  custom: {
    50: '#745ab2',
    500: '#281990',
    950: '#000000',
  },
}
SCSS
$custom: #281990;
$custom-light: #745ab2;
$custom-dark: #000000;
JSON
{
  "hex": "#281990",
  "rgb": {
    "r": 40,
    "g": 25,
    "b": 144
  },
  "hsl": {
    "h": 247.563,
    "s": 70.414,
    "l": 33.137
  },
  "oklch": {
    "l": 0.33564,
    "c": 0.17996,
    "h": 276.2
  },
  "luminance": 0.0316
}

Semantic roles & 50–950 ramp

primary
#281990
secondary
#B0C045
accent
#ED3BD7
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #281990

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

Preview Lab → · Contrast checker → · Palette generator →

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