#1D388B#1D388B

#1D388B is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.5% C 0.142 H 265.9°. Best body text is #FFFFFF at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#1D388B
RGBrgb(29, 56, 139)
HSLhsl(225, 65%, 33%)
HSVhsv(225, 79%, 55%)
CMYKcmyk(79.1%, 59.7%, 0%, 45.5%)
CIE-LABlab(26.60, 21.68, -49.07)
CIE-LCHlch(26.60, 53.64, 293.83°)
OKLaboklab(37.53% -0.0101 -0.1417)
OKLCHoklch(37.53% 0.142 265.9)
XYZxyz(6.5794, 4.9529, 25.0303)
Luminance0.0495 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D388B #8B701D
analogous
#1D6F8B #1D388B #391D8B
triadic
#1D388B #8B1D38 #388B1D
tetradic
#1D388B #8B1D6F #8B701D #1D8B39
square
#1D388B #8B1D6F #8B701D #1D8B39
split-complementary
#1D388B #8B391D #6F8B1D
monochromatic
#080F26 #122458 #1D388B #284CBE #496DD9

Accessibility & contrast

On white

10.55
#1D388B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#1D388B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D388B
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D388B#FFFFFF#000000##FFFFFF
##1D388B1.0010.551.9910.55
#FFFFFF10.551.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448E
Deuteranopia (green-blind)
#003A89
Tritanopia (blue-blind)
#004D5C
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #1d388b;
/* rgb */ color: rgb(29, 56, 139);
/* oklch */ color: oklch(37.5% 0.142 265.9);
Tailwind
colors: {
  custom: {
    50: '#6b6eae',
    500: '#1d388b',
    950: '#000000',
  },
}
SCSS
$custom: #1d388b;
$custom-light: #6b6eae;
$custom-dark: #000000;
JSON
{
  "hex": "#1d388b",
  "rgb": {
    "r": 29,
    "g": 56,
    "b": 139
  },
  "hsl": {
    "h": 225.273,
    "s": 65.476,
    "l": 32.941
  },
  "oklch": {
    "l": 0.3753,
    "c": 0.14206,
    "h": 265.9
  },
  "luminance": 0.04954
}

Semantic roles & 50–950 ramp

primary
#1D388B
secondary
#BB9F49
accent
#BF3FE8
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #1D388B

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

Preview Lab → · Contrast checker → · Palette generator →

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