#1D3E7B#1D3E7B

#1D3E7B is a dark, moderate blue. Relative luminance 0.051; OKLCH L 37.5% C 0.111 H 261.4°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#1D3E7B
RGBrgb(29, 62, 123)
HSLhsl(219, 62%, 30%)
HSVhsv(219, 76%, 48%)
CMYKcmyk(76.4%, 49.6%, 0%, 51.8%)
CIE-LABlab(27.12, 11.03, -38.24)
CIE-LCHlch(27.12, 39.80, 286.09°)
OKLaboklab(37.53% -0.0166 -0.1097)
OKLCHoklch(37.53% 0.111 261.4)
XYZxyz(5.8032, 5.1359, 19.4205)
Luminance0.0514 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3E7B #7B5A1D
analogous
#1D6D7B #1D3E7B #2B1D7B
triadic
#1D3E7B #7B1D3E #3E7B1D
tetradic
#1D3E7B #7B1D6D #7B5A1D #1D7B2B
square
#1D3E7B #7B1D6D #7B5A1D #1D7B2B
split-complementary
#1D3E7B #7B2B1D #6D7B1D
monochromatic
#060C19 #112549 #1D3E7B #2957AD #4074D2

Accessibility & contrast

On white

10.36
#1D3E7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D3E7B
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3E7B#FFFFFF#000000##FFFFFF
##1D3E7B1.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D457D
Deuteranopia (green-blind)
#033C7A
Tritanopia (blue-blind)
#004C56
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #1d3e7b;
/* rgb */ color: rgb(29, 62, 123);
/* oklch */ color: oklch(37.5% 0.111 261.4);
Tailwind
colors: {
  custom: {
    50: '#6772a2',
    500: '#1d3e7b',
    950: '#000000',
  },
}
SCSS
$custom: #1d3e7b;
$custom-light: #6772a2;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3e7b",
  "rgb": {
    "r": 29,
    "g": 62,
    "b": 123
  },
  "hsl": {
    "h": 218.936,
    "s": 61.842,
    "l": 29.804
  },
  "oklch": {
    "l": 0.37534,
    "c": 0.11099,
    "h": 261.4
  },
  "luminance": 0.05137
}

Semantic roles & 50–950 ramp

primary
#1D3E7B
secondary
#AF8A45
accent
#AC43E5
background
#F6F6FA
surface
#EBECF3
border
#C6C7CD
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #1D3E7B

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

Preview Lab → · Contrast checker → · Palette generator →

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