#281594#281594

#281594 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.6% C 0.188 H 276.0°. Best body text is #FFFFFF at 12.92:1 contrast (WCAG AA passes).

Color values

HEX#281594
RGBrgb(40, 21, 148)
HSLhsl(249, 75%, 33%)
HSVhsv(249, 86%, 58%)
CMYKcmyk(73%, 85.8%, 0%, 42%)
CIE-LABlab(20.54, 46.84, -64.60)
CIE-LCHlch(20.54, 79.79, 305.95°)
OKLaboklab(33.61% 0.0198 -0.1867)
OKLCHoklch(33.61% 0.188 276)
XYZxyz(6.4868, 3.1249, 28.2725)
Luminance0.0313 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281594 #819415
analogous
#154294 #281594 #671594
triadic
#281594 #942815 #159428
tetradic
#281594 #941542 #819415 #159467
square
#281594 #941542 #819415 #159467
split-complementary
#281594 #946715 #429415
monochromatic
#0B0629 #1A0D5E #281594 #361DCA #5840E4

Accessibility & contrast

On white

12.92
#281594 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #281594
12.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281594#FFFFFF#000000##FFFFFF
##2815941.0012.921.6312.92
#FFFFFF12.921.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003797
Deuteranopia (green-blind)
#002C92
Tritanopia (blue-blind)
#003F57
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #281594;
/* rgb */ color: rgb(40, 21, 148);
/* oklch */ color: oklch(33.6% 0.188 276.0);
Tailwind
colors: {
  custom: {
    50: '#7558b5',
    500: '#281594',
    950: '#000000',
  },
}
SCSS
$custom: #281594;
$custom-light: #7558b5;
$custom-dark: #000000;
JSON
{
  "hex": "#281594",
  "rgb": {
    "r": 40,
    "g": 21,
    "b": 148
  },
  "hsl": {
    "h": 248.976,
    "s": 75.148,
    "l": 33.137
  },
  "oklch": {
    "l": 0.33612,
    "c": 0.18772,
    "h": 276
  },
  "luminance": 0.03126
}

Semantic roles & 50–950 ramp

primary
#281594
secondary
#B0C441
accent
#F236D6
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #281594

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

Preview Lab → · Contrast checker → · Palette generator →

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