#281A94#281A94

#281A94 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 34.1% C 0.184 H 275.6°. Best body text is #FFFFFF at 12.61:1 contrast (WCAG AA passes).

Color values

HEX#281A94
RGBrgb(40, 26, 148)
HSLhsl(247, 70%, 34%)
HSVhsv(247, 82%, 58%)
CMYKcmyk(73%, 82.4%, 0%, 42%)
CIE-LABlab(21.31, 44.57, -63.32)
CIE-LCHlch(21.31, 77.43, 305.14°)
OKLaboklab(34.14% 0.018 -0.183)
OKLCHoklch(34.14% 0.184 275.6)
XYZxyz(6.5880, 3.3274, 28.3063)
Luminance0.0333 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281A94 #86941A
analogous
#1A4994 #281A94 #651A94
triadic
#281A94 #94281A #1A9428
tetradic
#281A94 #941A49 #86941A #1A9465
square
#281A94 #941A49 #86941A #1A9465
split-complementary
#281A94 #94651A #49941A
monochromatic
#0C082C #1A1160 #281A94 #3623C8 #5B49DF

Accessibility & contrast

On white

12.61
#281A94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#281A94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281A94
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281A94#FFFFFF#000000##FFFFFF
##281A941.0012.611.6712.61
#FFFFFF12.611.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003897
Deuteranopia (green-blind)
#002E92
Tritanopia (blue-blind)
#004058
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #281a94;
/* rgb */ color: rgb(40, 26, 148);
/* oklch */ color: oklch(34.1% 0.184 275.6);
Tailwind
colors: {
  custom: {
    50: '#745bb5',
    500: '#281a94',
    950: '#000000',
  },
}
SCSS
$custom: #281a94;
$custom-light: #745bb5;
$custom-dark: #000000;
JSON
{
  "hex": "#281a94",
  "rgb": {
    "r": 40,
    "g": 26,
    "b": 148
  },
  "hsl": {
    "h": 246.885,
    "s": 70.115,
    "l": 34.118
  },
  "oklch": {
    "l": 0.34145,
    "c": 0.18393,
    "h": 275.6
  },
  "luminance": 0.03328
}

Semantic roles & 50–950 ramp

primary
#281A94
secondary
#B3C149
accent
#ED3BD8
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #281A94

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

Preview Lab → · Contrast checker → · Palette generator →

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