#281A74#281A74

#281A74 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.5% C 0.144 H 280.7°. Best body text is #FFFFFF at 14.09:1 contrast (WCAG AA passes).

Color values

HEX#281A74
RGBrgb(40, 26, 116)
HSLhsl(249, 63%, 28%)
HSVhsv(249, 78%, 45%)
CMYKcmyk(65.5%, 77.6%, 0%, 54.5%)
CIE-LABlab(17.69, 34.25, -49.10)
CIE-LCHlch(17.69, 59.86, 304.90°)
OKLaboklab(30.55% 0.0267 -0.1416)
OKLCHoklch(30.55% 0.144 280.7)
XYZxyz(4.3959, 2.4505, 16.7610)
Luminance0.0245 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281A74 #66741A
analogous
#1A3974 #281A74 #551A74
triadic
#281A74 #74281A #1A7428
tetradic
#281A74 #741A39 #66741A #1A7455
square
#281A74 #741A39 #66741A #1A7455
split-complementary
#281A74 #74551A #39741A
monochromatic
#090619 #170F42 #281A74 #3925A6 #4F36D2

Accessibility & contrast

On white

14.09
#281A74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#281A74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281A74
14.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281A74#FFFFFF#000000##FFFFFF
##281A741.0014.091.4914.09
#FFFFFF14.091.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F77
Deuteranopia (green-blind)
#002872
Tritanopia (blue-blind)
#003445
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #281a74;
/* rgb */ color: rgb(40, 26, 116);
/* oklch */ color: oklch(30.5% 0.144 280.7);
Tailwind
colors: {
  custom: {
    50: '#6d599d',
    500: '#281a74',
    950: '#000000',
  },
}
SCSS
$custom: #281a74;
$custom-light: #6d599d;
$custom-dark: #000000;
JSON
{
  "hex": "#281a74",
  "rgb": {
    "r": 40,
    "g": 26,
    "b": 116
  },
  "hsl": {
    "h": 249.333,
    "s": 63.38,
    "l": 27.843
  },
  "oklch": {
    "l": 0.30548,
    "c": 0.14415,
    "h": 280.7
  },
  "luminance": 0.02451
}

Semantic roles & 50–950 ramp

primary
#281A74
secondary
#99A941
accent
#E641CD
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030E
muted
#7B787E

Preview Lab

Preview with #281A74

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

Preview Lab → · Contrast checker → · Palette generator →

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