#281C90#281C90

#281C90 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.9% C 0.177 H 275.9°. Best body text is #FFFFFF at 12.66:1 contrast (WCAG AA passes).

Color values

HEX#281C90
RGBrgb(40, 28, 144)
HSLhsl(246, 67%, 34%)
HSVhsv(246, 81%, 56%)
CMYKcmyk(72.2%, 80.6%, 0%, 43.5%)
CIE-LABlab(21.19, 42.30, -61.04)
CIE-LCHlch(21.19, 74.27, 304.72°)
OKLaboklab(33.92% 0.0182 -0.1765)
OKLCHoklch(33.92% 0.177 275.9)
XYZxyz(6.3227, 3.2946, 26.6829)
Luminance0.0330 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281C90 #84901C
analogous
#1C4A90 #281C90 #621C90
triadic
#281C90 #90281C #1C9028
tetradic
#281C90 #901C4A #84901C #1C9062
square
#281C90 #901C4A #84901C #1C9062
split-complementary
#281C90 #90621C #4A901C
monochromatic
#0C082A #1A125D #281C90 #3626C3 #5A4ADC

Accessibility & contrast

On white

12.66
#281C90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#281C90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281C90
12.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281C90#FFFFFF#000000##FFFFFF
##281C901.0012.661.6612.66
#FFFFFF12.661.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003893
Deuteranopia (green-blind)
#002E8E
Tritanopia (blue-blind)
#003F56
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #281c90;
/* rgb */ color: rgb(40, 28, 144);
/* oklch */ color: oklch(33.9% 0.177 275.9);
Tailwind
colors: {
  custom: {
    50: '#735bb2',
    500: '#281c90',
    950: '#000000',
  },
}
SCSS
$custom: #281c90;
$custom-light: #735bb2;
$custom-dark: #000000;
JSON
{
  "hex": "#281c90",
  "rgb": {
    "r": 40,
    "g": 28,
    "b": 144
  },
  "hsl": {
    "h": 246.207,
    "s": 67.442,
    "l": 33.725
  },
  "oklch": {
    "l": 0.33923,
    "c": 0.1774,
    "h": 275.9
  },
  "luminance": 0.03295
}

Semantic roles & 50–950 ramp

primary
#281C90
secondary
#B2BE4A
accent
#EA3DD8
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #281C90

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

Preview Lab → · Contrast checker → · Palette generator →

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