#1D396C#1D396C

#1D396C is a dark, moderate blue. Relative luminance 0.043; OKLCH L 35.2% C 0.095 H 261.3°. Best body text is #FFFFFF at 11.33:1 contrast (WCAG AA passes).

Color values

HEX#1D396C
RGBrgb(29, 57, 108)
HSLhsl(219, 58%, 27%)
HSVhsv(219, 73%, 42%)
CMYKcmyk(73.1%, 47.2%, 0%, 57.6%)
CIE-LABlab(24.54, 8.45, -32.84)
CIE-LCHlch(24.54, 33.91, 284.42°)
OKLaboklab(35.22% -0.0144 -0.094)
OKLCHoklch(35.22% 0.095 261.3)
XYZxyz(4.6756, 4.2697, 14.7622)
Luminance0.0427 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D396C #6C501D
analogous
#1D616C #1D396C #291D6C
triadic
#1D396C #6C1D39 #396C1D
tetradic
#1D396C #6C1D61 #6C501D #1D6C29
square
#1D396C #6C1D61 #6C501D #1D6C29
split-complementary
#1D396C #6C291D #616C1D
monochromatic
#060D18 #10203C #1D396C #2A529C #396DCA

Accessibility & contrast

On white

11.33
#1D396C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D396C
11.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D396C#FFFFFF#000000##FFFFFF
##1D396C1.0011.331.8511.33
#FFFFFF11.331.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#203E6E
Deuteranopia (green-blind)
#11376B
Tritanopia (blue-blind)
#00454D
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #1d396c;
/* rgb */ color: rgb(29, 57, 108);
/* oklch */ color: oklch(35.2% 0.095 261.3);
Tailwind
colors: {
  custom: {
    50: '#646e96',
    500: '#1d396c',
    950: '#000000',
  },
}
SCSS
$custom: #1d396c;
$custom-light: #646e96;
$custom-dark: #000000;
JSON
{
  "hex": "#1d396c",
  "rgb": {
    "r": 29,
    "g": 57,
    "b": 108
  },
  "hsl": {
    "h": 218.734,
    "s": 57.664,
    "l": 26.863
  },
  "oklch": {
    "l": 0.35223,
    "c": 0.09506,
    "h": 261.3
  },
  "luminance": 0.0427
}

Semantic roles & 50–950 ramp

primary
#1D396C
secondary
#A18044
accent
#AA47E1
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070D
muted
#7A7A7E

Preview Lab

Preview with #1D396C

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

Preview Lab → · Contrast checker → · Palette generator →

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