#281C80#281C80

#281C80 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.1% C 0.157 H 278.2°. Best body text is #FFFFFF at 13.39:1 contrast (WCAG AA passes).

Color values

HEX#281C80
RGBrgb(40, 28, 128)
HSLhsl(247, 64%, 31%)
HSVhsv(247, 78%, 50%)
CMYKcmyk(68.8%, 78.1%, 0%, 49.8%)
CIE-LABlab(19.39, 37.09, -53.97)
CIE-LCHlch(19.39, 65.49, 304.50°)
OKLaboklab(32.13% 0.0224 -0.1559)
OKLCHoklch(32.13% 0.157 278.2)
XYZxyz(5.1854, 2.8397, 20.6927)
Luminance0.0284 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281C80 #74801C
analogous
#1C4280 #281C80 #5A1C80
triadic
#281C80 #80281C #1C8028
tetradic
#281C80 #801C42 #74801C #1C805A
square
#281C80 #801C42 #74801C #1C805A
split-complementary
#281C80 #805A1C #42801C
monochromatic
#09061C #18114E #281C80 #3827B2 #5341D5

Accessibility & contrast

On white

13.39
#281C80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#281C80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281C80
13.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281C80#FFFFFF#000000##FFFFFF
##281C801.0013.391.5713.39
#FFFFFF13.391.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003383
Deuteranopia (green-blind)
#002B7E
Tritanopia (blue-blind)
#00394D
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #281c80;
/* rgb */ color: rgb(40, 28, 128);
/* oklch */ color: oklch(32.1% 0.157 278.2);
Tailwind
colors: {
  custom: {
    50: '#705aa6',
    500: '#281c80',
    950: '#000000',
  },
}
SCSS
$custom: #281c80;
$custom-light: #705aa6;
$custom-dark: #000000;
JSON
{
  "hex": "#281c80",
  "rgb": {
    "r": 40,
    "g": 28,
    "b": 128
  },
  "hsl": {
    "h": 247.2,
    "s": 64.103,
    "l": 30.588
  },
  "oklch": {
    "l": 0.32132,
    "c": 0.15749,
    "h": 278.2
  },
  "luminance": 0.0284
}

Semantic roles & 50–950 ramp

primary
#281C80
secondary
#A6B344
accent
#E741D3
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F

Preview Lab

Preview with #281C80

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

Preview Lab → · Contrast checker → · Palette generator →

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