#1D388A#1D388A

#1D388A is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.4% C 0.141 H 265.9°. Best body text is #FFFFFF at 10.58:1 contrast (WCAG AA passes).

Color values

HEX#1D388A
RGBrgb(29, 56, 138)
HSLhsl(225, 65%, 33%)
HSVhsv(225, 79%, 54%)
CMYKcmyk(79%, 59.4%, 0%, 45.9%)
CIE-LABlab(26.52, 21.28, -48.59)
CIE-LCHlch(26.52, 53.04, 293.65°)
OKLaboklab(37.44% -0.0101 -0.1403)
OKLCHoklch(37.44% 0.141 265.9)
XYZxyz(6.5067, 4.9238, 24.6473)
Luminance0.0493 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D388A #8A6F1D
analogous
#1D6E8A #1D388A #391D8A
triadic
#1D388A #8A1D38 #388A1D
tetradic
#1D388A #8A1D6E #8A6F1D #1D8A39
square
#1D388A #8A1D6E #8A6F1D #1D8A39
split-complementary
#1D388A #8A391D #6E8A1D
monochromatic
#080F25 #122357 #1D388A #284DBD #496CD9

Accessibility & contrast

On white

10.58
#1D388A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D388A
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D388A#FFFFFF#000000##FFFFFF
##1D388A1.0010.581.9910.58
#FFFFFF10.581.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448D
Deuteranopia (green-blind)
#003A88
Tritanopia (blue-blind)
#004D5B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #1d388a;
/* rgb */ color: rgb(29, 56, 138);
/* oklch */ color: oklch(37.4% 0.141 265.9);
Tailwind
colors: {
  custom: {
    50: '#6b6ead',
    500: '#1d388a',
    950: '#000000',
  },
}
SCSS
$custom: #1d388a;
$custom-light: #6b6ead;
$custom-dark: #000000;
JSON
{
  "hex": "#1d388a",
  "rgb": {
    "r": 29,
    "g": 56,
    "b": 138
  },
  "hsl": {
    "h": 225.138,
    "s": 65.269,
    "l": 32.745
  },
  "oklch": {
    "l": 0.37441,
    "c": 0.14064,
    "h": 265.9
  },
  "luminance": 0.04925
}

Semantic roles & 50–950 ramp

primary
#1D388A
secondary
#BB9E48
accent
#BE40E8
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080710
muted
#7A7A7F

Preview Lab

Preview with #1D388A

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

Preview Lab → · Contrast checker → · Palette generator →

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