#1D386F#1D386F

#1D386F is a dark, moderate blue. Relative luminance 0.042; OKLCH L 35.2% C 0.101 H 262.7°. Best body text is #FFFFFF at 11.37:1 contrast (WCAG AA passes).

Color values

HEX#1D386F
RGBrgb(29, 56, 111)
HSLhsl(220, 59%, 27%)
HSVhsv(220, 74%, 44%)
CMYKcmyk(73.9%, 49.5%, 0%, 56.5%)
CIE-LABlab(24.44, 10.37, -34.93)
CIE-LCHlch(24.44, 36.44, 286.53°)
OKLaboklab(35.21% -0.0128 -0.1001)
OKLCHoklch(35.21% 0.101 262.7)
XYZxyz(4.7891, 4.2368, 15.6012)
Luminance0.0424 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D386F #6F541D
analogous
#1D616F #1D386F #2B1D6F
triadic
#1D386F #6F1D38 #386F1D
tetradic
#1D386F #6F1D61 #6F541D #1D6F2B
square
#1D386F #6F1D61 #6F541D #1D6F2B
split-complementary
#1D386F #6F2B1D #616F1D
monochromatic
#060C18 #10203E #1D386F #2A50A0 #3B6ACC

Accessibility & contrast

On white

11.37
#1D386F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#1D386F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D386F
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D386F#FFFFFF#000000##FFFFFF
##1D386F1.0011.371.8511.37
#FFFFFF11.371.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B3E71
Deuteranopia (green-blind)
#08376E
Tritanopia (blue-blind)
#00454E
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #1d386f;
/* rgb */ color: rgb(29, 56, 111);
/* oklch */ color: oklch(35.2% 0.101 262.7);
Tailwind
colors: {
  custom: {
    50: '#646e99',
    500: '#1d386f',
    950: '#000000',
  },
}
SCSS
$custom: #1d386f;
$custom-light: #646e99;
$custom-dark: #000000;
JSON
{
  "hex": "#1d386f",
  "rgb": {
    "r": 29,
    "g": 56,
    "b": 111
  },
  "hsl": {
    "h": 220.244,
    "s": 58.571,
    "l": 27.451
  },
  "oklch": {
    "l": 0.35209,
    "c": 0.10095,
    "h": 262.7
  },
  "luminance": 0.04237
}

Semantic roles & 50–950 ramp

primary
#1D386F
secondary
#A38444
accent
#AE46E2
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #1D386F

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

Preview Lab → · Contrast checker → · Palette generator →

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