#1D2177#1D2177

#1D2177 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.2% C 0.143 H 272.5°. Best body text is #FFFFFF at 13.67:1 contrast (WCAG AA passes).

Color values

HEX#1D2177
RGBrgb(29, 33, 119)
HSLhsl(237, 61%, 29%)
HSVhsv(237, 76%, 47%)
CMYKcmyk(75.6%, 72.3%, 0%, 53.3%)
CIE-LABlab(18.72, 29.61, -49.37)
CIE-LCHlch(18.72, 57.57, 300.95°)
OKLaboklab(31.15% 0.0062 -0.1428)
OKLCHoklch(31.15% 0.143 272.5)
XYZxyz(4.3792, 2.6804, 17.7358)
Luminance0.0268 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2177 #77731D
analogous
#1D4E77 #1D2177 #461D77
triadic
#1D2177 #771D21 #21771D
tetradic
#1D2177 #771D4E #77731D #1D7746
square
#1D2177 #771D4E #77731D #1D7746
split-complementary
#1D2177 #77461D #4E771D
monochromatic
#060719 #111346 #1D2177 #292FA8 #3E45D0

Accessibility & contrast

On white

13.67
#1D2177 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#1D2177 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2177
13.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2177#FFFFFF#000000##FFFFFF
##1D21771.0013.671.5413.67
#FFFFFF13.671.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00327A
Deuteranopia (green-blind)
#002975
Tritanopia (blue-blind)
#003949
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1d2177;
/* rgb */ color: rgb(29, 33, 119);
/* oklch */ color: oklch(31.2% 0.143 272.5);
Tailwind
colors: {
  custom: {
    50: '#685d9f',
    500: '#1d2177',
    950: '#000000',
  },
}
SCSS
$custom: #1d2177;
$custom-light: #685d9f;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2177",
  "rgb": {
    "r": 29,
    "g": 33,
    "b": 119
  },
  "hsl": {
    "h": 237.333,
    "s": 60.811,
    "l": 29.02
  },
  "oklch": {
    "l": 0.31154,
    "c": 0.14294,
    "h": 272.5
  },
  "luminance": 0.02681
}

Semantic roles & 50–950 ramp

primary
#1D2177
secondary
#ABA645
accent
#DD44E4
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040F
muted
#7A797E

Preview Lab

Preview with #1D2177

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

Preview Lab → · Contrast checker → · Palette generator →

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