#281982#281982

#281982 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.0% C 0.163 H 278.3°. Best body text is #FFFFFF at 13.53:1 contrast (WCAG AA passes).

Color values

HEX#281982
RGBrgb(40, 25, 130)
HSLhsl(249, 68%, 30%)
HSVhsv(249, 81%, 51%)
CMYKcmyk(69.2%, 80.8%, 0%, 49%)
CIE-LABlab(19.05, 39.37, -55.81)
CIE-LCHlch(19.05, 68.29, 305.20°)
OKLaboklab(31.96% 0.0236 -0.1612)
OKLCHoklch(31.96% 0.163 278.3)
XYZxyz(5.2507, 2.7576, 21.3703)
Luminance0.0276 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281982 #738219
analogous
#193F82 #281982 #5C1982
triadic
#281982 #822819 #198228
tetradic
#281982 #82193F #738219 #19825C
square
#281982 #82193F #738219 #19825C
split-complementary
#281982 #825C19 #3F8219
monochromatic
#08051B #180F4F #281982 #3823B5 #523CD9

Accessibility & contrast

On white

13.53
#281982 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #281982
13.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281982#FFFFFF#000000##FFFFFF
##2819821.0013.531.5513.53
#FFFFFF13.531.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003285
Deuteranopia (green-blind)
#002A80
Tritanopia (blue-blind)
#00394D
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #281982;
/* rgb */ color: rgb(40, 25, 130);
/* oklch */ color: oklch(32.0% 0.163 278.3);
Tailwind
colors: {
  custom: {
    50: '#7059a7',
    500: '#281982',
    950: '#000000',
  },
}
SCSS
$custom: #281982;
$custom-light: #7059a7;
$custom-dark: #000000;
JSON
{
  "hex": "#281982",
  "rgb": {
    "r": 40,
    "g": 25,
    "b": 130
  },
  "hsl": {
    "h": 248.571,
    "s": 67.742,
    "l": 30.392
  },
  "oklch": {
    "l": 0.31957,
    "c": 0.16291,
    "h": 278.3
  },
  "luminance": 0.02758
}

Semantic roles & 50–950 ramp

primary
#281982
secondary
#A5B641
accent
#EB3DD2
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #281982

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

Preview Lab → · Contrast checker → · Palette generator →

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