#1D2176#1D2176

#1D2176 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.0% C 0.142 H 272.6°. Best body text is #FFFFFF at 13.71:1 contrast (WCAG AA passes).

Color values

HEX#1D2176
RGBrgb(29, 33, 118)
HSLhsl(237, 61%, 29%)
HSVhsv(237, 75%, 46%)
CMYKcmyk(75.4%, 72%, 0%, 53.7%)
CIE-LABlab(18.61, 29.24, -48.90)
CIE-LCHlch(18.61, 56.98, 300.88°)
OKLaboklab(31.05% 0.0064 -0.1414)
OKLCHoklch(31.05% 0.142 272.6)
XYZxyz(4.3195, 2.6565, 17.4211)
Luminance0.0266 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2176 #76721D
analogous
#1D4E76 #1D2176 #461D76
triadic
#1D2176 #761D21 #21761D
tetradic
#1D2176 #761D4E #76721D #1D7646
square
#1D2176 #761D4E #76721D #1D7646
split-complementary
#1D2176 #76461D #4E761D
monochromatic
#060719 #111345 #1D2176 #292FA7 #3E44D0

Accessibility & contrast

On white

13.71
#1D2176 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#1D2176 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2176
13.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2176#FFFFFF#000000##FFFFFF
##1D21761.0013.711.5313.71
#FFFFFF13.711.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003279
Deuteranopia (green-blind)
#002974
Tritanopia (blue-blind)
#003848
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #1d2176;
/* rgb */ color: rgb(29, 33, 118);
/* oklch */ color: oklch(31.0% 0.142 272.6);
Tailwind
colors: {
  custom: {
    50: '#685d9e',
    500: '#1d2176',
    950: '#000000',
  },
}
SCSS
$custom: #1d2176;
$custom-light: #685d9e;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2176",
  "rgb": {
    "r": 29,
    "g": 33,
    "b": 118
  },
  "hsl": {
    "h": 237.303,
    "s": 60.544,
    "l": 28.824
  },
  "oklch": {
    "l": 0.31048,
    "c": 0.14156,
    "h": 272.6
  },
  "luminance": 0.02657
}

Semantic roles & 50–950 ramp

primary
#1D2176
secondary
#AAA545
accent
#DD44E4
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #1D2176

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

Preview Lab → · Contrast checker → · Palette generator →

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