#1D4393#1D4393

#1D4393 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.6% C 0.139 H 262.7°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#1D4393
RGBrgb(29, 67, 147)
HSLhsl(221, 67%, 35%)
HSVhsv(221, 80%, 58%)
CMYKcmyk(80.3%, 54.4%, 0%, 42.4%)
CIE-LABlab(30.35, 17.28, -47.89)
CIE-LCHlch(30.35, 50.91, 289.84°)
OKLaboklab(40.56% -0.0176 -0.138)
OKLCHoklch(40.56% 0.139 262.7)
XYZxyz(7.7784, 6.3812, 28.4198)
Luminance0.0638 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4393 #936D1D
analogous
#1D7E93 #1D4393 #321D93
triadic
#1D4393 #931D43 #43931D
tetradic
#1D4393 #931D7E #936D1D #1D9332
square
#1D4393 #931D7E #936D1D #1D9332
split-complementary
#1D4393 #93321D #7E931D
monochromatic
#09142D #132C60 #1D4393 #275AC6 #4E7CDC

Accessibility & contrast

On white

9.23
#1D4393 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#1D4393 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D4393
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4393#FFFFFF#000000##FFFFFF
##1D43931.009.232.289.23
#FFFFFF9.231.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#044D96
Deuteranopia (green-blind)
#004291
Tritanopia (blue-blind)
#005764
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #1d4393;
/* rgb */ color: rgb(29, 67, 147);
/* oklch */ color: oklch(40.6% 0.139 262.7);
Tailwind
colors: {
  custom: {
    50: '#6d76b3',
    500: '#1d4393',
    950: '#000000',
  },
}
SCSS
$custom: #1d4393;
$custom-light: #6d76b3;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4393",
  "rgb": {
    "r": 29,
    "g": 67,
    "b": 147
  },
  "hsl": {
    "h": 220.678,
    "s": 67.045,
    "l": 34.51
  },
  "oklch": {
    "l": 0.40562,
    "c": 0.13917,
    "h": 262.7
  },
  "luminance": 0.06382
}

Semantic roles & 50–950 ramp

primary
#1D4393
secondary
#BF9A4D
accent
#B33EEA
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #1D4393

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

Preview Lab → · Contrast checker → · Palette generator →

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