#1D3CA8#1D3CA8

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

Color values

HEX#1D3CA8
RGBrgb(29, 60, 168)
HSLhsl(227, 71%, 39%)
HSVhsv(227, 83%, 66%)
CMYKcmyk(82.7%, 64.3%, 0%, 34.1%)
CIE-LABlab(30.20, 30.32, -60.87)
CIE-LCHlch(30.20, 68.00, 296.48°)
OKLaboklab(40.99% -0.0123 -0.1762)
OKLCHoklch(40.99% 0.177 266)
XYZxyz(9.1880, 6.3190, 37.7736)
Luminance0.0632 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3CA8 #A8891D
analogous
#1D81A8 #1D3CA8 #441DA8
triadic
#1D3CA8 #A81D3C #3CA81D
tetradic
#1D3CA8 #A81D81 #A8891D #1DA844
square
#1D3CA8 #A81D81 #A8891D #1DA844
split-complementary
#1D3CA8 #A8441D #81A81D
monochromatic
#0B1740 #142974 #1D3CA8 #2850DA #5C7AE3

Accessibility & contrast

On white

9.28
#1D3CA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D3CA8
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3CA8#FFFFFF#000000##FFFFFF
##1D3CA81.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAB
Deuteranopia (green-blind)
#0041A6
Tritanopia (blue-blind)
#00596C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #1d3ca8;
/* rgb */ color: rgb(29, 60, 168);
/* oklch */ color: oklch(41.0% 0.177 266.0);
Tailwind
colors: {
  custom: {
    50: '#7371c3',
    500: '#1d3ca8',
    950: '#000000',
  },
}
SCSS
$custom: #1d3ca8;
$custom-light: #7371c3;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3ca8",
  "rgb": {
    "r": 29,
    "g": 60,
    "b": 168
  },
  "hsl": {
    "h": 226.619,
    "s": 70.558,
    "l": 38.627
  },
  "oklch": {
    "l": 0.40994,
    "c": 0.17667,
    "h": 266
  },
  "luminance": 0.0632
}

Semantic roles & 50–950 ramp

primary
#1D3CA8
secondary
#C7AF5A
accent
#C53AED
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #1D3CA8

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

Preview Lab → · Contrast checker → · Palette generator →

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