#1D389B#1D389B

#1D389B is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.0% C 0.164 H 266.5°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#1D389B
RGBrgb(29, 56, 155)
HSLhsl(227, 68%, 36%)
HSVhsv(227, 81%, 61%)
CMYKcmyk(81.3%, 63.9%, 0%, 39.2%)
CIE-LABlab(27.99, 27.98, -56.63)
CIE-LCHlch(27.99, 63.16, 296.29°)
OKLaboklab(39% -0.0099 -0.1639)
OKLCHoklch(39% 0.164 266.5)
XYZxyz(7.8352, 5.4552, 31.6440)
Luminance0.0546 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D389B #9B801D
analogous
#1D779B #1D389B #411D9B
triadic
#1D389B #9B1D38 #389B1D
tetradic
#1D389B #9B1D77 #9B801D #1D9B41
square
#1D389B #9B1D77 #9B801D #1D9B41
split-complementary
#1D389B #9B411D #779B1D
monochromatic
#0A1334 #132567 #1D389B #274BCF #5371DF

Accessibility & contrast

On white

10.04
#1D389B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#1D389B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D389B
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D389B#FFFFFF#000000##FFFFFF
##1D389B1.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1d389b;
/* rgb */ color: rgb(29, 56, 155);
/* oklch */ color: oklch(39.0% 0.164 266.5);
Tailwind
colors: {
  custom: {
    50: '#706eb9',
    500: '#1d389b',
    950: '#000000',
  },
}
SCSS
$custom: #1d389b;
$custom-light: #706eb9;
$custom-dark: #000000;
JSON
{
  "hex": "#1d389b",
  "rgb": {
    "r": 29,
    "g": 56,
    "b": 155
  },
  "hsl": {
    "h": 227.143,
    "s": 68.478,
    "l": 36.078
  },
  "oklch": {
    "l": 0.39,
    "c": 0.16416,
    "h": 266.5
  },
  "luminance": 0.05456
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1D389B

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

Preview Lab → · Contrast checker → · Palette generator →

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