#281A73#281A73

#281A73 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.4% C 0.143 H 280.9°. Best body text is #FFFFFF at 14.14:1 contrast (WCAG AA passes).

Color values

HEX#281A73
RGBrgb(40, 26, 115)
HSLhsl(249, 63%, 28%)
HSVhsv(249, 77%, 45%)
CMYKcmyk(65.2%, 77.4%, 0%, 54.9%)
CIE-LABlab(17.59, 33.91, -48.63)
CIE-LCHlch(17.59, 59.28, 304.89°)
OKLaboklab(30.44% 0.027 -0.1403)
OKLCHoklch(30.44% 0.143 280.9)
XYZxyz(4.3380, 2.4274, 16.4563)
Luminance0.0243 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281A73 #65731A
analogous
#1A3973 #281A73 #541A73
triadic
#281A73 #73281A #1A7328
tetradic
#281A73 #731A39 #65731A #1A7354
square
#281A73 #731A39 #65731A #1A7354
split-complementary
#281A73 #73541A #39731A
monochromatic
#090619 #170F41 #281A73 #3925A5 #4E36D2

Accessibility & contrast

On white

14.14
#281A73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #281A73
14.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281A73#FFFFFF#000000##FFFFFF
##281A731.0014.141.4914.14
#FFFFFF14.141.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E76
Deuteranopia (green-blind)
#002871
Tritanopia (blue-blind)
#003345
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #281a73;
/* rgb */ color: rgb(40, 26, 115);
/* oklch */ color: oklch(30.4% 0.143 280.9);
Tailwind
colors: {
  custom: {
    50: '#6d589c',
    500: '#281a73',
    950: '#000000',
  },
}
SCSS
$custom: #281a73;
$custom-light: #6d589c;
$custom-dark: #000000;
JSON
{
  "hex": "#281a73",
  "rgb": {
    "r": 40,
    "g": 26,
    "b": 115
  },
  "hsl": {
    "h": 249.438,
    "s": 63.121,
    "l": 27.647
  },
  "oklch": {
    "l": 0.30441,
    "c": 0.14285,
    "h": 280.9
  },
  "luminance": 0.02428
}

Semantic roles & 50–950 ramp

primary
#281A73
secondary
#98A841
accent
#E642CC
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08030E
muted
#7A787E

Preview Lab

Preview with #281A73

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

Preview Lab → · Contrast checker → · Palette generator →

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