#1D386B#1D386B

#1D386B is a dark, moderate blue. Relative luminance 0.042; OKLCH L 34.9% C 0.095 H 261.8°. Best body text is #FFFFFF at 11.47:1 contrast (WCAG AA passes).

Color values

HEX#1D386B
RGBrgb(29, 56, 107)
HSLhsl(219, 57%, 27%)
HSVhsv(219, 73%, 42%)
CMYKcmyk(72.9%, 47.7%, 0%, 58%)
CIE-LABlab(24.16, 8.75, -32.81)
CIE-LCHlch(24.16, 33.96, 284.93°)
OKLaboklab(34.91% -0.0136 -0.0939)
OKLCHoklch(34.91% 0.095 261.8)
XYZxyz(4.5738, 4.1506, 14.4672)
Luminance0.0415 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D386B #6B501D
analogous
#1D5F6B #1D386B #291D6B
triadic
#1D386B #6B1D38 #386B1D
tetradic
#1D386B #6B1D5F #6B501D #1D6B29
square
#1D386B #6B1D5F #6B501D #1D6B29
split-complementary
#1D386B #6B291D #5F6B1D
monochromatic
#070D18 #101F3B #1D386B #2A519B #396BC9

Accessibility & contrast

On white

11.47
#1D386B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#1D386B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D386B
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D386B#FFFFFF#000000##FFFFFF
##1D386B1.0011.471.8311.47
#FFFFFF11.471.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F3D6D
Deuteranopia (green-blind)
#10366A
Tritanopia (blue-blind)
#00444C
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #1d386b;
/* rgb */ color: rgb(29, 56, 107);
/* oklch */ color: oklch(34.9% 0.095 261.8);
Tailwind
colors: {
  custom: {
    50: '#646e96',
    500: '#1d386b',
    950: '#000000',
  },
}
SCSS
$custom: #1d386b;
$custom-light: #646e96;
$custom-dark: #000000;
JSON
{
  "hex": "#1d386b",
  "rgb": {
    "r": 29,
    "g": 56,
    "b": 107
  },
  "hsl": {
    "h": 219.231,
    "s": 57.353,
    "l": 26.667
  },
  "oklch": {
    "l": 0.34909,
    "c": 0.09486,
    "h": 261.8
  },
  "luminance": 0.04151
}

Semantic roles & 50–950 ramp

primary
#1D386B
secondary
#A08044
accent
#AC47E1
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070D
muted
#7A7A7E

Preview Lab

Preview with #1D386B

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

Preview Lab → · Contrast checker → · Palette generator →

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