#281A90#281A90

#281A90 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.7% C 0.179 H 276.1°. Best body text is #FFFFFF at 12.80:1 contrast (WCAG AA passes).

Color values

HEX#281A90
RGBrgb(40, 26, 144)
HSLhsl(247, 69%, 33%)
HSVhsv(247, 82%, 56%)
CMYKcmyk(72.2%, 81.9%, 0%, 43.5%)
CIE-LABlab(20.84, 43.31, -61.62)
CIE-LCHlch(20.84, 75.32, 305.11°)
OKLaboklab(33.68% 0.0191 -0.1781)
OKLCHoklch(33.68% 0.179 276.1)
XYZxyz(6.2769, 3.2029, 26.6676)
Luminance0.0320 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281A90 #82901A
analogous
#1A4790 #281A90 #631A90
triadic
#281A90 #90281A #1A9028
tetradic
#281A90 #901A47 #82901A #1A9063
square
#281A90 #901A47 #82901A #1A9063
split-complementary
#281A90 #90631A #47901A
monochromatic
#0B0728 #1A115C #281A90 #3623C4 #5947DE

Accessibility & contrast

On white

12.80
#281A90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#281A90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281A90
12.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281A90#FFFFFF#000000##FFFFFF
##281A901.0012.801.6412.80
#FFFFFF12.801.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003793
Deuteranopia (green-blind)
#002D8E
Tritanopia (blue-blind)
#003F56
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #281a90;
/* rgb */ color: rgb(40, 26, 144);
/* oklch */ color: oklch(33.7% 0.179 276.1);
Tailwind
colors: {
  custom: {
    50: '#735ab2',
    500: '#281a90',
    950: '#000000',
  },
}
SCSS
$custom: #281a90;
$custom-light: #735ab2;
$custom-dark: #000000;
JSON
{
  "hex": "#281a90",
  "rgb": {
    "r": 40,
    "g": 26,
    "b": 144
  },
  "hsl": {
    "h": 247.119,
    "s": 69.412,
    "l": 33.333
  },
  "oklch": {
    "l": 0.33681,
    "c": 0.17913,
    "h": 276.1
  },
  "luminance": 0.03204
}

Semantic roles & 50–950 ramp

primary
#281A90
secondary
#B1BF47
accent
#EC3CD7
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #281A90

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

Preview Lab → · Contrast checker → · Palette generator →

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