#1D4A8A#1D4A8A

#1D4A8A is a dark, moderate blue. Relative luminance 0.070; OKLCH L 41.5% C 0.117 H 257.8°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#1D4A8A
RGBrgb(29, 74, 138)
HSLhsl(215, 65%, 33%)
HSVhsv(215, 79%, 54%)
CMYKcmyk(79%, 46.4%, 0%, 45.9%)
CIE-LABlab(31.79, 8.86, -40.06)
CIE-LCHlch(31.79, 41.02, 282.47°)
OKLaboklab(41.46% -0.0247 -0.1148)
OKLCHoklch(41.46% 0.117 257.8)
XYZxyz(7.5412, 6.9929, 24.9921)
Luminance0.0699 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4A8A #8A5D1D
analogous
#1D808A #1D4A8A #261D8A
triadic
#1D4A8A #8A1D4A #4A8A1D
tetradic
#1D4A8A #8A1D80 #8A5D1D #1D8A26
square
#1D4A8A #8A1D80 #8A5D1D #1D8A26
split-complementary
#1D4A8A #8A261D #808A1D
monochromatic
#081425 #122F57 #1D4A8A #2865BD #4984D9

Accessibility & contrast

On white

8.75
#1D4A8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#1D4A8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D4A8A
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4A8A#FFFFFF#000000##FFFFFF
##1D4A8A1.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29508C
Deuteranopia (green-blind)
#114689
Tritanopia (blue-blind)
#005963
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #1d4a8a;
/* rgb */ color: rgb(29, 74, 138);
/* oklch */ color: oklch(41.5% 0.117 257.8);
Tailwind
colors: {
  custom: {
    50: '#6a7cac',
    500: '#1d4a8a',
    950: '#000000',
  },
}
SCSS
$custom: #1d4a8a;
$custom-light: #6a7cac;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4a8a",
  "rgb": {
    "r": 29,
    "g": 74,
    "b": 138
  },
  "hsl": {
    "h": 215.229,
    "s": 65.269,
    "l": 32.745
  },
  "oklch": {
    "l": 0.41458,
    "c": 0.11749,
    "h": 257.8
  },
  "luminance": 0.06994
}

Semantic roles & 50–950 ramp

primary
#1D4A8A
secondary
#BB8B48
accent
#A340E8
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070910
muted
#7A7B7F

Preview Lab

Preview with #1D4A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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