#1D4190#1D4190

#1D4190 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 39.9% C 0.138 H 263.1°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#1D4190
RGBrgb(29, 65, 144)
HSLhsl(221, 66%, 34%)
HSVhsv(221, 80%, 56%)
CMYKcmyk(79.9%, 54.9%, 0%, 43.5%)
CIE-LABlab(29.55, 17.45, -47.36)
CIE-LCHlch(29.55, 50.47, 290.22°)
OKLaboklab(39.88% -0.0164 -0.1365)
OKLCHoklch(39.88% 0.138 263.1)
XYZxyz(7.4292, 6.0546, 27.1572)
Luminance0.0605 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4190 #906C1D
analogous
#1D7B90 #1D4190 #321D90
triadic
#1D4190 #901D41 #41901D
tetradic
#1D4190 #901D7B #906C1D #1D9032
square
#1D4190 #901D7B #906C1D #1D9032
split-complementary
#1D4190 #90321D #7B901D
monochromatic
#08132A #132A5D #1D4190 #2758C3 #4C79DB

Accessibility & contrast

On white

9.50
#1D4190 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#1D4190 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D4190
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4190#FFFFFF#000000##FFFFFF
##1D41901.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#014B93
Deuteranopia (green-blind)
#00418E
Tritanopia (blue-blind)
#005462
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #1d4190;
/* rgb */ color: rgb(29, 65, 144);
/* oklch */ color: oklch(39.9% 0.138 263.1);
Tailwind
colors: {
  custom: {
    50: '#6c75b1',
    500: '#1d4190',
    950: '#000000',
  },
}
SCSS
$custom: #1d4190;
$custom-light: #6c75b1;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4190",
  "rgb": {
    "r": 29,
    "g": 65,
    "b": 144
  },
  "hsl": {
    "h": 221.217,
    "s": 66.474,
    "l": 33.922
  },
  "oklch": {
    "l": 0.39879,
    "c": 0.1375,
    "h": 263.1
  },
  "luminance": 0.06055
}

Semantic roles & 50–950 ramp

primary
#1D4190
secondary
#BD9A4B
accent
#B43EE9
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #1D4190

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

Preview Lab → · Contrast checker → · Palette generator →

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