#1D2155#1D2155

#1D2155 is a dark, moderate blue. Relative luminance 0.020; OKLCH L 27.8% C 0.093 H 275.3°. Best body text is #FFFFFF at 14.99:1 contrast (WCAG AA passes).

Color values

HEX#1D2155
RGBrgb(29, 33, 85)
HSLhsl(236, 49%, 22%)
HSVhsv(236, 66%, 33%)
CMYKcmyk(65.9%, 61.2%, 0%, 66.7%)
CIE-LABlab(15.51, 16.54, -32.26)
CIE-LCHlch(15.51, 36.26, 297.14°)
OKLaboklab(27.82% 0.0085 -0.0926)
OKLCHoklch(27.82% 0.093 275.3)
XYZxyz(2.6897, 2.0046, 8.8378)
Luminance0.0200 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2155 #55511D
analogous
#1D3D55 #1D2155 #351D55
triadic
#1D2155 #551D21 #21551D
tetradic
#1D2155 #551D3D #55511D #1D5535
square
#1D2155 #551D3D #55511D #1D5535
split-complementary
#1D2155 #55351D #3D551D
monochromatic
#080917 #0D0F27 #1D2155 #2D3383 #3C44B0

Accessibility & contrast

On white

14.99
#1D2155 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#1D2155 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2155
14.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2155#FFFFFF#000000##FFFFFF
##1D21551.0014.991.4014.99
#FFFFFF14.991.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002957
Deuteranopia (green-blind)
#002454
Tritanopia (blue-blind)
#002D37
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #1d2155;
/* rgb */ color: rgb(29, 33, 85);
/* oklch */ color: oklch(27.8% 0.093 275.3);
Tailwind
colors: {
  custom: {
    50: '#605c85',
    500: '#1d2155',
    950: '#000000',
  },
}
SCSS
$custom: #1d2155;
$custom-light: #605c85;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2155",
  "rgb": {
    "r": 29,
    "g": 33,
    "b": 85
  },
  "hsl": {
    "h": 235.714,
    "s": 49.123,
    "l": 22.353
  },
  "oklch": {
    "l": 0.27818,
    "c": 0.09303,
    "h": 275.3
  },
  "luminance": 0.02005
}

Semantic roles & 50–950 ramp

primary
#1D2155
secondary
#8A8544
accent
#CF4FD9
background
#F5F5F8
surface
#EAE9EF
border
#C6C5CA
text
#05040B
muted
#79797C

Preview Lab

Preview with #1D2155

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

Preview Lab → · Contrast checker → · Palette generator →

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