#1D4A9C#1D4A9C

#1D4A9C is a dark, vivid blue. Relative luminance 0.076; OKLCH L 42.8% C 0.143 H 261.2°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#1D4A9C
RGBrgb(29, 74, 156)
HSLhsl(219, 69%, 36%)
HSVhsv(219, 81%, 61%)
CMYKcmyk(81.4%, 52.6%, 0%, 38.8%)
CIE-LABlab(33.04, 16.11, -49.01)
CIE-LCHlch(33.04, 51.59, 288.19°)
OKLaboklab(42.82% -0.0219 -0.1412)
OKLCHoklch(42.82% 0.143 261.2)
XYZxyz(8.9541, 7.5580, 32.4330)
Luminance0.0756 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4A9C #9C6F1D
analogous
#1D8A9C #1D4A9C #301D9C
triadic
#1D4A9C #9C1D4A #4A9C1D
tetradic
#1D4A9C #9C1D8A #9C6F1D #1D9C30
square
#1D4A9C #9C1D8A #9C6F1D #1D9C30
split-complementary
#1D4A9C #9C301D #8A9C1D
monochromatic
#0A1935 #133268 #1D4A9C #2762D0 #5485DF

Accessibility & contrast

On white

8.36
#1D4A9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#1D4A9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D4A9C
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4A9C#FFFFFF#000000##FFFFFF
##1D4A9C1.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12549F
Deuteranopia (green-blind)
#00489A
Tritanopia (blue-blind)
#005E6B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #1d4a9c;
/* rgb */ color: rgb(29, 74, 156);
/* oklch */ color: oklch(42.8% 0.143 261.2);
Tailwind
colors: {
  custom: {
    50: '#6f7bba',
    500: '#1d4a9c',
    950: '#000000',
  },
}
SCSS
$custom: #1d4a9c;
$custom-light: #6f7bba;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4a9c",
  "rgb": {
    "r": 29,
    "g": 74,
    "b": 156
  },
  "hsl": {
    "h": 218.74,
    "s": 68.649,
    "l": 36.275
  },
  "oklch": {
    "l": 0.42822,
    "c": 0.14288,
    "h": 261.2
  },
  "luminance": 0.07559
}

Semantic roles & 50–950 ramp

primary
#1D4A9C
secondary
#C29B52
accent
#AD3CEB
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080912
muted
#7B7B81

Preview Lab

Preview with #1D4A9C

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

Preview Lab → · Contrast checker → · Palette generator →

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