#281883#281883

#281883 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.9% C 0.165 H 278.3°. Best body text is #FFFFFF at 13.56:1 contrast (WCAG AA passes).

Color values

HEX#281883
RGBrgb(40, 24, 131)
HSLhsl(249, 69%, 30%)
HSVhsv(249, 82%, 51%)
CMYKcmyk(69.5%, 81.7%, 0%, 48.6%)
CIE-LABlab(18.98, 40.20, -56.54)
CIE-LCHlch(18.98, 69.38, 305.41°)
OKLaboklab(31.95% 0.0238 -0.1633)
OKLCHoklch(31.95% 0.165 278.3)
XYZxyz(5.2971, 2.7426, 21.7186)
Luminance0.0274 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281883 #738318
analogous
#183D83 #281883 #5D1883
triadic
#281883 #832818 #188328
tetradic
#281883 #83183D #738318 #18835D
square
#281883 #83183D #738318 #18835D
split-complementary
#281883 #835D18 #3D8318
monochromatic
#08051C #180F4F #281883 #3821B7 #523ADB

Accessibility & contrast

On white

13.56
#281883 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#281883 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281883
13.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281883#FFFFFF#000000##FFFFFF
##2818831.0013.561.5513.56
#FFFFFF13.561.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003286
Deuteranopia (green-blind)
#002A81
Tritanopia (blue-blind)
#00394E
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #281883;
/* rgb */ color: rgb(40, 24, 131);
/* oklch */ color: oklch(31.9% 0.165 278.3);
Tailwind
colors: {
  custom: {
    50: '#7158a8',
    500: '#281883',
    950: '#000000',
  },
}
SCSS
$custom: #281883;
$custom-light: #7158a8;
$custom-dark: #000000;
JSON
{
  "hex": "#281883",
  "rgb": {
    "r": 40,
    "g": 24,
    "b": 131
  },
  "hsl": {
    "h": 248.972,
    "s": 69.032,
    "l": 30.392
  },
  "oklch": {
    "l": 0.31947,
    "c": 0.16505,
    "h": 278.3
  },
  "luminance": 0.02743
}

Semantic roles & 50–950 ramp

primary
#281883
secondary
#A5B740
accent
#EC3CD2
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F

Preview Lab

Preview with #281883

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

Preview Lab → · Contrast checker → · Palette generator →

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