#281A76#281A76

#281A76 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.8% C 0.147 H 280.3°. Best body text is #FFFFFF at 14.00:1 contrast (WCAG AA passes).

Color values

HEX#281A76
RGBrgb(40, 26, 118)
HSLhsl(249, 64%, 28%)
HSVhsv(249, 78%, 46%)
CMYKcmyk(66.1%, 78%, 0%, 53.7%)
CIE-LABlab(17.91, 34.91, -50.03)
CIE-LCHlch(17.91, 61.00, 304.90°)
OKLaboklab(30.76% 0.0262 -0.1444)
OKLCHoklch(30.76% 0.147 280.3)
XYZxyz(4.5134, 2.4976, 17.3803)
Luminance0.0250 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281A76 #68761A
analogous
#1A3A76 #281A76 #561A76
triadic
#281A76 #76281A #1A7628
tetradic
#281A76 #761A3A #68761A #1A7656
square
#281A76 #761A3A #68761A #1A7656
split-complementary
#281A76 #76561A #3A761A
monochromatic
#080619 #170F44 #281A76 #3925A8 #4F37D3

Accessibility & contrast

On white

14.00
#281A76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#281A76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281A76
14.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281A76#FFFFFF#000000##FFFFFF
##281A761.0014.001.5014.00
#FFFFFF14.001.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F79
Deuteranopia (green-blind)
#002874
Tritanopia (blue-blind)
#003447
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #281a76;
/* rgb */ color: rgb(40, 26, 118);
/* oklch */ color: oklch(30.8% 0.147 280.3);
Tailwind
colors: {
  custom: {
    50: '#6d599e',
    500: '#281a76',
    950: '#000000',
  },
}
SCSS
$custom: #281a76;
$custom-light: #6d599e;
$custom-dark: #000000;
JSON
{
  "hex": "#281a76",
  "rgb": {
    "r": 40,
    "g": 26,
    "b": 118
  },
  "hsl": {
    "h": 249.13,
    "s": 63.889,
    "l": 28.235
  },
  "oklch": {
    "l": 0.30763,
    "c": 0.14674,
    "h": 280.3
  },
  "luminance": 0.02498
}

Semantic roles & 50–950 ramp

primary
#281A76
secondary
#9BAB41
accent
#E741CE
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030F
muted
#7B787E

Preview Lab

Preview with #281A76

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

Preview Lab → · Contrast checker → · Palette generator →

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