#1D388F#1D388F

#1D388F is a dark, vivid blue. Relative luminance 0.051; OKLCH L 37.9% C 0.148 H 266.1°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#1D388F
RGBrgb(29, 56, 143)
HSLhsl(226, 66%, 34%)
HSVhsv(226, 80%, 56%)
CMYKcmyk(79.7%, 60.8%, 0%, 43.9%)
CIE-LABlab(26.94, 23.27, -50.99)
CIE-LCHlch(26.94, 56.05, 294.53°)
OKLaboklab(37.89% -0.0099 -0.1473)
OKLCHoklch(37.89% 0.148 266.1)
XYZxyz(6.8771, 5.0719, 26.5978)
Luminance0.0507 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D388F #8F741D
analogous
#1D718F #1D388F #3B1D8F
triadic
#1D388F #8F1D38 #388F1D
tetradic
#1D388F #8F1D71 #8F741D #1D8F3B
square
#1D388F #8F1D71 #8F741D #1D8F3B
split-complementary
#1D388F #8F3B1D #718F1D
monochromatic
#081029 #13245C #1D388F #274CC2 #4C6EDB

Accessibility & contrast

On white

10.42
#1D388F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#1D388F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D388F
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D388F#FFFFFF#000000##FFFFFF
##1D388F1.0010.422.0110.42
#FFFFFF10.421.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004592
Deuteranopia (green-blind)
#003B8D
Tritanopia (blue-blind)
#004E5E
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #1d388f;
/* rgb */ color: rgb(29, 56, 143);
/* oklch */ color: oklch(37.9% 0.148 266.1);
Tailwind
colors: {
  custom: {
    50: '#6d6eb1',
    500: '#1d388f',
    950: '#000000',
  },
}
SCSS
$custom: #1d388f;
$custom-light: #6d6eb1;
$custom-dark: #000000;
JSON
{
  "hex": "#1d388f",
  "rgb": {
    "r": 29,
    "g": 56,
    "b": 143
  },
  "hsl": {
    "h": 225.789,
    "s": 66.279,
    "l": 33.725
  },
  "oklch": {
    "l": 0.37889,
    "c": 0.14769,
    "h": 266.1
  },
  "luminance": 0.05073
}

Semantic roles & 50–950 ramp

primary
#1D388F
secondary
#BDA24B
accent
#C13FE9
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #1D388F

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

Preview Lab → · Contrast checker → · Palette generator →

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