#281B73#281B73

#281B73 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.6% C 0.142 H 280.7°. Best body text is #FFFFFF at 14.05:1 contrast (WCAG AA passes).

Color values

HEX#281B73
RGBrgb(40, 27, 115)
HSLhsl(249, 62%, 28%)
HSVhsv(249, 77%, 45%)
CMYKcmyk(65.2%, 76.5%, 0%, 54.9%)
CIE-LABlab(17.79, 33.33, -48.28)
CIE-LCHlch(17.79, 58.67, 304.62°)
OKLaboklab(30.59% 0.0262 -0.1393)
OKLCHoklch(30.59% 0.142 280.7)
XYZxyz(4.3605, 2.4725, 16.4638)
Luminance0.0247 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281B73 #66731B
analogous
#1B3A73 #281B73 #541B73
triadic
#281B73 #73281B #1B7328
tetradic
#281B73 #731B3A #66731B #1B7354
square
#281B73 #731B3A #66731B #1B7354
split-complementary
#281B73 #73541B #3A731B
monochromatic
#090619 #170F41 #281B73 #3927A5 #4F38D0

Accessibility & contrast

On white

14.05
#281B73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#281B73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281B73
14.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281B73#FFFFFF#000000##FFFFFF
##281B731.0014.051.4914.05
#FFFFFF14.051.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F76
Deuteranopia (green-blind)
#002871
Tritanopia (blue-blind)
#003445
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #281b73;
/* rgb */ color: rgb(40, 27, 115);
/* oklch */ color: oklch(30.6% 0.142 280.7);
Tailwind
colors: {
  custom: {
    50: '#6d599c',
    500: '#281b73',
    950: '#000000',
  },
}
SCSS
$custom: #281b73;
$custom-light: #6d599c;
$custom-dark: #000000;
JSON
{
  "hex": "#281b73",
  "rgb": {
    "r": 40,
    "g": 27,
    "b": 115
  },
  "hsl": {
    "h": 248.864,
    "s": 61.972,
    "l": 27.843
  },
  "oklch": {
    "l": 0.30587,
    "c": 0.14174,
    "h": 280.7
  },
  "luminance": 0.02473
}

Semantic roles & 50–950 ramp

primary
#281B73
secondary
#99A842
accent
#E543CD
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08030E
muted
#7A787E

Preview Lab

Preview with #281B73

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

Preview Lab → · Contrast checker → · Palette generator →

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