#281C6D#281C6D

#281C6D is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.1% C 0.133 H 281.6°. Best body text is #FFFFFF at 14.22:1 contrast (WCAG AA passes).

Color values

HEX#281C6D
RGBrgb(40, 28, 109)
HSLhsl(249, 59%, 27%)
HSVhsv(249, 74%, 43%)
CMYKcmyk(63.3%, 74.3%, 0%, 57.3%)
CIE-LABlab(17.39, 30.70, -45.05)
CIE-LCHlch(17.39, 54.52, 304.27°)
OKLaboklab(30.12% 0.0268 -0.1298)
OKLCHoklch(30.12% 0.133 281.6)
XYZxyz(4.0498, 2.3855, 14.7121)
Luminance0.0239 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281C6D #616D1C
analogous
#1C396D #281C6D #511C6D
triadic
#281C6D #6D281C #1C6D28
tetradic
#281C6D #6D1C39 #616D1C #1C6D51
square
#281C6D #6D1C39 #616D1C #1C6D51
split-complementary
#281C6D #6D511C #396D1C
monochromatic
#090618 #160F3C #281C6D #3A299E #4E38CC

Accessibility & contrast

On white

14.22
#281C6D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#281C6D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281C6D
14.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281C6D#FFFFFF#000000##FFFFFF
##281C6D1.0014.221.4814.22
#FFFFFF14.221.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D6F
Deuteranopia (green-blind)
#00286B
Tritanopia (blue-blind)
#003242
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #281c6d;
/* rgb */ color: rgb(40, 28, 109);
/* oklch */ color: oklch(30.1% 0.133 281.6);
Tailwind
colors: {
  custom: {
    50: '#6b5998',
    500: '#281c6d',
    950: '#000000',
  },
}
SCSS
$custom: #281c6d;
$custom-light: #6b5998;
$custom-dark: #000000;
JSON
{
  "hex": "#281c6d",
  "rgb": {
    "r": 40,
    "g": 28,
    "b": 109
  },
  "hsl": {
    "h": 248.889,
    "s": 59.124,
    "l": 26.863
  },
  "oklch": {
    "l": 0.30115,
    "c": 0.13258,
    "h": 281.6
  },
  "luminance": 0.02386
}

Semantic roles & 50–950 ramp

primary
#281C6D
secondary
#94A243
accent
#E245CB
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #281C6D

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

Preview Lab → · Contrast checker → · Palette generator →

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