#1D3D7C#1D3D7C

#1D3D7C is a dark, moderate blue. Relative luminance 0.051; OKLCH L 37.4% C 0.114 H 262.2°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#1D3D7C
RGBrgb(29, 61, 124)
HSLhsl(220, 62%, 30%)
HSVhsv(220, 77%, 49%)
CMYKcmyk(76.6%, 50.8%, 0%, 51.4%)
CIE-LABlab(26.89, 12.13, -39.24)
CIE-LCHlch(26.89, 41.07, 287.18°)
OKLaboklab(37.38% -0.0155 -0.1127)
OKLCHoklch(37.38% 0.114 262.2)
XYZxyz(5.8122, 5.0533, 19.7339)
Luminance0.0505 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3D7C #7C5C1D
analogous
#1D6D7C #1D3D7C #2C1D7C
triadic
#1D3D7C #7C1D3D #3D7C1D
tetradic
#1D3D7C #7C1D6D #7C5C1D #1D7C2C
square
#1D3D7C #7C1D6D #7C5C1D #1D7C2C
split-complementary
#1D3D7C #7C2C1D #6D7C1D
monochromatic
#060C19 #11254A #1D3D7C #2955AE #4172D3

Accessibility & contrast

On white

10.44
#1D3D7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#1D3D7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D3D7C
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3D7C#FFFFFF#000000##FFFFFF
##1D3D7C1.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19447E
Deuteranopia (green-blind)
#003B7B
Tritanopia (blue-blind)
#004C56
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #1d3d7c;
/* rgb */ color: rgb(29, 61, 124);
/* oklch */ color: oklch(37.4% 0.114 262.2);
Tailwind
colors: {
  custom: {
    50: '#6772a2',
    500: '#1d3d7c',
    950: '#000000',
  },
}
SCSS
$custom: #1d3d7c;
$custom-light: #6772a2;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3d7c",
  "rgb": {
    "r": 29,
    "g": 61,
    "b": 124
  },
  "hsl": {
    "h": 219.789,
    "s": 62.092,
    "l": 30
  },
  "oklch": {
    "l": 0.37378,
    "c": 0.11377,
    "h": 262.2
  },
  "luminance": 0.05054
}

Semantic roles & 50–950 ramp

primary
#1D3D7C
secondary
#B08C45
accent
#AE43E5
background
#F6F6FA
surface
#EBECF3
border
#C6C7CD
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #1D3D7C

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

Preview Lab → · Contrast checker → · Palette generator →

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