#1D4C9C#1D4C9C

#1D4C9C is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.3% C 0.140 H 260.4°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#1D4C9C
RGBrgb(29, 76, 156)
HSLhsl(218, 69%, 36%)
HSVhsv(218, 81%, 61%)
CMYKcmyk(81.4%, 51.3%, 0%, 38.8%)
CIE-LABlab(33.62, 14.75, -48.07)
CIE-LCHlch(33.62, 50.28, 287.06°)
OKLaboklab(43.27% -0.0234 -0.1384)
OKLCHoklch(43.27% 0.14 260.4)
XYZxyz(9.0897, 7.8293, 32.4782)
Luminance0.0783 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4C9C #9C6D1D
analogous
#1D8C9C #1D4C9C #2D1D9C
triadic
#1D4C9C #9C1D4C #4C9C1D
tetradic
#1D4C9C #9C1D8C #9C6D1D #1D9C2D
square
#1D4C9C #9C1D8C #9C6D1D #1D9C2D
split-complementary
#1D4C9C #9C2D1D #8C9C1D
monochromatic
#0A1A35 #133368 #1D4C9C #2765D0 #5488DF

Accessibility & contrast

On white

8.18
#1D4C9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#1D4C9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D4C9C
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4C9C#FFFFFF#000000##FFFFFF
##1D4C9C1.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19559F
Deuteranopia (green-blind)
#004A9A
Tritanopia (blue-blind)
#005F6C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #1d4c9c;
/* rgb */ color: rgb(29, 76, 156);
/* oklch */ color: oklch(43.3% 0.140 260.4);
Tailwind
colors: {
  custom: {
    50: '#6f7dba',
    500: '#1d4c9c',
    950: '#000000',
  },
}
SCSS
$custom: #1d4c9c;
$custom-light: #6f7dba;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4c9c",
  "rgb": {
    "r": 29,
    "g": 76,
    "b": 156
  },
  "hsl": {
    "h": 217.795,
    "s": 68.649,
    "l": 36.275
  },
  "oklch": {
    "l": 0.43265,
    "c": 0.14036,
    "h": 260.4
  },
  "luminance": 0.0783
}

Semantic roles & 50–950 ramp

primary
#1D4C9C
secondary
#C29952
accent
#AB3CEB
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080912
muted
#7B7B81

Preview Lab

Preview with #1D4C9C

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

Preview Lab → · Contrast checker → · Palette generator →

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