#1D177A#1D177A

#1D177A is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.0% C 0.157 H 274.0°. Best body text is #FFFFFF at 14.43:1 contrast (WCAG AA passes).

Color values

HEX#1D177A
RGBrgb(29, 23, 122)
HSLhsl(244, 68%, 28%)
HSVhsv(244, 81%, 48%)
CMYKcmyk(76.2%, 81.1%, 0%, 52.2%)
CIE-LABlab(16.89, 36.75, -54.31)
CIE-LCHlch(16.89, 65.58, 304.08°)
OKLaboklab(29.95% 0.0109 -0.1571)
OKLCHoklch(29.95% 0.157 274)
XYZxyz(4.3248, 2.2787, 18.6205)
Luminance0.0228 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D177A #747A17
analogous
#17427A #1D177A #4E177A
triadic
#1D177A #7A1D17 #177A1D
tetradic
#1D177A #7A1742 #747A17 #177A4E
square
#1D177A #7A1742 #747A17 #177A4E
split-complementary
#1D177A #7A4E17 #427A17
monochromatic
#06051A #110D47 #1D177A #2921AD #3D33D9

Accessibility & contrast

On white

14.43
#1D177A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#1D177A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D177A
14.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D177A#FFFFFF#000000##FFFFFF
##1D177A1.0014.431.4614.43
#FFFFFF14.431.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E7D
Deuteranopia (green-blind)
#002578
Tritanopia (blue-blind)
#003548
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #1d177a;
/* rgb */ color: rgb(29, 23, 122);
/* oklch */ color: oklch(30.0% 0.157 274.0);
Tailwind
colors: {
  custom: {
    50: '#6a56a2',
    500: '#1d177a',
    950: '#000000',
  },
}
SCSS
$custom: #1d177a;
$custom-light: #6a56a2;
$custom-dark: #000000;
JSON
{
  "hex": "#1d177a",
  "rgb": {
    "r": 29,
    "g": 23,
    "b": 122
  },
  "hsl": {
    "h": 243.636,
    "s": 68.276,
    "l": 28.431
  },
  "oklch": {
    "l": 0.29954,
    "c": 0.15749,
    "h": 274
  },
  "luminance": 0.02279
}

Semantic roles & 50–950 ramp

primary
#1D177A
secondary
#A8AF3E
accent
#EB3DE1
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08030F
muted
#7A787F

Preview Lab

Preview with #1D177A

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

Preview Lab → · Contrast checker → · Palette generator →

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