#1D389A#1D389A

#1D389A is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.9% C 0.163 H 266.5°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#1D389A
RGBrgb(29, 56, 154)
HSLhsl(227, 68%, 36%)
HSVhsv(227, 81%, 60%)
CMYKcmyk(81.2%, 63.6%, 0%, 39.6%)
CIE-LABlab(27.90, 27.59, -56.16)
CIE-LCHlch(27.90, 62.57, 296.16°)
OKLaboklab(38.91% -0.0099 -0.1625)
OKLCHoklch(38.91% 0.163 266.5)
XYZxyz(7.7516, 5.4217, 31.2035)
Luminance0.0542 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D389A #9A7F1D
analogous
#1D769A #1D389A #401D9A
triadic
#1D389A #9A1D38 #389A1D
tetradic
#1D389A #9A1D76 #9A7F1D #1D9A40
square
#1D389A #9A1D76 #9A7F1D #1D9A40
split-complementary
#1D389A #9A401D #769A1D
monochromatic
#0A1333 #132566 #1D389A #274BCE #5371DF

Accessibility & contrast

On white

10.07
#1D389A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#1D389A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D389A
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D389A#FFFFFF#000000##FFFFFF
##1D389A1.0010.072.0810.07
#FFFFFF10.071.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489D
Deuteranopia (green-blind)
#003C98
Tritanopia (blue-blind)
#005263
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #1d389a;
/* rgb */ color: rgb(29, 56, 154);
/* oklch */ color: oklch(38.9% 0.163 266.5);
Tailwind
colors: {
  custom: {
    50: '#6f6eb9',
    500: '#1d389a',
    950: '#000000',
  },
}
SCSS
$custom: #1d389a;
$custom-light: #6f6eb9;
$custom-dark: #000000;
JSON
{
  "hex": "#1d389a",
  "rgb": {
    "r": 29,
    "g": 56,
    "b": 154
  },
  "hsl": {
    "h": 227.04,
    "s": 68.306,
    "l": 35.882
  },
  "oklch": {
    "l": 0.38905,
    "c": 0.16281,
    "h": 266.5
  },
  "luminance": 0.05423
}

Semantic roles & 50–950 ramp

primary
#1D389A
secondary
#C2A951
accent
#C53DEB
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #1D389A

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

Preview Lab → · Contrast checker → · Palette generator →

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