#1D3EA7#1D3EA7

#1D3EA7 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.3% C 0.173 H 265.6°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#1D3EA7
RGBrgb(29, 62, 167)
HSLhsl(226, 70%, 38%)
HSVhsv(226, 83%, 65%)
CMYKcmyk(82.6%, 62.9%, 0%, 34.5%)
CIE-LABlab(30.63, 28.60, -59.57)
CIE-LCHlch(30.63, 66.08, 295.64°)
OKLaboklab(41.28% -0.0134 -0.1724)
OKLCHoklch(41.28% 0.173 265.6)
XYZxyz(9.2019, 6.4954, 37.3205)
Luminance0.0650 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3EA7 #A7861D
analogous
#1D83A7 #1D3EA7 #411DA7
triadic
#1D3EA7 #A71D3E #3EA71D
tetradic
#1D3EA7 #A71D83 #A7861D #1DA741
square
#1D3EA7 #A71D83 #A7861D #1DA741
split-complementary
#1D3EA7 #A7411D #83A71D
monochromatic
#0B173F #142B73 #1D3EA7 #2852DA #5C7CE3

Accessibility & contrast

On white

9.13
#1D3EA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#1D3EA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D3EA7
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3EA7#FFFFFF#000000##FFFFFF
##1D3EA71.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAA
Deuteranopia (green-blind)
#0042A5
Tritanopia (blue-blind)
#00596C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #1d3ea7;
/* rgb */ color: rgb(29, 62, 167);
/* oklch */ color: oklch(41.3% 0.173 265.6);
Tailwind
colors: {
  custom: {
    50: '#7273c2',
    500: '#1d3ea7',
    950: '#000000',
  },
}
SCSS
$custom: #1d3ea7;
$custom-light: #7273c2;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3ea7",
  "rgb": {
    "r": 29,
    "g": 62,
    "b": 167
  },
  "hsl": {
    "h": 225.652,
    "s": 70.408,
    "l": 38.431
  },
  "oklch": {
    "l": 0.41282,
    "c": 0.17294,
    "h": 265.6
  },
  "luminance": 0.06496
}

Semantic roles & 50–950 ramp

primary
#1D3EA7
secondary
#C7AC59
accent
#C23BED
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#090812
muted
#7B7B81

Preview Lab

Preview with #1D3EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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