#281C70#281C70

#281C70 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.4% C 0.137 H 281.0°. Best body text is #FFFFFF at 14.09:1 contrast (WCAG AA passes).

Color values

HEX#281C70
RGBrgb(40, 28, 112)
HSLhsl(249, 60%, 27%)
HSVhsv(249, 75%, 44%)
CMYKcmyk(64.3%, 75%, 0%, 56.1%)
CIE-LABlab(17.70, 31.72, -46.50)
CIE-LCHlch(17.70, 56.29, 304.30°)
OKLaboklab(30.42% 0.0261 -0.1341)
OKLCHoklch(30.42% 0.137 281)
XYZxyz(4.2140, 2.4512, 15.5772)
Luminance0.0245 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281C70 #64701C
analogous
#1C3A70 #281C70 #521C70
triadic
#281C70 #70281C #1C7028
tetradic
#281C70 #701C3A #64701C #1C7052
square
#281C70 #701C3A #64701C #1C7052
split-complementary
#281C70 #70521C #3A701C
monochromatic
#090618 #17103F #281C70 #3928A1 #4E39CD

Accessibility & contrast

On white

14.09
#281C70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #281C70
14.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281C70#FFFFFF#000000##FFFFFF
##281C701.0014.091.4914.09
#FFFFFF14.091.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E72
Deuteranopia (green-blind)
#00286E
Tritanopia (blue-blind)
#003344
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #281c70;
/* rgb */ color: rgb(40, 28, 112);
/* oklch */ color: oklch(30.4% 0.137 281.0);
Tailwind
colors: {
  custom: {
    50: '#6c5a9a',
    500: '#281c70',
    950: '#000000',
  },
}
SCSS
$custom: #281c70;
$custom-light: #6c5a9a;
$custom-dark: #000000;
JSON
{
  "hex": "#281c70",
  "rgb": {
    "r": 40,
    "g": 28,
    "b": 112
  },
  "hsl": {
    "h": 248.571,
    "s": 60,
    "l": 27.451
  },
  "oklch": {
    "l": 0.30424,
    "c": 0.13661,
    "h": 281
  },
  "luminance": 0.02451
}

Semantic roles & 50–950 ramp

primary
#281C70
secondary
#97A543
accent
#E345CD
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08040E
muted
#7A797E

Preview Lab

Preview with #281C70

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

Preview Lab → · Contrast checker → · Palette generator →

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