#281C85#281C85

#281C85 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.7% C 0.164 H 277.4°. Best body text is #FFFFFF at 13.17:1 contrast (WCAG AA passes).

Color values

HEX#281C85
RGBrgb(40, 28, 133)
HSLhsl(247, 65%, 32%)
HSVhsv(247, 79%, 52%)
CMYKcmyk(69.9%, 78.9%, 0%, 47.8%)
CIE-LABlab(19.94, 38.74, -56.22)
CIE-LCHlch(19.94, 68.27, 304.57°)
OKLaboklab(32.68% 0.0211 -0.1624)
OKLCHoklch(32.68% 0.164 277.4)
XYZxyz(5.5226, 2.9746, 22.4689)
Luminance0.0297 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281C85 #79851C
analogous
#1C4585 #281C85 #5D1C85
triadic
#281C85 #85281C #1C8528
tetradic
#281C85 #851C45 #79851C #1C855D
square
#281C85 #851C45 #79851C #1C855D
split-complementary
#281C85 #855D1C #45851C
monochromatic
#0A0720 #191152 #281C85 #3727B8 #5544D8

Accessibility & contrast

On white

13.17
#281C85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#281C85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281C85
13.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281C85#FFFFFF#000000##FFFFFF
##281C851.0013.171.6013.17
#FFFFFF13.171.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003488
Deuteranopia (green-blind)
#002C83
Tritanopia (blue-blind)
#003B50
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #281c85;
/* rgb */ color: rgb(40, 28, 133);
/* oklch */ color: oklch(32.7% 0.164 277.4);
Tailwind
colors: {
  custom: {
    50: '#715baa',
    500: '#281c85',
    950: '#000000',
  },
}
SCSS
$custom: #281c85;
$custom-light: #715baa;
$custom-dark: #000000;
JSON
{
  "hex": "#281c85",
  "rgb": {
    "r": 40,
    "g": 28,
    "b": 133
  },
  "hsl": {
    "h": 246.857,
    "s": 65.217,
    "l": 31.569
  },
  "oklch": {
    "l": 0.32684,
    "c": 0.16381,
    "h": 277.4
  },
  "luminance": 0.02975
}

Semantic roles & 50–950 ramp

primary
#281C85
secondary
#ABB845
accent
#E840D5
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #281C85

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

Preview Lab → · Contrast checker → · Palette generator →

#281C85 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva