#1D389C#1D389C

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

Color values

HEX#1D389C
RGBrgb(29, 56, 156)
HSLhsl(227, 69%, 36%)
HSVhsv(227, 81%, 61%)
CMYKcmyk(81.4%, 64.1%, 0%, 38.8%)
CIE-LABlab(28.08, 28.37, -57.09)
CIE-LCHlch(28.08, 63.74, 296.42°)
OKLaboklab(39.09% -0.0099 -0.1652)
OKLCHoklch(39.09% 0.166 266.6)
XYZxyz(7.9195, 5.4889, 32.0881)
Luminance0.0549 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D389C #9C811D
analogous
#1D789C #1D389C #421D9C
triadic
#1D389C #9C1D38 #389C1D
tetradic
#1D389C #9C1D78 #9C811D #1D9C42
square
#1D389C #9C1D78 #9C811D #1D9C42
split-complementary
#1D389C #9C421D #789C1D
monochromatic
#0A1335 #132568 #1D389C #274BD0 #5472DF

Accessibility & contrast

On white

10.01
#1D389C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D389C
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D389C#FFFFFF#000000##FFFFFF
##1D389C1.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489F
Deuteranopia (green-blind)
#003C9A
Tritanopia (blue-blind)
#005264
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #1d389c;
/* rgb */ color: rgb(29, 56, 156);
/* oklch */ color: oklch(39.1% 0.166 266.6);
Tailwind
colors: {
  custom: {
    50: '#706eba',
    500: '#1d389c',
    950: '#000000',
  },
}
SCSS
$custom: #1d389c;
$custom-light: #706eba;
$custom-dark: #000000;
JSON
{
  "hex": "#1d389c",
  "rgb": {
    "r": 29,
    "g": 56,
    "b": 156
  },
  "hsl": {
    "h": 227.244,
    "s": 68.649,
    "l": 36.275
  },
  "oklch": {
    "l": 0.39094,
    "c": 0.16551,
    "h": 266.6
  },
  "luminance": 0.0549
}

Semantic roles & 50–950 ramp

primary
#1D389C
secondary
#C2AB52
accent
#C63CEB
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #1D389C

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

Preview Lab → · Contrast checker → · Palette generator →

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