#1D4391#1D4391

#1D4391 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.4% C 0.136 H 262.5°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#1D4391
RGBrgb(29, 67, 145)
HSLhsl(220, 67%, 34%)
HSVhsv(220, 80%, 57%)
CMYKcmyk(80%, 53.8%, 0%, 43.1%)
CIE-LABlab(30.20, 16.47, -46.91)
CIE-LCHlch(30.20, 49.72, 289.35°)
OKLaboklab(40.4% -0.0178 -0.1352)
OKLCHoklch(40.4% 0.136 262.5)
XYZxyz(7.6228, 6.3190, 27.6005)
Luminance0.0632 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4391 #916B1D
analogous
#1D7D91 #1D4391 #311D91
triadic
#1D4391 #911D43 #43911D
tetradic
#1D4391 #911D7D #916B1D #1D9131
square
#1D4391 #911D7D #916B1D #1D9131
split-complementary
#1D4391 #91311D #7D911D
monochromatic
#09142B #132B5E #1D4391 #275BC4 #4D7CDB

Accessibility & contrast

On white

9.28
#1D4391 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#1D4391 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D4391
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4391#FFFFFF#000000##FFFFFF
##1D43911.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A4D94
Deuteranopia (green-blind)
#00428F
Tritanopia (blue-blind)
#005663
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #1d4391;
/* rgb */ color: rgb(29, 67, 145);
/* oklch */ color: oklch(40.4% 0.136 262.5);
Tailwind
colors: {
  custom: {
    50: '#6c76b2',
    500: '#1d4391',
    950: '#000000',
  },
}
SCSS
$custom: #1d4391;
$custom-light: #6c76b2;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4391",
  "rgb": {
    "r": 29,
    "g": 67,
    "b": 145
  },
  "hsl": {
    "h": 220.345,
    "s": 66.667,
    "l": 34.118
  },
  "oklch": {
    "l": 0.40399,
    "c": 0.13634,
    "h": 262.5
  },
  "luminance": 0.0632
}

Semantic roles & 50–950 ramp

primary
#1D4391
secondary
#BE994C
accent
#B13EEA
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #1D4391

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

Preview Lab → · Contrast checker → · Palette generator →

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