#1D4D9C#1D4D9C

#1D4D9C is a dark, vivid blue. Relative luminance 0.080; OKLCH L 43.5% C 0.139 H 260.0°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#1D4D9C
RGBrgb(29, 77, 156)
HSLhsl(217, 69%, 36%)
HSVhsv(217, 81%, 61%)
CMYKcmyk(81.4%, 50.6%, 0%, 38.8%)
CIE-LABlab(33.92, 14.07, -47.60)
CIE-LCHlch(33.92, 49.64, 286.47°)
OKLaboklab(43.49% -0.0242 -0.137)
OKLCHoklch(43.49% 0.139 260)
XYZxyz(9.1591, 7.9682, 32.5013)
Luminance0.0797 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4D9C #9C6C1D
analogous
#1D8D9C #1D4D9C #2D1D9C
triadic
#1D4D9C #9C1D4D #4D9C1D
tetradic
#1D4D9C #9C1D8D #9C6C1D #1D9C2D
square
#1D4D9C #9C1D8D #9C6C1D #1D9C2D
split-complementary
#1D4D9C #9C2D1D #8D9C1D
monochromatic
#0A1A35 #133468 #1D4D9C #2766D0 #5489DF

Accessibility & contrast

On white

8.10
#1D4D9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#1D4D9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D4D9C
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4D9C#FFFFFF#000000##FFFFFF
##1D4D9C1.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C569F
Deuteranopia (green-blind)
#004A9A
Tritanopia (blue-blind)
#00606D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #1d4d9c;
/* rgb */ color: rgb(29, 77, 156);
/* oklch */ color: oklch(43.5% 0.139 260.0);
Tailwind
colors: {
  custom: {
    50: '#6f7eba',
    500: '#1d4d9c',
    950: '#000000',
  },
}
SCSS
$custom: #1d4d9c;
$custom-light: #6f7eba;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4d9c",
  "rgb": {
    "r": 29,
    "g": 77,
    "b": 156
  },
  "hsl": {
    "h": 217.323,
    "s": 68.649,
    "l": 36.275
  },
  "oklch": {
    "l": 0.43488,
    "c": 0.1391,
    "h": 260
  },
  "luminance": 0.07969
}

Semantic roles & 50–950 ramp

primary
#1D4D9C
secondary
#C29852
accent
#A93CEB
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080912
muted
#7B7B81

Preview Lab

Preview with #1D4D9C

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

Preview Lab → · Contrast checker → · Palette generator →

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