#1D2281#1D2281

#1D2281 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.4% C 0.155 H 271.6°. Best body text is #FFFFFF at 13.14:1 contrast (WCAG AA passes).

Color values

HEX#1D2281
RGBrgb(29, 34, 129)
HSLhsl(237, 63%, 31%)
HSVhsv(237, 78%, 51%)
CMYKcmyk(77.5%, 73.6%, 0%, 49.4%)
CIE-LABlab(20.00, 32.66, -53.62)
CIE-LCHlch(20.00, 62.78, 301.35°)
OKLaboklab(32.4% 0.0043 -0.1552)
OKLCHoklch(32.4% 0.155 271.6)
XYZxyz(5.0398, 2.9897, 21.0761)
Luminance0.0299 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2281 #817C1D
analogous
#1D5481 #1D2281 #4A1D81
triadic
#1D2281 #811D22 #22811D
tetradic
#1D2281 #811D54 #817C1D #1D814A
square
#1D2281 #811D54 #817C1D #1D814A
split-complementary
#1D2281 #814A1D #54811D
monochromatic
#07081D #12154F #1D2281 #282FB3 #444BD5

Accessibility & contrast

On white

13.14
#1D2281 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#1D2281 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2281
13.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2281#FFFFFF#000000##FFFFFF
##1D22811.0013.141.6013.14
#FFFFFF13.141.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003584
Deuteranopia (green-blind)
#002B7F
Tritanopia (blue-blind)
#003D4F
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1d2281;
/* rgb */ color: rgb(29, 34, 129);
/* oklch */ color: oklch(32.4% 0.155 271.6);
Tailwind
colors: {
  custom: {
    50: '#6b5ea7',
    500: '#1d2281',
    950: '#000000',
  },
}
SCSS
$custom: #1d2281;
$custom-light: #6b5ea7;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2281",
  "rgb": {
    "r": 29,
    "g": 34,
    "b": 129
  },
  "hsl": {
    "h": 237,
    "s": 63.291,
    "l": 30.98
  },
  "oklch": {
    "l": 0.32397,
    "c": 0.15525,
    "h": 271.6
  },
  "luminance": 0.0299
}

Semantic roles & 50–950 ramp

primary
#1D2281
secondary
#B4AF46
accent
#DE41E6
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#080410
muted
#7A797F

Preview Lab

Preview with #1D2281

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

Preview Lab → · Contrast checker → · Palette generator →

#1D2281 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva