#281C73#281C73

#281C73 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.7% C 0.141 H 280.4°. Best body text is #FFFFFF at 13.96:1 contrast (WCAG AA passes).

Color values

HEX#281C73
RGBrgb(40, 28, 115)
HSLhsl(248, 61%, 28%)
HSVhsv(248, 76%, 45%)
CMYKcmyk(65.2%, 75.7%, 0%, 54.9%)
CIE-LABlab(18.00, 32.74, -47.94)
CIE-LCHlch(18.00, 58.05, 304.33°)
OKLaboklab(30.74% 0.0255 -0.1383)
OKLCHoklch(30.74% 0.141 280.4)
XYZxyz(4.3839, 2.5191, 16.4716)
Luminance0.0252 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281C73 #67731C
analogous
#1C3B73 #281C73 #531C73
triadic
#281C73 #73281C #1C7328
tetradic
#281C73 #731C3B #67731C #1C7353
square
#281C73 #731C3B #67731C #1C7353
split-complementary
#281C73 #73531C #3B731C
monochromatic
#090619 #171042 #281C73 #3928A4 #4F3ACF

Accessibility & contrast

On white

13.96
#281C73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#281C73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281C73
13.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281C73#FFFFFF#000000##FFFFFF
##281C731.0013.961.5013.96
#FFFFFF13.961.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.961.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #281c73;
/* rgb */ color: rgb(40, 28, 115);
/* oklch */ color: oklch(30.7% 0.141 280.4);
Tailwind
colors: {
  custom: {
    50: '#6d5a9c',
    500: '#281c73',
    950: '#000000',
  },
}
SCSS
$custom: #281c73;
$custom-light: #6d5a9c;
$custom-dark: #000000;
JSON
{
  "hex": "#281c73",
  "rgb": {
    "r": 40,
    "g": 28,
    "b": 115
  },
  "hsl": {
    "h": 248.276,
    "s": 60.839,
    "l": 28.039
  },
  "oklch": {
    "l": 0.30737,
    "c": 0.14061,
    "h": 280.4
  },
  "luminance": 0.02519
}

Semantic roles & 50–950 ramp

primary
#281C73
secondary
#9AA743
accent
#E444CE
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08040E
muted
#7A797E

Preview Lab

Preview with #281C73

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

Preview Lab → · Contrast checker → · Palette generator →

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