#1D388D#1D388D

#1D388D is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.7% C 0.145 H 266.0°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#1D388D
RGBrgb(29, 56, 141)
HSLhsl(226, 66%, 33%)
HSVhsv(226, 79%, 55%)
CMYKcmyk(79.4%, 60.3%, 0%, 44.7%)
CIE-LABlab(26.77, 22.47, -50.03)
CIE-LCHlch(26.77, 54.85, 294.19°)
OKLaboklab(37.71% -0.01 -0.1445)
OKLCHoklch(37.71% 0.145 266)
XYZxyz(6.7269, 5.0119, 25.8070)
Luminance0.0501 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D388D #8D721D
analogous
#1D708D #1D388D #3A1D8D
triadic
#1D388D #8D1D38 #388D1D
tetradic
#1D388D #8D1D70 #8D721D #1D8D3A
square
#1D388D #8D1D70 #8D721D #1D8D3A
split-complementary
#1D388D #8D3A1D #708D1D
monochromatic
#081027 #13245A #1D388D #274CC0 #4B6DDA

Accessibility & contrast

On white

10.49
#1D388D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#1D388D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D388D
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D388D#FFFFFF#000000##FFFFFF
##1D388D1.0010.492.0010.49
#FFFFFF10.491.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004590
Deuteranopia (green-blind)
#003A8B
Tritanopia (blue-blind)
#004D5D
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #1d388d;
/* rgb */ color: rgb(29, 56, 141);
/* oklch */ color: oklch(37.7% 0.145 266.0);
Tailwind
colors: {
  custom: {
    50: '#6c6eaf',
    500: '#1d388d',
    950: '#000000',
  },
}
SCSS
$custom: #1d388d;
$custom-light: #6c6eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#1d388d",
  "rgb": {
    "r": 29,
    "g": 56,
    "b": 141
  },
  "hsl": {
    "h": 225.536,
    "s": 65.882,
    "l": 33.333
  },
  "oklch": {
    "l": 0.37709,
    "c": 0.14488,
    "h": 266
  },
  "luminance": 0.05013
}

Semantic roles & 50–950 ramp

primary
#1D388D
secondary
#BCA14A
accent
#C03FE9
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #1D388D

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

Preview Lab → · Contrast checker → · Palette generator →

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