#1D4399#1D4399

#1D4399 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.1% C 0.148 H 263.4°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#1D4399
RGBrgb(29, 67, 153)
HSLhsl(222, 68%, 36%)
HSVhsv(222, 81%, 60%)
CMYKcmyk(81%, 56.2%, 0%, 40%)
CIE-LABlab(30.82, 19.68, -50.80)
CIE-LCHlch(30.82, 54.48, 291.18°)
OKLaboklab(41.06% -0.0171 -0.1466)
OKLCHoklch(41.06% 0.148 263.4)
XYZxyz(8.2616, 6.5745, 30.9644)
Luminance0.0658 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4399 #99731D
analogous
#1D8199 #1D4399 #351D99
triadic
#1D4399 #991D43 #43991D
tetradic
#1D4399 #991D81 #99731D #1D9935
square
#1D4399 #991D81 #99731D #1D9935
split-complementary
#1D4399 #99351D #81991D
monochromatic
#091632 #132C66 #1D4399 #275ACC #527DDE

Accessibility & contrast

On white

9.07
#1D4399 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#1D4399 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D4399
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4399#FFFFFF#000000##FFFFFF
##1D43991.009.072.329.07
#FFFFFF9.071.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9C
Deuteranopia (green-blind)
#004397
Tritanopia (blue-blind)
#005867
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #1d4399;
/* rgb */ color: rgb(29, 67, 153);
/* oklch */ color: oklch(41.1% 0.148 263.4);
Tailwind
colors: {
  custom: {
    50: '#6e76b8',
    500: '#1d4399',
    950: '#000000',
  },
}
SCSS
$custom: #1d4399;
$custom-light: #6e76b8;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4399",
  "rgb": {
    "r": 29,
    "g": 67,
    "b": 153
  },
  "hsl": {
    "h": 221.613,
    "s": 68.132,
    "l": 35.686
  },
  "oklch": {
    "l": 0.41059,
    "c": 0.14759,
    "h": 263.4
  },
  "luminance": 0.06575
}

Semantic roles & 50–950 ramp

primary
#1D4399
secondary
#C19F51
accent
#B63DEB
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #1D4399

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

Preview Lab → · Contrast checker → · Palette generator →

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