#281C6A#281C6A

#281C6A is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.8% C 0.129 H 282.3°. Best body text is #FFFFFF at 14.34:1 contrast (WCAG AA passes).

Color values

HEX#281C6A
RGBrgb(40, 28, 106)
HSLhsl(249, 58%, 26%)
HSVhsv(249, 74%, 42%)
CMYKcmyk(62.3%, 73.6%, 0%, 58.4%)
CIE-LABlab(17.09, 29.68, -43.59)
CIE-LCHlch(17.09, 52.73, 304.25°)
OKLaboklab(29.81% 0.0274 -0.1255)
OKLCHoklch(29.81% 0.129 282.3)
XYZxyz(3.8910, 2.3220, 13.8760)
Luminance0.0232 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281C6A #5E6A1C
analogous
#1C376A #281C6A #4F1C6A
triadic
#281C6A #6A281C #1C6A28
tetradic
#281C6A #6A1C37 #5E6A1C #1C6A4F
square
#281C6A #6A1C37 #5E6A1C #1C6A4F
split-complementary
#281C6A #6A4F1C #376A1C
monochromatic
#090618 #160F3A #281C6A #3A299A #4D36CA

Accessibility & contrast

On white

14.34
#281C6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#281C6A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281C6A
14.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281C6A#FFFFFF#000000##FFFFFF
##281C6A1.0014.341.4614.34
#FFFFFF14.341.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D6C
Deuteranopia (green-blind)
#002769
Tritanopia (blue-blind)
#003140
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #281c6a;
/* rgb */ color: rgb(40, 28, 106);
/* oklch */ color: oklch(29.8% 0.129 282.3);
Tailwind
colors: {
  custom: {
    50: '#6b5995',
    500: '#281c6a',
    950: '#000000',
  },
}
SCSS
$custom: #281c6a;
$custom-light: #6b5995;
$custom-dark: #000000;
JSON
{
  "hex": "#281c6a",
  "rgb": {
    "r": 40,
    "g": 28,
    "b": 106
  },
  "hsl": {
    "h": 249.231,
    "s": 58.209,
    "l": 26.275
  },
  "oklch": {
    "l": 0.2981,
    "c": 0.1285,
    "h": 282.3
  },
  "luminance": 0.02322
}

Semantic roles & 50–950 ramp

primary
#281C6A
secondary
#919F43
accent
#E146CA
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030D
muted
#7A787E

Preview Lab

Preview with #281C6A

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

Preview Lab → · Contrast checker → · Palette generator →

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