#1D4A9B#1D4A9B

#1D4A9B is a dark, vivid blue. Relative luminance 0.075; OKLCH L 42.7% C 0.141 H 261.0°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#1D4A9B
RGBrgb(29, 74, 155)
HSLhsl(219, 68%, 36%)
HSVhsv(219, 81%, 61%)
CMYKcmyk(81.3%, 52.3%, 0%, 39.2%)
CIE-LABlab(32.97, 15.71, -48.52)
CIE-LCHlch(32.97, 51.00, 287.94°)
OKLaboklab(42.74% -0.022 -0.1398)
OKLCHoklch(42.74% 0.141 261)
XYZxyz(8.8697, 7.5243, 31.9888)
Luminance0.0752 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4A9B #9B6E1D
analogous
#1D899B #1D4A9B #2F1D9B
triadic
#1D4A9B #9B1D4A #4A9B1D
tetradic
#1D4A9B #9B1D89 #9B6E1D #1D9B2F
square
#1D4A9B #9B1D89 #9B6E1D #1D9B2F
split-complementary
#1D4A9B #9B2F1D #899B1D
monochromatic
#0A1934 #133167 #1D4A9B #2763CF #5385DF

Accessibility & contrast

On white

8.38
#1D4A9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D4A9B
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4A9B#FFFFFF#000000##FFFFFF
##1D4A9B1.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14549E
Deuteranopia (green-blind)
#004899
Tritanopia (blue-blind)
#005E6B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #1d4a9b;
/* rgb */ color: rgb(29, 74, 155);
/* oklch */ color: oklch(42.7% 0.141 261.0);
Tailwind
colors: {
  custom: {
    50: '#6e7bb9',
    500: '#1d4a9b',
    950: '#000000',
  },
}
SCSS
$custom: #1d4a9b;
$custom-light: #6e7bb9;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4a9b",
  "rgb": {
    "r": 29,
    "g": 74,
    "b": 155
  },
  "hsl": {
    "h": 218.571,
    "s": 68.478,
    "l": 36.078
  },
  "oklch": {
    "l": 0.42743,
    "c": 0.14149,
    "h": 261
  },
  "luminance": 0.07525
}

Semantic roles & 50–950 ramp

primary
#1D4A9B
secondary
#C29A52
accent
#AD3CEB
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #1D4A9B

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

Preview Lab → · Contrast checker → · Palette generator →

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