#1D3E7C#1D3E7C

#1D3E7C is a dark, moderate blue. Relative luminance 0.052; OKLCH L 37.6% C 0.112 H 261.6°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#1D3E7C
RGBrgb(29, 62, 124)
HSLhsl(219, 62%, 30%)
HSVhsv(219, 77%, 49%)
CMYKcmyk(76.6%, 50%, 0%, 51.4%)
CIE-LABlab(27.19, 11.43, -38.75)
CIE-LCHlch(27.19, 40.41, 286.44°)
OKLaboklab(37.61% -0.0164 -0.1113)
OKLCHoklch(37.61% 0.112 261.6)
XYZxyz(5.8661, 5.1611, 19.7519)
Luminance0.0516 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3E7C #7C5B1D
analogous
#1D6E7C #1D3E7C #2B1D7C
triadic
#1D3E7C #7C1D3E #3E7C1D
tetradic
#1D3E7C #7C1D6E #7C5B1D #1D7C2B
square
#1D3E7C #7C1D6E #7C5B1D #1D7C2B
split-complementary
#1D3E7C #7C2B1D #6E7C1D
monochromatic
#060C19 #11254A #1D3E7C #2957AE #4173D3

Accessibility & contrast

On white

10.33
#1D3E7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#1D3E7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D3E7C
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3E7C#FFFFFF#000000##FFFFFF
##1D3E7C1.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C457E
Deuteranopia (green-blind)
#003C7B
Tritanopia (blue-blind)
#004D57
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #1d3e7c;
/* rgb */ color: rgb(29, 62, 124);
/* oklch */ color: oklch(37.6% 0.112 261.6);
Tailwind
colors: {
  custom: {
    50: '#6772a2',
    500: '#1d3e7c',
    950: '#000000',
  },
}
SCSS
$custom: #1d3e7c;
$custom-light: #6772a2;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3e7c",
  "rgb": {
    "r": 29,
    "g": 62,
    "b": 124
  },
  "hsl": {
    "h": 219.158,
    "s": 62.092,
    "l": 30
  },
  "oklch": {
    "l": 0.3761,
    "c": 0.11247,
    "h": 261.6
  },
  "luminance": 0.05162
}

Semantic roles & 50–950 ramp

primary
#1D3E7C
secondary
#B08B45
accent
#AD43E5
background
#F6F6FA
surface
#EBECF3
border
#C6C7CD
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #1D3E7C

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

Preview Lab → · Contrast checker → · Palette generator →

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