#1D396F#1D396F

#1D396F is a dark, moderate blue. Relative luminance 0.043; OKLCH L 35.4% C 0.100 H 262.0°. Best body text is #FFFFFF at 11.25:1 contrast (WCAG AA passes).

Color values

HEX#1D396F
RGBrgb(29, 57, 111)
HSLhsl(220, 59%, 27%)
HSVhsv(220, 74%, 44%)
CMYKcmyk(73.9%, 48.6%, 0%, 56.5%)
CIE-LABlab(24.75, 9.66, -34.44)
CIE-LCHlch(24.75, 35.77, 285.67°)
OKLaboklab(35.45% -0.0138 -0.0986)
OKLCHoklch(35.45% 0.1 262)
XYZxyz(4.8380, 4.3347, 15.6175)
Luminance0.0433 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D396F #6F531D
analogous
#1D626F #1D396F #2A1D6F
triadic
#1D396F #6F1D39 #396F1D
tetradic
#1D396F #6F1D62 #6F531D #1D6F2A
square
#1D396F #6F1D62 #6F531D #1D6F2A
split-complementary
#1D396F #6F2A1D #626F1D
monochromatic
#060C18 #10203E #1D396F #2A52A0 #3B6CCC

Accessibility & contrast

On white

11.25
#1D396F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#1D396F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D396F
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D396F#FFFFFF#000000##FFFFFF
##1D396F1.0011.251.8711.25
#FFFFFF11.251.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D3F71
Deuteranopia (green-blind)
#0B376E
Tritanopia (blue-blind)
#00464E
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #1d396f;
/* rgb */ color: rgb(29, 57, 111);
/* oklch */ color: oklch(35.4% 0.100 262.0);
Tailwind
colors: {
  custom: {
    50: '#646e99',
    500: '#1d396f',
    950: '#000000',
  },
}
SCSS
$custom: #1d396f;
$custom-light: #646e99;
$custom-dark: #000000;
JSON
{
  "hex": "#1d396f",
  "rgb": {
    "r": 29,
    "g": 57,
    "b": 111
  },
  "hsl": {
    "h": 219.512,
    "s": 58.571,
    "l": 27.451
  },
  "oklch": {
    "l": 0.35446,
    "c": 0.09962,
    "h": 262
  },
  "luminance": 0.04335
}

Semantic roles & 50–950 ramp

primary
#1D396F
secondary
#A38344
accent
#AD46E2
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #1D396F

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

Preview Lab → · Contrast checker → · Palette generator →

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