#281D6A#281D6A

#281D6A is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.0% C 0.127 H 282.0°. Best body text is #FFFFFF at 14.25:1 contrast (WCAG AA passes).

Color values

HEX#281D6A
RGBrgb(40, 29, 106)
HSLhsl(249, 57%, 26%)
HSVhsv(249, 73%, 42%)
CMYKcmyk(62.3%, 72.6%, 0%, 58.4%)
CIE-LABlab(17.32, 29.05, -43.22)
CIE-LCHlch(17.32, 52.07, 303.91°)
OKLaboklab(29.97% 0.0265 -0.1245)
OKLCHoklch(29.97% 0.127 282)
XYZxyz(3.9151, 2.3702, 13.8841)
Luminance0.0237 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281D6A #5F6A1D
analogous
#1D396A #281D6A #4F1D6A
triadic
#281D6A #6A281D #1D6A28
tetradic
#281D6A #6A1D39 #5F6A1D #1D6A4F
square
#281D6A #6A1D39 #5F6A1D #1D6A4F
split-complementary
#281D6A #6A4F1D #396A1D
monochromatic
#090718 #16103A #281D6A #3A2A9A #4D39C9

Accessibility & contrast

On white

14.25
#281D6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#281D6A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281D6A
14.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281D6A#FFFFFF#000000##FFFFFF
##281D6A1.0014.251.4714.25
#FFFFFF14.251.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D6C
Deuteranopia (green-blind)
#002869
Tritanopia (blue-blind)
#003141
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #281d6a;
/* rgb */ color: rgb(40, 29, 106);
/* oklch */ color: oklch(30.0% 0.127 282.0);
Tailwind
colors: {
  custom: {
    50: '#6b5a95',
    500: '#281d6a',
    950: '#000000',
  },
}
SCSS
$custom: #281d6a;
$custom-light: #6b5a95;
$custom-dark: #000000;
JSON
{
  "hex": "#281d6a",
  "rgb": {
    "r": 40,
    "g": 29,
    "b": 106
  },
  "hsl": {
    "h": 248.571,
    "s": 57.037,
    "l": 26.471
  },
  "oklch": {
    "l": 0.29973,
    "c": 0.12724,
    "h": 282
  },
  "luminance": 0.0237
}

Semantic roles & 50–950 ramp

primary
#281D6A
secondary
#929F44
accent
#E048CA
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040D
muted
#7A797E

Preview Lab

Preview with #281D6A

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

Preview Lab → · Contrast checker → · Palette generator →

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