#1D3CA7#1D3CA7

#1D3CA7 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.9% C 0.175 H 266.0°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#1D3CA7
RGBrgb(29, 60, 167)
HSLhsl(227, 70%, 38%)
HSVhsv(227, 83%, 65%)
CMYKcmyk(82.6%, 64.1%, 0%, 34.5%)
CIE-LABlab(30.11, 29.94, -60.42)
CIE-LCHlch(30.11, 67.43, 296.36°)
OKLaboklab(40.9% -0.0123 -0.1749)
OKLCHoklch(40.9% 0.175 266)
XYZxyz(9.0952, 6.2819, 37.2849)
Luminance0.0628 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3CA7 #A7881D
analogous
#1D81A7 #1D3CA7 #431DA7
triadic
#1D3CA7 #A71D3C #3CA71D
tetradic
#1D3CA7 #A71D81 #A7881D #1DA743
square
#1D3CA7 #A71D81 #A7881D #1DA743
split-complementary
#1D3CA7 #A7431D #81A71D
monochromatic
#0B173F #142973 #1D3CA7 #2850DA #5C7AE3

Accessibility & contrast

On white

9.31
#1D3CA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#1D3CA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D3CA7
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3CA7#FFFFFF#000000##FFFFFF
##1D3CA71.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAA
Deuteranopia (green-blind)
#0041A5
Tritanopia (blue-blind)
#00586C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #1d3ca7;
/* rgb */ color: rgb(29, 60, 167);
/* oklch */ color: oklch(40.9% 0.175 266.0);
Tailwind
colors: {
  custom: {
    50: '#7371c2',
    500: '#1d3ca7',
    950: '#000000',
  },
}
SCSS
$custom: #1d3ca7;
$custom-light: #7371c2;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3ca7",
  "rgb": {
    "r": 29,
    "g": 60,
    "b": 167
  },
  "hsl": {
    "h": 226.522,
    "s": 70.408,
    "l": 38.431
  },
  "oklch": {
    "l": 0.40899,
    "c": 0.17535,
    "h": 266
  },
  "luminance": 0.06283
}

Semantic roles & 50–950 ramp

primary
#1D3CA7
secondary
#C7AE59
accent
#C53BED
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#090712
muted
#7B7A81

Preview Lab

Preview with #1D3CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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