#281893#281893

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

Color values

HEX#281893
RGBrgb(40, 24, 147)
HSLhsl(248, 72%, 34%)
HSVhsv(248, 84%, 58%)
CMYKcmyk(72.8%, 83.7%, 0%, 42.4%)
CIE-LABlab(20.87, 45.21, -63.43)
CIE-LCHlch(20.87, 77.89, 305.48°)
OKLaboklab(33.8% 0.019 -0.1834)
OKLCHoklch(33.8% 0.184 275.9)
XYZxyz(6.4664, 3.2103, 27.8770)
Luminance0.0321 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281893 #839318
analogous
#184593 #281893 #651893
triadic
#281893 #932818 #189328
tetradic
#281893 #931845 #839318 #189365
square
#281893 #931845 #839318 #189365
split-complementary
#281893 #936518 #459318
monochromatic
#0B072A #1A0F5E #281893 #3621C8 #5945E1

Accessibility & contrast

On white

12.79
#281893 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #281893
12.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281893#FFFFFF#000000##FFFFFF
##2818931.0012.791.6412.79
#FFFFFF12.791.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003796
Deuteranopia (green-blind)
#002D91
Tritanopia (blue-blind)
#003F57
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #281893;
/* rgb */ color: rgb(40, 24, 147);
/* oklch */ color: oklch(33.8% 0.184 275.9);
Tailwind
colors: {
  custom: {
    50: '#745ab4',
    500: '#281893',
    950: '#000000',
  },
}
SCSS
$custom: #281893;
$custom-light: #745ab4;
$custom-dark: #000000;
JSON
{
  "hex": "#281893",
  "rgb": {
    "r": 40,
    "g": 24,
    "b": 147
  },
  "hsl": {
    "h": 247.805,
    "s": 71.93,
    "l": 33.529
  },
  "oklch": {
    "l": 0.33804,
    "c": 0.18433,
    "h": 275.9
  },
  "luminance": 0.03211
}

Semantic roles & 50–950 ramp

primary
#281893
secondary
#B1C245
accent
#EF39D7
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #281893

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

Preview Lab → · Contrast checker → · Palette generator →

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