#281A9F#281A9F

#281A9F is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.4% C 0.197 H 274.3°. Best body text is #FFFFFF at 12.08:1 contrast (WCAG AA passes).

Color values

HEX#281A9F
RGBrgb(40, 26, 159)
HSLhsl(246, 72%, 36%)
HSVhsv(246, 84%, 62%)
CMYKcmyk(74.8%, 83.6%, 0%, 37.6%)
CIE-LABlab(22.63, 47.97, -67.90)
CIE-LCHlch(22.63, 83.13, 305.24°)
OKLaboklab(35.44% 0.0149 -0.1963)
OKLCHoklch(35.44% 0.197 274.3)
XYZxyz(7.5004, 3.6923, 33.1116)
Luminance0.0369 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281A9F #919F1A
analogous
#1A4F9F #281A9F #6B1A9F
triadic
#281A9F #9F281A #1A9F28
tetradic
#281A9F #9F1A4F #919F1A #1A9F6B
square
#281A9F #9F1A4F #919F1A #1A9F6B
split-complementary
#281A9F #9F6B1A #4F9F1A
monochromatic
#0E0936 #1B116A #281A9F #3523D4 #6051E3

Accessibility & contrast

On white

12.08
#281A9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#281A9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281A9F
12.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281A9F#FFFFFF#000000##FFFFFF
##281A9F1.0012.081.7412.08
#FFFFFF12.081.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #281a9f;
/* rgb */ color: rgb(40, 26, 159);
/* oklch */ color: oklch(35.4% 0.197 274.3);
Tailwind
colors: {
  custom: {
    50: '#775bbd',
    500: '#281a9f',
    950: '#000000',
  },
}
SCSS
$custom: #281a9f;
$custom-light: #775bbd;
$custom-dark: #000000;
JSON
{
  "hex": "#281a9f",
  "rgb": {
    "r": 40,
    "g": 26,
    "b": 159
  },
  "hsl": {
    "h": 246.316,
    "s": 71.892,
    "l": 36.275
  },
  "oklch": {
    "l": 0.35437,
    "c": 0.19689,
    "h": 274.3
  },
  "luminance": 0.03693
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #281A9F

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

Preview Lab → · Contrast checker → · Palette generator →

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