#1D4D9F#1D4D9F

#1D4D9F is a dark, vivid blue. Relative luminance 0.081; OKLCH L 43.7% C 0.143 H 260.4°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#1D4D9F
RGBrgb(29, 77, 159)
HSLhsl(218, 69%, 37%)
HSVhsv(218, 82%, 62%)
CMYKcmyk(81.8%, 51.6%, 0%, 37.6%)
CIE-LABlab(34.13, 15.28, -49.06)
CIE-LCHlch(34.13, 51.39, 287.30°)
OKLaboklab(43.72% -0.0238 -0.1413)
OKLCHoklch(43.72% 0.143 260.4)
XYZxyz(9.4163, 8.0710, 33.8557)
Luminance0.0807 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4D9F #9F6F1D
analogous
#1D8E9F #1D4D9F #2E1D9F
triadic
#1D4D9F #9F1D4D #4D9F1D
tetradic
#1D4D9F #9F1D8E #9F6F1D #1D9F2E
square
#1D4D9F #9F1D8E #9F6F1D #1D9F2E
split-complementary
#1D4D9F #9F2E1D #8E9F1D
monochromatic
#0A1B37 #14346B #1D4D9F #2666D3 #5689E0

Accessibility & contrast

On white

8.03
#1D4D9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#1D4D9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D4D9F
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4D9F#FFFFFF#000000##FFFFFF
##1D4D9F1.008.032.618.03
#FFFFFF8.031.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1856A2
Deuteranopia (green-blind)
#004B9D
Tritanopia (blue-blind)
#00616E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #1d4d9f;
/* rgb */ color: rgb(29, 77, 159);
/* oklch */ color: oklch(43.7% 0.143 260.4);
Tailwind
colors: {
  custom: {
    50: '#6f7ebc',
    500: '#1d4d9f',
    950: '#000000',
  },
}
SCSS
$custom: #1d4d9f;
$custom-light: #6f7ebc;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4d9f",
  "rgb": {
    "r": 29,
    "g": 77,
    "b": 159
  },
  "hsl": {
    "h": 217.846,
    "s": 69.149,
    "l": 36.863
  },
  "oklch": {
    "l": 0.4372,
    "c": 0.14328,
    "h": 260.4
  },
  "luminance": 0.08072
}

Semantic roles & 50–950 ramp

primary
#1D4D9F
secondary
#C49A54
accent
#AB3CEC
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #1D4D9F

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

Preview Lab → · Contrast checker → · Palette generator →

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