#281D63#281D63

#281D63 is a dark, moderate blue. Relative luminance 0.022; OKLCH L 29.3% C 0.117 H 283.6°. Best body text is #FFFFFF at 14.52:1 contrast (WCAG AA passes).

Color values

HEX#281D63
RGBrgb(40, 29, 99)
HSLhsl(249, 55%, 25%)
HSVhsv(249, 71%, 39%)
CMYKcmyk(59.6%, 70.7%, 0%, 61.2%)
CIE-LABlab(16.65, 26.64, -39.71)
CIE-LCHlch(16.65, 47.82, 303.85°)
OKLaboklab(29.29% 0.0276 -0.1142)
OKLCHoklch(29.29% 0.117 283.6)
XYZxyz(3.5659, 2.2305, 12.0446)
Luminance0.0223 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281D63 #58631D
analogous
#1D3563 #281D63 #4B1D63
triadic
#281D63 #63281D #1D6328
tetradic
#281D63 #631D35 #58631D #1D634B
square
#281D63 #631D35 #58631D #1D634B
split-complementary
#281D63 #634B1D #35631D
monochromatic
#0A0718 #150F34 #281D63 #3B2B92 #4E39C2

Accessibility & contrast

On white

14.52
#281D63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #281D63
14.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281D63#FFFFFF#000000##FFFFFF
##281D631.0014.521.4514.52
#FFFFFF14.521.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B65
Deuteranopia (green-blind)
#002762
Tritanopia (blue-blind)
#0B2F3D
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #281d63;
/* rgb */ color: rgb(40, 29, 99);
/* oklch */ color: oklch(29.3% 0.117 283.6);
Tailwind
colors: {
  custom: {
    50: '#695a90',
    500: '#281d63',
    950: '#000000',
  },
}
SCSS
$custom: #281d63;
$custom-light: #695a90;
$custom-dark: #000000;
JSON
{
  "hex": "#281d63",
  "rgb": {
    "r": 40,
    "g": 29,
    "b": 99
  },
  "hsl": {
    "h": 249.429,
    "s": 54.688,
    "l": 25.098
  },
  "oklch": {
    "l": 0.29286,
    "c": 0.11747,
    "h": 283.6
  },
  "luminance": 0.02231
}

Semantic roles & 50–950 ramp

primary
#281D63
secondary
#8B9844
accent
#DE4AC7
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#07040D
muted
#7A797D

Preview Lab

Preview with #281D63

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

Preview Lab → · Contrast checker → · Palette generator →

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