#1D3196#1D3196

#1D3196 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.2% C 0.166 H 268.0°. Best body text is #FFFFFF at 10.87:1 contrast (WCAG AA passes).

Color values

HEX#1D3196
RGBrgb(29, 49, 150)
HSLhsl(230, 68%, 35%)
HSVhsv(230, 81%, 59%)
CMYKcmyk(80.7%, 67.3%, 0%, 41.2%)
CIE-LABlab(25.74, 30.74, -57.26)
CIE-LCHlch(25.74, 64.99, 298.23°)
OKLaboklab(37.2% -0.0058 -0.1658)
OKLCHoklch(37.2% 0.166 268)
XYZxyz(7.1081, 4.6590, 29.3729)
Luminance0.0466 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3196 #96821D
analogous
#1D6D96 #1D3196 #461D96
triadic
#1D3196 #961D31 #31961D
tetradic
#1D3196 #961D6D #96821D #1D9646
square
#1D3196 #961D6D #96821D #1D9646
split-complementary
#1D3196 #96461D #6D961D
monochromatic
#090F2F #132063 #1D3196 #2742C9 #5068DD

Accessibility & contrast

On white

10.87
#1D3196 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#1D3196 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D3196
10.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3196#FFFFFF#000000##FFFFFF
##1D31961.0010.871.9310.87
#FFFFFF10.871.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004399
Deuteranopia (green-blind)
#003794
Tritanopia (blue-blind)
#004C5F
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #1d3196;
/* rgb */ color: rgb(29, 49, 150);
/* oklch */ color: oklch(37.2% 0.166 268.0);
Tailwind
colors: {
  custom: {
    50: '#6f69b6',
    500: '#1d3196',
    950: '#000000',
  },
}
SCSS
$custom: #1d3196;
$custom-light: #6f69b6;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3196",
  "rgb": {
    "r": 29,
    "g": 49,
    "b": 150
  },
  "hsl": {
    "h": 230.083,
    "s": 67.598,
    "l": 35.098
  },
  "oklch": {
    "l": 0.37199,
    "c": 0.16589,
    "h": 268
  },
  "luminance": 0.0466
}

Semantic roles & 50–950 ramp

primary
#1D3196
secondary
#C0AD4F
accent
#CE3DEA
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #1D3196

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

Preview Lab → · Contrast checker → · Palette generator →

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