#1D397C#1D397C

#1D397C is a dark, moderate blue. Relative luminance 0.046; OKLCH L 36.5% C 0.119 H 264.2°. Best body text is #FFFFFF at 10.89:1 contrast (WCAG AA passes).

Color values

HEX#1D397C
RGBrgb(29, 57, 124)
HSLhsl(222, 62%, 30%)
HSVhsv(222, 77%, 49%)
CMYKcmyk(76.6%, 54%, 0%, 51.4%)
CIE-LABlab(25.69, 14.94, -41.17)
CIE-LCHlch(25.69, 43.80, 289.94°)
OKLaboklab(36.47% -0.012 -0.1185)
OKLCHoklch(36.47% 0.119 264.2)
XYZxyz(5.6066, 4.6421, 19.6654)
Luminance0.0464 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D397C #7C601D
analogous
#1D687C #1D397C #311D7C
triadic
#1D397C #7C1D39 #397C1D
tetradic
#1D397C #7C1D68 #7C601D #1D7C31
square
#1D397C #7C1D68 #7C601D #1D7C31
split-complementary
#1D397C #7C311D #687C1D
monochromatic
#060B19 #11224A #1D397C #2950AE #416CD3

Accessibility & contrast

On white

10.89
#1D397C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#1D397C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D397C
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D397C#FFFFFF#000000##FFFFFF
##1D397C1.0010.891.9310.89
#FFFFFF10.891.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C417E
Deuteranopia (green-blind)
#00397B
Tritanopia (blue-blind)
#004954
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #1d397c;
/* rgb */ color: rgb(29, 57, 124);
/* oklch */ color: oklch(36.5% 0.119 264.2);
Tailwind
colors: {
  custom: {
    50: '#686ea2',
    500: '#1d397c',
    950: '#000000',
  },
}
SCSS
$custom: #1d397c;
$custom-light: #686ea2;
$custom-dark: #000000;
JSON
{
  "hex": "#1d397c",
  "rgb": {
    "r": 29,
    "g": 57,
    "b": 124
  },
  "hsl": {
    "h": 222.316,
    "s": 62.092,
    "l": 30
  },
  "oklch": {
    "l": 0.36466,
    "c": 0.11907,
    "h": 264.2
  },
  "luminance": 0.04643
}

Semantic roles & 50–950 ramp

primary
#1D397C
secondary
#B09045
accent
#B543E5
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #1D397C

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

Preview Lab → · Contrast checker → · Palette generator →

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