#281AA0#281AA0

#281AA0 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.6% C 0.198 H 274.2°. Best body text is #FFFFFF at 12.03:1 contrast (WCAG AA passes).

Color values

HEX#281AA0
RGBrgb(40, 26, 160)
HSLhsl(246, 72%, 36%)
HSVhsv(246, 84%, 63%)
CMYKcmyk(75%, 83.8%, 0%, 37.3%)
CIE-LABlab(22.75, 48.27, -68.31)
CIE-LCHlch(22.75, 83.64, 305.25°)
OKLaboklab(35.56% 0.0146 -0.1975)
OKLCHoklch(35.56% 0.198 274.2)
XYZxyz(7.5875, 3.7272, 33.5704)
Luminance0.0373 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281AA0 #92A01A
analogous
#1A4FA0 #281AA0 #6B1AA0
triadic
#281AA0 #A0281A #1AA028
tetradic
#281AA0 #A01A4F #92A01A #1AA06B
square
#281AA0 #A01A4F #92A01A #1AA06B
split-complementary
#281AA0 #A06B1A #4FA01A
monochromatic
#0E0937 #1B116B #281AA0 #3523D5 #6152E3

Accessibility & contrast

On white

12.03
#281AA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#281AA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281AA0
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281AA0#FFFFFF#000000##FFFFFF
##281AA01.0012.031.7512.03
#FFFFFF12.031.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003CA4
Deuteranopia (green-blind)
#00309E
Tritanopia (blue-blind)
#00455F
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #281aa0;
/* rgb */ color: rgb(40, 26, 160);
/* oklch */ color: oklch(35.6% 0.198 274.2);
Tailwind
colors: {
  custom: {
    50: '#775cbe',
    500: '#281aa0',
    950: '#000000',
  },
}
SCSS
$custom: #281aa0;
$custom-light: #775cbe;
$custom-dark: #000000;
JSON
{
  "hex": "#281aa0",
  "rgb": {
    "r": 40,
    "g": 26,
    "b": 160
  },
  "hsl": {
    "h": 246.269,
    "s": 72.043,
    "l": 36.471
  },
  "oklch": {
    "l": 0.35556,
    "c": 0.19805,
    "h": 274.2
  },
  "luminance": 0.03728
}

Semantic roles & 50–950 ramp

primary
#281AA0
secondary
#B9C550
accent
#EF39DC
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #281AA0

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

Preview Lab → · Contrast checker → · Palette generator →

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