#1D396E#1D396E

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

Color values

HEX#1D396E
RGBrgb(29, 57, 110)
HSLhsl(219, 58%, 27%)
HSVhsv(219, 74%, 43%)
CMYKcmyk(73.6%, 48.2%, 0%, 56.9%)
CIE-LABlab(24.68, 9.26, -33.91)
CIE-LCHlch(24.68, 35.15, 285.27°)
OKLaboklab(35.37% -0.014 -0.0971)
OKLCHoklch(35.37% 0.098 261.8)
XYZxyz(4.7833, 4.3128, 15.3292)
Luminance0.0431 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D396E #6E521D
analogous
#1D626E #1D396E #291D6E
triadic
#1D396E #6E1D39 #396E1D
tetradic
#1D396E #6E1D62 #6E521D #1D6E29
square
#1D396E #6E1D62 #6E521D #1D6E29
split-complementary
#1D396E #6E291D #626E1D
monochromatic
#060D18 #10203E #1D396E #2A529E #3A6CCB

Accessibility & contrast

On white

11.27
#1D396E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D396E
11.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D396E#FFFFFF#000000##FFFFFF
##1D396E1.0011.271.8611.27
#FFFFFF11.271.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E3F70
Deuteranopia (green-blind)
#0D376D
Tritanopia (blue-blind)
#00454E
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #1d396e;
/* rgb */ color: rgb(29, 57, 110);
/* oklch */ color: oklch(35.4% 0.098 261.8);
Tailwind
colors: {
  custom: {
    50: '#646e98',
    500: '#1d396e',
    950: '#000000',
  },
}
SCSS
$custom: #1d396e;
$custom-light: #646e98;
$custom-dark: #000000;
JSON
{
  "hex": "#1d396e",
  "rgb": {
    "r": 29,
    "g": 57,
    "b": 110
  },
  "hsl": {
    "h": 219.259,
    "s": 58.273,
    "l": 27.255
  },
  "oklch": {
    "l": 0.35371,
    "c": 0.0981,
    "h": 261.8
  },
  "luminance": 0.04313
}

Semantic roles & 50–950 ramp

primary
#1D396E
secondary
#A28244
accent
#AC46E1
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070D
muted
#7A7A7E

Preview Lab

Preview with #1D396E

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

Preview Lab → · Contrast checker → · Palette generator →

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