#1D396D#1D396D

#1D396D is a dark, moderate blue. Relative luminance 0.043; OKLCH L 35.3% C 0.097 H 261.5°. Best body text is #FFFFFF at 11.30:1 contrast (WCAG AA passes).

Color values

HEX#1D396D
RGBrgb(29, 57, 109)
HSLhsl(219, 58%, 27%)
HSVhsv(219, 73%, 43%)
CMYKcmyk(73.4%, 47.7%, 0%, 57.3%)
CIE-LABlab(24.61, 8.85, -33.38)
CIE-LCHlch(24.61, 34.53, 284.86°)
OKLaboklab(35.3% -0.0142 -0.0955)
OKLCHoklch(35.3% 0.097 261.5)
XYZxyz(4.7292, 4.2911, 15.0441)
Luminance0.0429 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D396D #6D511D
analogous
#1D616D #1D396D #291D6D
triadic
#1D396D #6D1D39 #396D1D
tetradic
#1D396D #6D1D61 #6D511D #1D6D29
square
#1D396D #6D1D61 #6D511D #1D6D29
split-complementary
#1D396D #6D291D #616D1D
monochromatic
#060D18 #10203D #1D396D #2A529D #3A6CCB

Accessibility & contrast

On white

11.30
#1D396D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#1D396D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D396D
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D396D#FFFFFF#000000##FFFFFF
##1D396D1.0011.301.8611.30
#FFFFFF11.301.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F3E6F
Deuteranopia (green-blind)
#0F376C
Tritanopia (blue-blind)
#00454D
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #1d396d;
/* rgb */ color: rgb(29, 57, 109);
/* oklch */ color: oklch(35.3% 0.097 261.5);
Tailwind
colors: {
  custom: {
    50: '#646e97',
    500: '#1d396d',
    950: '#000000',
  },
}
SCSS
$custom: #1d396d;
$custom-light: #646e97;
$custom-dark: #000000;
JSON
{
  "hex": "#1d396d",
  "rgb": {
    "r": 29,
    "g": 57,
    "b": 109
  },
  "hsl": {
    "h": 219,
    "s": 57.971,
    "l": 27.059
  },
  "oklch": {
    "l": 0.35297,
    "c": 0.09658,
    "h": 261.5
  },
  "luminance": 0.04292
}

Semantic roles & 50–950 ramp

primary
#1D396D
secondary
#A28144
accent
#AB47E1
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070D
muted
#7A7A7E

Preview Lab

Preview with #1D396D

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

Preview Lab → · Contrast checker → · Palette generator →

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