#281699#281699

#281699 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 34.3% C 0.193 H 275.3°. Best body text is #FFFFFF at 12.61:1 contrast (WCAG AA passes).

Color values

HEX#281699
RGBrgb(40, 22, 153)
HSLhsl(248, 75%, 34%)
HSVhsv(248, 86%, 60%)
CMYKcmyk(73.9%, 85.6%, 0%, 40%)
CIE-LABlab(21.30, 47.91, -66.42)
CIE-LCHlch(21.30, 81.90, 305.80°)
OKLaboklab(34.31% 0.0179 -0.192)
OKLCHoklch(34.31% 0.193 275.3)
XYZxyz(6.9099, 3.3242, 30.4083)
Luminance0.0333 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281699 #879916
analogous
#164699 #281699 #6A1699
triadic
#281699 #992816 #169928
tetradic
#281699 #991646 #879916 #16996A
square
#281699 #991646 #879916 #16996A
split-complementary
#281699 #996A16 #469916
monochromatic
#0C072E #1A0E63 #281699 #361ECF #5B45E4

Accessibility & contrast

On white

12.61
#281699 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#281699 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281699
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281699#FFFFFF#000000##FFFFFF
##2816991.0012.611.6712.61
#FFFFFF12.611.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00399C
Deuteranopia (green-blind)
#002D97
Tritanopia (blue-blind)
#00415A
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #281699;
/* rgb */ color: rgb(40, 22, 153);
/* oklch */ color: oklch(34.3% 0.193 275.3);
Tailwind
colors: {
  custom: {
    50: '#7659b8',
    500: '#281699',
    950: '#000000',
  },
}
SCSS
$custom: #281699;
$custom-light: #7659b8;
$custom-dark: #000000;
JSON
{
  "hex": "#281699",
  "rgb": {
    "r": 40,
    "g": 22,
    "b": 153
  },
  "hsl": {
    "h": 248.244,
    "s": 74.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.34311,
    "c": 0.19281,
    "h": 275.3
  },
  "luminance": 0.03325
}

Semantic roles & 50–950 ramp

primary
#281699
secondary
#B4C546
accent
#F136D8
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #281699

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

Preview Lab → · Contrast checker → · Palette generator →

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