#281D62#281D62

#281D62 is a dark, moderate blue. Relative luminance 0.022; OKLCH L 29.2% C 0.116 H 283.8°. Best body text is #FFFFFF at 14.56:1 contrast (WCAG AA passes).

Color values

HEX#281D62
RGBrgb(40, 29, 98)
HSLhsl(250, 54%, 25%)
HSVhsv(250, 70%, 38%)
CMYKcmyk(59.2%, 70.4%, 0%, 61.6%)
CIE-LABlab(16.56, 26.29, -39.20)
CIE-LCHlch(16.56, 47.20, 303.85°)
OKLaboklab(29.19% 0.0278 -0.1127)
OKLCHoklch(29.19% 0.116 283.8)
XYZxyz(3.5184, 2.2115, 11.7944)
Luminance0.0221 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281D62 #57621D
analogous
#1D3562 #281D62 #4A1D62
triadic
#281D62 #62281D #1D6228
tetradic
#281D62 #621D35 #57621D #1D624A
square
#281D62 #621D35 #57621D #1D624A
split-complementary
#281D62 #624A1D #35621D
monochromatic
#0A0718 #150F33 #281D62 #3B2B91 #4F39C0

Accessibility & contrast

On white

14.56
#281D62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#281D62 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281D62
14.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281D62#FFFFFF#000000##FFFFFF
##281D621.0014.561.4414.56
#FFFFFF14.561.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B64
Deuteranopia (green-blind)
#002761
Tritanopia (blue-blind)
#0D2E3C
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #281d62;
/* rgb */ color: rgb(40, 29, 98);
/* oklch */ color: oklch(29.2% 0.116 283.8);
Tailwind
colors: {
  custom: {
    50: '#695a8f',
    500: '#281d62',
    950: '#000000',
  },
}
SCSS
$custom: #281d62;
$custom-light: #695a8f;
$custom-dark: #000000;
JSON
{
  "hex": "#281d62",
  "rgb": {
    "r": 40,
    "g": 29,
    "b": 98
  },
  "hsl": {
    "h": 249.565,
    "s": 54.331,
    "l": 24.902
  },
  "oklch": {
    "l": 0.2919,
    "c": 0.11605,
    "h": 283.8
  },
  "luminance": 0.02212
}

Semantic roles & 50–950 ramp

primary
#281D62
secondary
#8A9744
accent
#DE4AC6
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#07030C
muted
#7A787D

Preview Lab

Preview with #281D62

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

Preview Lab → · Contrast checker → · Palette generator →

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