#1D4099#1D4099

#1D4099 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.4% C 0.151 H 264.3°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#1D4099
RGBrgb(29, 64, 153)
HSLhsl(223, 68%, 36%)
HSVhsv(223, 81%, 60%)
CMYKcmyk(81%, 58.2%, 0%, 40%)
CIE-LABlab(29.98, 21.74, -52.17)
CIE-LCHlch(29.98, 56.52, 292.62°)
OKLaboklab(40.43% -0.015 -0.1507)
OKLCHoklch(40.43% 0.151 264.3)
XYZxyz(8.0878, 6.2270, 30.9065)
Luminance0.0623 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4099 #99761D
analogous
#1D7E99 #1D4099 #381D99
triadic
#1D4099 #991D40 #40991D
tetradic
#1D4099 #991D7E #99761D #1D9938
square
#1D4099 #991D7E #99761D #1D9938
split-complementary
#1D4099 #99381D #7E991D
monochromatic
#091532 #132A66 #1D4099 #2756CC #527ADE

Accessibility & contrast

On white

9.35
#1D4099 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#1D4099 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D4099
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4099#FFFFFF#000000##FFFFFF
##1D40991.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9C
Deuteranopia (green-blind)
#004197
Tritanopia (blue-blind)
#005666
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #1d4099;
/* rgb */ color: rgb(29, 64, 153);
/* oklch */ color: oklch(40.4% 0.151 264.3);
Tailwind
colors: {
  custom: {
    50: '#6f74b8',
    500: '#1d4099',
    950: '#000000',
  },
}
SCSS
$custom: #1d4099;
$custom-light: #6f74b8;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4099",
  "rgb": {
    "r": 29,
    "g": 64,
    "b": 153
  },
  "hsl": {
    "h": 223.065,
    "s": 68.132,
    "l": 35.686
  },
  "oklch": {
    "l": 0.40426,
    "c": 0.15141,
    "h": 264.3
  },
  "luminance": 0.06228
}

Semantic roles & 50–950 ramp

primary
#1D4099
secondary
#C1A151
accent
#BA3DEB
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #1D4099

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

Preview Lab → · Contrast checker → · Palette generator →

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