#281C66#281C66

#281C66 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.4% C 0.123 H 283.2°. Best body text is #FFFFFF at 14.50:1 contrast (WCAG AA passes).

Color values

HEX#281C66
RGBrgb(40, 28, 102)
HSLhsl(250, 57%, 25%)
HSVhsv(250, 73%, 40%)
CMYKcmyk(60.8%, 72.5%, 0%, 60%)
CIE-LABlab(16.70, 28.31, -41.61)
CIE-LCHlch(16.70, 50.32, 304.23°)
OKLaboklab(29.41% 0.0281 -0.1197)
OKLCHoklch(29.41% 0.123 283.2)
XYZxyz(3.6879, 2.2407, 12.8060)
Luminance0.0224 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281C66 #5A661C
analogous
#1C3566 #281C66 #4D1C66
triadic
#281C66 #66281C #1C6628
tetradic
#281C66 #661C35 #5A661C #1C664D
square
#281C66 #661C35 #5A661C #1C664D
split-complementary
#281C66 #664D1C #35661C
monochromatic
#090718 #150F36 #281C66 #3B2996 #4E36C6

Accessibility & contrast

On white

14.50
#281C66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#281C66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281C66
14.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281C66#FFFFFF#000000##FFFFFF
##281C661.0014.501.4514.50
#FFFFFF14.501.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C68
Deuteranopia (green-blind)
#002765
Tritanopia (blue-blind)
#072F3E
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #281c66;
/* rgb */ color: rgb(40, 28, 102);
/* oklch */ color: oklch(29.4% 0.123 283.2);
Tailwind
colors: {
  custom: {
    50: '#6a5992',
    500: '#281c66',
    950: '#000000',
  },
}
SCSS
$custom: #281c66;
$custom-light: #6a5992;
$custom-dark: #000000;
JSON
{
  "hex": "#281c66",
  "rgb": {
    "r": 40,
    "g": 28,
    "b": 102
  },
  "hsl": {
    "h": 249.73,
    "s": 56.923,
    "l": 25.49
  },
  "oklch": {
    "l": 0.2941,
    "c": 0.123,
    "h": 283.2
  },
  "luminance": 0.02241
}

Semantic roles & 50–950 ramp

primary
#281C66
secondary
#8D9B43
accent
#E048C7
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#07030D
muted
#7A787E

Preview Lab

Preview with #281C66

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

Preview Lab → · Contrast checker → · Palette generator →

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