#1D3176#1D3176

#1D3176 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.2% C 0.121 H 267.4°. Best body text is #FFFFFF at 11.98:1 contrast (WCAG AA passes).

Color values

HEX#1D3176
RGBrgb(29, 49, 118)
HSLhsl(227, 61%, 29%)
HSVhsv(227, 75%, 46%)
CMYKcmyk(75.4%, 58.5%, 0%, 53.7%)
CIE-LABlab(22.88, 18.17, -41.92)
CIE-LCHlch(22.88, 45.69, 293.44°)
OKLaboklab(34.19% -0.0056 -0.1208)
OKLCHoklch(34.19% 0.121 267.4)
XYZxyz(4.8739, 3.7653, 17.6059)
Luminance0.0377 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3176 #76621D
analogous
#1D5E76 #1D3176 #361D76
triadic
#1D3176 #761D31 #31761D
tetradic
#1D3176 #761D5E #76621D #1D7636
square
#1D3176 #761D5E #76621D #1D7636
split-complementary
#1D3176 #76361D #5E761D
monochromatic
#060A19 #111D45 #1D3176 #2945A7 #3E5FD0

Accessibility & contrast

On white

11.98
#1D3176 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#1D3176 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D3176
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3176#FFFFFF#000000##FFFFFF
##1D31761.0011.981.7511.98
#FFFFFF11.981.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B78
Deuteranopia (green-blind)
#003375
Tritanopia (blue-blind)
#00424E
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1d3176;
/* rgb */ color: rgb(29, 49, 118);
/* oklch */ color: oklch(34.2% 0.121 267.4);
Tailwind
colors: {
  custom: {
    50: '#67689e',
    500: '#1d3176',
    950: '#000000',
  },
}
SCSS
$custom: #1d3176;
$custom-light: #67689e;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3176",
  "rgb": {
    "r": 29,
    "g": 49,
    "b": 118
  },
  "hsl": {
    "h": 226.517,
    "s": 60.544,
    "l": 28.824
  },
  "oklch": {
    "l": 0.34194,
    "c": 0.12095,
    "h": 267.4
  },
  "luminance": 0.03766
}

Semantic roles & 50–950 ramp

primary
#1D3176
secondary
#AA9345
accent
#C044E4
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #1D3176

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

Preview Lab → · Contrast checker → · Palette generator →

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