#281D64#281D64

#281D64 is a dark, moderate blue. Relative luminance 0.022; OKLCH L 29.4% C 0.119 H 283.4°. Best body text is #FFFFFF at 14.48:1 contrast (WCAG AA passes).

Color values

HEX#281D64
RGBrgb(40, 29, 100)
HSLhsl(249, 55%, 25%)
HSVhsv(249, 71%, 39%)
CMYKcmyk(60%, 71%, 0%, 60.8%)
CIE-LABlab(16.75, 26.98, -40.22)
CIE-LCHlch(16.75, 48.43, 303.86°)
OKLaboklab(29.38% 0.0275 -0.1157)
OKLCHoklch(29.38% 0.119 283.4)
XYZxyz(3.6140, 2.2497, 12.2979)
Luminance0.0225 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281D64 #59641D
analogous
#1D3564 #281D64 #4B1D64
triadic
#281D64 #64281D #1D6428
tetradic
#281D64 #641D35 #59641D #1D644B
square
#281D64 #641D35 #59641D #1D644B
split-complementary
#281D64 #644B1D #35641D
monochromatic
#090718 #150F35 #281D64 #3B2B93 #4E39C3

Accessibility & contrast

On white

14.48
#281D64 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#281D64 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281D64
14.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281D64#FFFFFF#000000##FFFFFF
##281D641.0014.481.4514.48
#FFFFFF14.481.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C66
Deuteranopia (green-blind)
#002763
Tritanopia (blue-blind)
#0A2F3D
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #281d64;
/* rgb */ color: rgb(40, 29, 100);
/* oklch */ color: oklch(29.4% 0.119 283.4);
Tailwind
colors: {
  custom: {
    50: '#695a91',
    500: '#281d64',
    950: '#000000',
  },
}
SCSS
$custom: #281d64;
$custom-light: #695a91;
$custom-dark: #000000;
JSON
{
  "hex": "#281d64",
  "rgb": {
    "r": 40,
    "g": 29,
    "b": 100
  },
  "hsl": {
    "h": 249.296,
    "s": 55.039,
    "l": 25.294
  },
  "oklch": {
    "l": 0.29382,
    "c": 0.11889,
    "h": 283.4
  },
  "luminance": 0.0225
}

Semantic roles & 50–950 ramp

primary
#281D64
secondary
#8C9944
accent
#DE49C7
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#07040D
muted
#7A797E

Preview Lab

Preview with #281D64

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

Preview Lab → · Contrast checker → · Palette generator →

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