#281994#281994

#281994 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 34.0% C 0.185 H 275.7°. Best body text is #FFFFFF at 12.68:1 contrast (WCAG AA passes).

Color values

HEX#281994
RGBrgb(40, 25, 148)
HSLhsl(247, 71%, 34%)
HSVhsv(247, 83%, 58%)
CMYKcmyk(73%, 83.1%, 0%, 42%)
CIE-LABlab(21.15, 45.05, -63.59)
CIE-LCHlch(21.15, 77.93, 305.31°)
OKLaboklab(34.03% 0.0184 -0.1838)
OKLCHoklch(34.03% 0.185 275.7)
XYZxyz(6.5662, 3.2839, 28.2990)
Luminance0.0328 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281994 #859419
analogous
#194894 #281994 #661994
triadic
#281994 #942819 #199428
tetradic
#281994 #941948 #859419 #199466
square
#281994 #941948 #859419 #199466
split-complementary
#281994 #946619 #489419
monochromatic
#0C072B #1A1060 #281994 #3622C8 #5A47E0

Accessibility & contrast

On white

12.68
#281994 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#281994 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281994
12.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281994#FFFFFF#000000##FFFFFF
##2819941.0012.681.6612.68
#FFFFFF12.681.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003897
Deuteranopia (green-blind)
#002D92
Tritanopia (blue-blind)
#004058
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #281994;
/* rgb */ color: rgb(40, 25, 148);
/* oklch */ color: oklch(34.0% 0.185 275.7);
Tailwind
colors: {
  custom: {
    50: '#755ab5',
    500: '#281994',
    950: '#000000',
  },
}
SCSS
$custom: #281994;
$custom-light: #755ab5;
$custom-dark: #000000;
JSON
{
  "hex": "#281994",
  "rgb": {
    "r": 40,
    "g": 25,
    "b": 148
  },
  "hsl": {
    "h": 247.317,
    "s": 71.098,
    "l": 33.922
  },
  "oklch": {
    "l": 0.34032,
    "c": 0.18473,
    "h": 275.7
  },
  "luminance": 0.03284
}

Semantic roles & 50–950 ramp

primary
#281994
secondary
#B3C147
accent
#EE3AD8
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #281994

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

Preview Lab → · Contrast checker → · Palette generator →

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