#1D4E9F#1D4E9F

#1D4E9F is a dark, vivid blue. Relative luminance 0.082; OKLCH L 43.9% C 0.142 H 260.1°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#1D4E9F
RGBrgb(29, 78, 159)
HSLhsl(217, 69%, 37%)
HSVhsv(217, 82%, 62%)
CMYKcmyk(81.8%, 50.9%, 0%, 37.6%)
CIE-LABlab(34.42, 14.60, -48.59)
CIE-LCHlch(34.42, 50.74, 286.73°)
OKLaboklab(43.94% -0.0245 -0.1399)
OKLCHoklch(43.94% 0.142 260.1)
XYZxyz(9.4868, 8.2121, 33.8793)
Luminance0.0821 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4E9F #9F6E1D
analogous
#1D8F9F #1D4E9F #2D1D9F
triadic
#1D4E9F #9F1D4E #4E9F1D
tetradic
#1D4E9F #9F1D8F #9F6E1D #1D9F2D
square
#1D4E9F #9F1D8F #9F6E1D #1D9F2D
split-complementary
#1D4E9F #9F2D1D #8F9F1D
monochromatic
#0A1B37 #14356B #1D4E9F #2667D3 #568AE0

Accessibility & contrast

On white

7.95
#1D4E9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#1D4E9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D4E9F
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4E9F#FFFFFF#000000##FFFFFF
##1D4E9F1.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B57A2
Deuteranopia (green-blind)
#004B9D
Tritanopia (blue-blind)
#00626F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #1d4e9f;
/* rgb */ color: rgb(29, 78, 159);
/* oklch */ color: oklch(43.9% 0.142 260.1);
Tailwind
colors: {
  custom: {
    50: '#6f7ebc',
    500: '#1d4e9f',
    950: '#000000',
  },
}
SCSS
$custom: #1d4e9f;
$custom-light: #6f7ebc;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4e9f",
  "rgb": {
    "r": 29,
    "g": 78,
    "b": 159
  },
  "hsl": {
    "h": 217.385,
    "s": 69.149,
    "l": 36.863
  },
  "oklch": {
    "l": 0.43942,
    "c": 0.14203,
    "h": 260.1
  },
  "luminance": 0.08213
}

Semantic roles & 50–950 ramp

primary
#1D4E9F
secondary
#C49A54
accent
#AA3CEC
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #1D4E9F

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

Preview Lab → · Contrast checker → · Palette generator →

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