#281593#281593

#281593 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.5% C 0.187 H 276.2°. Best body text is #FFFFFF at 12.97:1 contrast (WCAG AA passes).

Color values

HEX#281593
RGBrgb(40, 21, 147)
HSLhsl(249, 75%, 33%)
HSVhsv(249, 86%, 58%)
CMYKcmyk(72.8%, 85.7%, 0%, 42.4%)
CIE-LABlab(20.41, 46.54, -64.18)
CIE-LCHlch(20.41, 79.28, 305.95°)
OKLaboklab(33.49% 0.0201 -0.1855)
OKLCHoklch(33.49% 0.187 276.2)
XYZxyz(6.4080, 3.0934, 27.8575)
Luminance0.0309 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281593 #809315
analogous
#154193 #281593 #671593
triadic
#281593 #932815 #159328
tetradic
#281593 #931541 #809315 #159367
square
#281593 #931541 #809315 #159367
split-complementary
#281593 #936715 #419315
monochromatic
#0B0628 #190D5D #281593 #371DC9 #583FE4

Accessibility & contrast

On white

12.97
#281593 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#281593 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281593
12.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281593#FFFFFF#000000##FFFFFF
##2815931.0012.971.6212.97
#FFFFFF12.971.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003696
Deuteranopia (green-blind)
#002C91
Tritanopia (blue-blind)
#003E56
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #281593;
/* rgb */ color: rgb(40, 21, 147);
/* oklch */ color: oklch(33.5% 0.187 276.2);
Tailwind
colors: {
  custom: {
    50: '#7558b4',
    500: '#281593',
    950: '#000000',
  },
}
SCSS
$custom: #281593;
$custom-light: #7558b4;
$custom-dark: #000000;
JSON
{
  "hex": "#281593",
  "rgb": {
    "r": 40,
    "g": 21,
    "b": 147
  },
  "hsl": {
    "h": 249.048,
    "s": 75,
    "l": 32.941
  },
  "oklch": {
    "l": 0.33492,
    "c": 0.18655,
    "h": 276.2
  },
  "luminance": 0.03094
}

Semantic roles & 50–950 ramp

primary
#281593
secondary
#B0C440
accent
#F236D5
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #281593

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

Preview Lab → · Contrast checker → · Palette generator →

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