#1D3EA8#1D3EA8

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

Color values

HEX#1D3EA8
RGBrgb(29, 62, 168)
HSLhsl(226, 71%, 39%)
HSVhsv(226, 83%, 66%)
CMYKcmyk(82.7%, 63.1%, 0%, 34.1%)
CIE-LABlab(30.72, 28.99, -60.03)
CIE-LCHlch(30.72, 66.66, 295.78°)
OKLaboklab(41.38% -0.0134 -0.1737)
OKLCHoklch(41.38% 0.174 265.6)
XYZxyz(9.2947, 6.5325, 37.8092)
Luminance0.0653 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3EA8 #A8871D
analogous
#1D83A8 #1D3EA8 #411DA8
triadic
#1D3EA8 #A81D3E #3EA81D
tetradic
#1D3EA8 #A81D83 #A8871D #1DA841
square
#1D3EA8 #A81D83 #A8871D #1DA841
split-complementary
#1D3EA8 #A8411D #83A81D
monochromatic
#0B1740 #142B74 #1D3EA8 #2852DA #5C7CE3

Accessibility & contrast

On white

9.10
#1D3EA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#1D3EA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D3EA8
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3EA8#FFFFFF#000000##FFFFFF
##1D3EA81.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAB
Deuteranopia (green-blind)
#0042A6
Tritanopia (blue-blind)
#005A6D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #1d3ea8;
/* rgb */ color: rgb(29, 62, 168);
/* oklch */ color: oklch(41.4% 0.174 265.6);
Tailwind
colors: {
  custom: {
    50: '#7373c3',
    500: '#1d3ea8',
    950: '#000000',
  },
}
SCSS
$custom: #1d3ea8;
$custom-light: #7373c3;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3ea8",
  "rgb": {
    "r": 29,
    "g": 62,
    "b": 168
  },
  "hsl": {
    "h": 225.755,
    "s": 70.558,
    "l": 38.627
  },
  "oklch": {
    "l": 0.41375,
    "c": 0.17426,
    "h": 265.6
  },
  "luminance": 0.06534
}

Semantic roles & 50–950 ramp

primary
#1D3EA8
secondary
#C7AD5A
accent
#C33AED
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#090813
muted
#7B7B82

Preview Lab

Preview with #1D3EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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