#1D389D#1D389D

#1D389D is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.2% C 0.167 H 266.6°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#1D389D
RGBrgb(29, 56, 157)
HSLhsl(227, 69%, 36%)
HSVhsv(227, 82%, 62%)
CMYKcmyk(81.5%, 64.3%, 0%, 38.4%)
CIE-LABlab(28.18, 28.75, -57.55)
CIE-LCHlch(28.18, 64.33, 296.55°)
OKLaboklab(39.19% -0.0099 -0.1666)
OKLCHoklch(39.19% 0.167 266.6)
XYZxyz(8.0045, 5.5229, 32.5359)
Luminance0.0552 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D389D #9D821D
analogous
#1D789D #1D389D #421D9D
triadic
#1D389D #9D1D38 #389D1D
tetradic
#1D389D #9D1D78 #9D821D #1D9D42
square
#1D389D #9D1D78 #9D821D #1D9D42
split-complementary
#1D389D #9D421D #789D1D
monochromatic
#0A1336 #132669 #1D389D #274AD1 #5572E0

Accessibility & contrast

On white

9.98
#1D389D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#1D389D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D389D
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D389D#FFFFFF#000000##FFFFFF
##1D389D1.009.982.109.98
#FFFFFF9.981.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A0
Deuteranopia (green-blind)
#003D9B
Tritanopia (blue-blind)
#005365
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #1d389d;
/* rgb */ color: rgb(29, 56, 157);
/* oklch */ color: oklch(39.2% 0.167 266.6);
Tailwind
colors: {
  custom: {
    50: '#706ebb',
    500: '#1d389d',
    950: '#000000',
  },
}
SCSS
$custom: #1d389d;
$custom-light: #706ebb;
$custom-dark: #000000;
JSON
{
  "hex": "#1d389d",
  "rgb": {
    "r": 29,
    "g": 56,
    "b": 157
  },
  "hsl": {
    "h": 227.344,
    "s": 68.817,
    "l": 36.471
  },
  "oklch": {
    "l": 0.39189,
    "c": 0.16686,
    "h": 266.6
  },
  "luminance": 0.05524
}

Semantic roles & 50–950 ramp

primary
#1D389D
secondary
#C3AB53
accent
#C73CEC
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #1D389D

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

Preview Lab → · Contrast checker → · Palette generator →

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