#1D4189#1D4189

#1D4189 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.3% C 0.127 H 262.3°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#1D4189
RGBrgb(29, 65, 137)
HSLhsl(220, 65%, 33%)
HSVhsv(220, 79%, 54%)
CMYKcmyk(78.8%, 52.6%, 0%, 46.3%)
CIE-LABlab(29.02, 14.62, -43.90)
CIE-LCHlch(29.02, 46.27, 288.42°)
OKLaboklab(39.31% -0.0172 -0.1263)
OKLCHoklch(39.31% 0.127 262.3)
XYZxyz(6.9107, 5.8472, 24.4265)
Luminance0.0585 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4189 #89651D
analogous
#1D7789 #1D4189 #2F1D89
triadic
#1D4189 #891D41 #41891D
tetradic
#1D4189 #891D77 #89651D #1D892F
square
#1D4189 #891D77 #89651D #1D892F
split-complementary
#1D4189 #892F1D #77891D
monochromatic
#081124 #122956 #1D4189 #2859BC #4878D8

Accessibility & contrast

On white

9.68
#1D4189 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#1D4189 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D4189
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4189#FFFFFF#000000##FFFFFF
##1D41891.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#124A8C
Deuteranopia (green-blind)
#004088
Tritanopia (blue-blind)
#00525E
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #1d4189;
/* rgb */ color: rgb(29, 65, 137);
/* oklch */ color: oklch(39.3% 0.127 262.3);
Tailwind
colors: {
  custom: {
    50: '#6a75ac',
    500: '#1d4189',
    950: '#000000',
  },
}
SCSS
$custom: #1d4189;
$custom-light: #6a75ac;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4189",
  "rgb": {
    "r": 29,
    "g": 65,
    "b": 137
  },
  "hsl": {
    "h": 220,
    "s": 65.06,
    "l": 32.549
  },
  "oklch": {
    "l": 0.39312,
    "c": 0.12749,
    "h": 262.3
  },
  "luminance": 0.05848
}

Semantic roles & 50–950 ramp

primary
#1D4189
secondary
#BA9447
accent
#B040E8
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #1D4189

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

Preview Lab → · Contrast checker → · Palette generator →

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