#1D4A9E#1D4A9E

#1D4A9E is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.0% C 0.146 H 261.4°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#1D4A9E
RGBrgb(29, 74, 158)
HSLhsl(219, 69%, 37%)
HSVhsv(219, 82%, 62%)
CMYKcmyk(81.6%, 53.2%, 0%, 38%)
CIE-LABlab(33.19, 16.91, -49.98)
CIE-LCHlch(33.19, 52.76, 288.69°)
OKLaboklab(42.98% -0.0217 -0.144)
OKLCHoklch(42.98% 0.146 261.4)
XYZxyz(9.1248, 7.6263, 33.3322)
Luminance0.0763 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4A9E #9E711D
analogous
#1D8B9E #1D4A9E #311D9E
triadic
#1D4A9E #9E1D4A #4A9E1D
tetradic
#1D4A9E #9E1D8B #9E711D #1D9E31
square
#1D4A9E #9E1D8B #9E711D #1D9E31
split-complementary
#1D4A9E #9E311D #8B9E1D
monochromatic
#0A1A37 #14326A #1D4A9E #2662D2 #5686E0

Accessibility & contrast

On white

8.32
#1D4A9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#1D4A9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D4A9E
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4A9E#FFFFFF#000000##FFFFFF
##1D4A9E1.008.322.538.32
#FFFFFF8.321.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D54A1
Deuteranopia (green-blind)
#00489C
Tritanopia (blue-blind)
#005F6C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #1d4a9e;
/* rgb */ color: rgb(29, 74, 158);
/* oklch */ color: oklch(43.0% 0.146 261.4);
Tailwind
colors: {
  custom: {
    50: '#6f7bbb',
    500: '#1d4a9e',
    950: '#000000',
  },
}
SCSS
$custom: #1d4a9e;
$custom-light: #6f7bbb;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4a9e",
  "rgb": {
    "r": 29,
    "g": 74,
    "b": 158
  },
  "hsl": {
    "h": 219.07,
    "s": 68.984,
    "l": 36.667
  },
  "oklch": {
    "l": 0.42981,
    "c": 0.14566,
    "h": 261.4
  },
  "luminance": 0.07627
}

Semantic roles & 50–950 ramp

primary
#1D4A9E
secondary
#C39C54
accent
#AE3CEC
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #1D4A9E

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

Preview Lab → · Contrast checker → · Palette generator →

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