#1D2160#1D2160

#1D2160 is a dark, moderate blue. Relative luminance 0.022; OKLCH L 28.8% C 0.110 H 274.4°. Best body text is #FFFFFF at 14.60:1 contrast (WCAG AA passes).

Color values

HEX#1D2160
RGBrgb(29, 33, 96)
HSLhsl(236, 54%, 25%)
HSVhsv(236, 70%, 38%)
CMYKcmyk(69.8%, 65.6%, 0%, 62.4%)
CIE-LABlab(16.47, 20.84, -38.06)
CIE-LCHlch(16.47, 43.39, 298.70°)
OKLaboklab(28.83% 0.0084 -0.1097)
OKLCHoklch(28.83% 0.11 274.4)
XYZxyz(3.1612, 2.1932, 11.3208)
Luminance0.0219 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2160 #605C1D
analogous
#1D4360 #1D2160 #3B1D60
triadic
#1D2160 #601D21 #21601D
tetradic
#1D2160 #601D43 #605C1D #1D603B
square
#1D2160 #601D43 #605C1D #1D603B
split-complementary
#1D2160 #603B1D #43601D
monochromatic
#070818 #0F1131 #1D2160 #2B318F #3941BE

Accessibility & contrast

On white

14.60
#1D2160 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#1D2160 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2160
14.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2160#FFFFFF#000000##FFFFFF
##1D21601.0014.601.4414.60
#FFFFFF14.601.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C62
Deuteranopia (green-blind)
#00265F
Tritanopia (blue-blind)
#00313D
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #1d2160;
/* rgb */ color: rgb(29, 33, 96);
/* oklch */ color: oklch(28.8% 0.110 274.4);
Tailwind
colors: {
  custom: {
    50: '#625c8e',
    500: '#1d2160',
    950: '#000000',
  },
}
SCSS
$custom: #1d2160;
$custom-light: #625c8e;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2160",
  "rgb": {
    "r": 29,
    "g": 33,
    "b": 96
  },
  "hsl": {
    "h": 236.418,
    "s": 53.6,
    "l": 24.51
  },
  "oklch": {
    "l": 0.28829,
    "c": 0.11,
    "h": 274.4
  },
  "luminance": 0.02193
}

Semantic roles & 50–950 ramp

primary
#1D2160
secondary
#959044
accent
#D44BDD
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06040C
muted
#7A797D

Preview Lab

Preview with #1D2160

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

Preview Lab → · Contrast checker → · Palette generator →

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