#281B6A#281B6A

#281B6A is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.6% C 0.130 H 282.6°. Best body text is #FFFFFF at 14.43:1 contrast (WCAG AA passes).

Color values

HEX#281B6A
RGBrgb(40, 27, 106)
HSLhsl(250, 59%, 26%)
HSVhsv(250, 75%, 42%)
CMYKcmyk(62.3%, 74.5%, 0%, 58.4%)
CIE-LABlab(16.87, 30.30, -43.95)
CIE-LCHlch(16.87, 53.38, 304.58°)
OKLaboklab(29.65% 0.0283 -0.1266)
OKLCHoklch(29.65% 0.13 282.6)
XYZxyz(3.8677, 2.2753, 13.8682)
Luminance0.0228 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281B6A #5D6A1B
analogous
#1B356A #281B6A #4F1B6A
triadic
#281B6A #6A281B #1B6A28
tetradic
#281B6A #6A1B35 #5D6A1B #1B6A4F
square
#281B6A #6A1B35 #5D6A1B #1B6A4F
split-complementary
#281B6A #6A4F1B #356A1B
monochromatic
#090618 #160F39 #281B6A #3A279B #4D34CB

Accessibility & contrast

On white

14.43
#281B6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #281B6A
14.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281B6A#FFFFFF#000000##FFFFFF
##281B6A1.0014.431.4614.43
#FFFFFF14.431.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.431.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #281b6a;
/* rgb */ color: rgb(40, 27, 106);
/* oklch */ color: oklch(29.6% 0.130 282.6);
Tailwind
colors: {
  custom: {
    50: '#6b5995',
    500: '#281b6a',
    950: '#000000',
  },
}
SCSS
$custom: #281b6a;
$custom-light: #6b5995;
$custom-dark: #000000;
JSON
{
  "hex": "#281b6a",
  "rgb": {
    "r": 40,
    "g": 27,
    "b": 106
  },
  "hsl": {
    "h": 249.873,
    "s": 59.398,
    "l": 26.078
  },
  "oklch": {
    "l": 0.2965,
    "c": 0.12973,
    "h": 282.6
  },
  "luminance": 0.02276
}

Semantic roles & 50–950 ramp

primary
#281B6A
secondary
#909F42
accent
#E345C9
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030D
muted
#7A787E

Preview Lab

Preview with #281B6A

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

Preview Lab → · Contrast checker → · Palette generator →

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