#281B76#281B76

#281B76 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.9% C 0.146 H 280.1°. Best body text is #FFFFFF at 13.92:1 contrast (WCAG AA passes).

Color values

HEX#281B76
RGBrgb(40, 27, 118)
HSLhsl(249, 63%, 28%)
HSVhsv(249, 77%, 46%)
CMYKcmyk(66.1%, 77.1%, 0%, 53.7%)
CIE-LABlab(18.11, 34.34, -49.70)
CIE-LCHlch(18.11, 60.40, 304.64°)
OKLaboklab(30.91% 0.0255 -0.1434)
OKLCHoklch(30.91% 0.146 280.1)
XYZxyz(4.5360, 2.5426, 17.3878)
Luminance0.0254 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281B76 #69761B
analogous
#1B3B76 #281B76 #551B76
triadic
#281B76 #76281B #1B7628
tetradic
#281B76 #761B3B #69761B #1B7655
square
#281B76 #761B3B #69761B #1B7655
split-complementary
#281B76 #76551B #3B761B
monochromatic
#080619 #171044 #281B76 #3926A8 #4F3AD2

Accessibility & contrast

On white

13.92
#281B76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#281B76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281B76
13.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281B76#FFFFFF#000000##FFFFFF
##281B761.0013.921.5113.92
#FFFFFF13.921.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003079
Deuteranopia (green-blind)
#002974
Tritanopia (blue-blind)
#003547
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #281b76;
/* rgb */ color: rgb(40, 27, 118);
/* oklch */ color: oklch(30.9% 0.146 280.1);
Tailwind
colors: {
  custom: {
    50: '#6d599e',
    500: '#281b76',
    950: '#000000',
  },
}
SCSS
$custom: #281b76;
$custom-light: #6d599e;
$custom-dark: #000000;
JSON
{
  "hex": "#281b76",
  "rgb": {
    "r": 40,
    "g": 27,
    "b": 118
  },
  "hsl": {
    "h": 248.571,
    "s": 62.759,
    "l": 28.431
  },
  "oklch": {
    "l": 0.30906,
    "c": 0.14566,
    "h": 280.1
  },
  "luminance": 0.02543
}

Semantic roles & 50–950 ramp

primary
#281B76
secondary
#9CAA42
accent
#E642CE
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08040E
muted
#7B797E

Preview Lab

Preview with #281B76

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

Preview Lab → · Contrast checker → · Palette generator →

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