#281C72#281C72

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

Color values

HEX#281C72
RGBrgb(40, 28, 114)
HSLhsl(248, 61%, 28%)
HSVhsv(248, 75%, 45%)
CMYKcmyk(64.9%, 75.4%, 0%, 55.3%)
CIE-LABlab(17.90, 32.40, -47.46)
CIE-LCHlch(17.90, 57.47, 304.32°)
OKLaboklab(30.63% 0.0257 -0.1369)
OKLCHoklch(30.63% 0.139 280.6)
XYZxyz(4.3266, 2.4962, 16.1701)
Luminance0.0250 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281C72 #66721C
analogous
#1C3B72 #281C72 #531C72
triadic
#281C72 #72281C #1C7228
tetradic
#281C72 #721C3B #66721C #1C7253
square
#281C72 #721C3B #66721C #1C7253
split-complementary
#281C72 #72531C #3B721C
monochromatic
#090619 #171041 #281C72 #3928A3 #4F3ACF

Accessibility & contrast

On white

14.01
#281C72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #281C72
14.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281C72#FFFFFF#000000##FFFFFF
##281C721.0014.011.5014.01
#FFFFFF14.011.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #281c72;
/* rgb */ color: rgb(40, 28, 114);
/* oklch */ color: oklch(30.6% 0.139 280.6);
Tailwind
colors: {
  custom: {
    50: '#6c5a9b',
    500: '#281c72',
    950: '#000000',
  },
}
SCSS
$custom: #281c72;
$custom-light: #6c5a9b;
$custom-dark: #000000;
JSON
{
  "hex": "#281c72",
  "rgb": {
    "r": 40,
    "g": 28,
    "b": 114
  },
  "hsl": {
    "h": 248.372,
    "s": 60.563,
    "l": 27.843
  },
  "oklch": {
    "l": 0.30632,
    "c": 0.13928,
    "h": 280.6
  },
  "luminance": 0.02497
}

Semantic roles & 50–950 ramp

primary
#281C72
secondary
#99A643
accent
#E444CD
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08040E
muted
#7A797E

Preview Lab

Preview with #281C72

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

Preview Lab → · Contrast checker → · Palette generator →

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