#1D3D7B#1D3D7B

#1D3D7B is a dark, moderate blue. Relative luminance 0.050; OKLCH L 37.3% C 0.112 H 262.0°. Best body text is #FFFFFF at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#1D3D7B
RGBrgb(29, 61, 123)
HSLhsl(220, 62%, 30%)
HSVhsv(220, 76%, 48%)
CMYKcmyk(76.4%, 50.4%, 0%, 51.8%)
CIE-LABlab(26.81, 11.73, -38.73)
CIE-LCHlch(26.81, 40.46, 286.85°)
OKLaboklab(37.3% -0.0157 -0.1112)
OKLCHoklch(37.3% 0.112 262)
XYZxyz(5.7493, 5.0281, 19.4026)
Luminance0.0503 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3D7B #7B5B1D
analogous
#1D6C7B #1D3D7B #2C1D7B
triadic
#1D3D7B #7B1D3D #3D7B1D
tetradic
#1D3D7B #7B1D6C #7B5B1D #1D7B2C
square
#1D3D7B #7B1D6C #7B5B1D #1D7B2C
split-complementary
#1D3D7B #7B2C1D #6C7B1D
monochromatic
#060C19 #112449 #1D3D7B #2956AD #4072D2

Accessibility & contrast

On white

10.47
#1D3D7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D3D7B
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3D7B#FFFFFF#000000##FFFFFF
##1D3D7B1.0010.472.0110.47
#FFFFFF10.471.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A447D
Deuteranopia (green-blind)
#003B7A
Tritanopia (blue-blind)
#004C56
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #1d3d7b;
/* rgb */ color: rgb(29, 61, 123);
/* oklch */ color: oklch(37.3% 0.112 262.0);
Tailwind
colors: {
  custom: {
    50: '#6772a2',
    500: '#1d3d7b',
    950: '#000000',
  },
}
SCSS
$custom: #1d3d7b;
$custom-light: #6772a2;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3d7b",
  "rgb": {
    "r": 29,
    "g": 61,
    "b": 123
  },
  "hsl": {
    "h": 219.574,
    "s": 61.842,
    "l": 29.804
  },
  "oklch": {
    "l": 0.37301,
    "c": 0.1123,
    "h": 262
  },
  "luminance": 0.05029
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1D3D7B

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

Preview Lab → · Contrast checker → · Palette generator →

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