#1D3C7A#1D3C7A

#1D3C7A is a dark, moderate blue. Relative luminance 0.049; OKLCH L 37.0% C 0.112 H 262.4°. Best body text is #FFFFFF at 10.61:1 contrast (WCAG AA passes).

Color values

HEX#1D3C7A
RGBrgb(29, 60, 122)
HSLhsl(220, 62%, 30%)
HSVhsv(220, 76%, 48%)
CMYKcmyk(76.2%, 50.8%, 0%, 52.2%)
CIE-LABlab(26.44, 12.02, -38.70)
CIE-LCHlch(26.44, 40.52, 287.26°)
OKLaboklab(36.99% -0.0149 -0.1111)
OKLCHoklch(36.99% 0.112 262.4)
XYZxyz(5.6342, 4.8975, 19.0570)
Luminance0.0490 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3C7A #7A5B1D
analogous
#1D6B7A #1D3C7A #2D1D7A
triadic
#1D3C7A #7A1D3C #3C7A1D
tetradic
#1D3C7A #7A1D6B #7A5B1D #1D7A2D
square
#1D3C7A #7A1D6B #7A5B1D #1D7A2D
split-complementary
#1D3C7A #7A2D1D #6B7A1D
monochromatic
#060C19 #112449 #1D3C7A #2954AB #4070D2

Accessibility & contrast

On white

10.61
#1D3C7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#1D3C7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D3C7A
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3C7A#FFFFFF#000000##FFFFFF
##1D3C7A1.0010.611.9810.61
#FFFFFF10.611.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19437C
Deuteranopia (green-blind)
#003B79
Tritanopia (blue-blind)
#004B55
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #1d3c7a;
/* rgb */ color: rgb(29, 60, 122);
/* oklch */ color: oklch(37.0% 0.112 262.4);
Tailwind
colors: {
  custom: {
    50: '#6771a1',
    500: '#1d3c7a',
    950: '#000000',
  },
}
SCSS
$custom: #1d3c7a;
$custom-light: #6771a1;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3c7a",
  "rgb": {
    "r": 29,
    "g": 60,
    "b": 122
  },
  "hsl": {
    "h": 220,
    "s": 61.589,
    "l": 29.608
  },
  "oklch": {
    "l": 0.36992,
    "c": 0.11214,
    "h": 262.4
  },
  "luminance": 0.04898
}

Semantic roles & 50–950 ramp

primary
#1D3C7A
secondary
#AE8B45
accent
#AF43E5
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#07070F
muted
#7A7A7E

Preview Lab

Preview with #1D3C7A

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

Preview Lab → · Contrast checker → · Palette generator →

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