#1D387C#1D387C

#1D387C is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.2% C 0.120 H 264.7°. Best body text is #FFFFFF at 11.00:1 contrast (WCAG AA passes).

Color values

HEX#1D387C
RGBrgb(29, 56, 124)
HSLhsl(223, 62%, 30%)
HSVhsv(223, 77%, 49%)
CMYKcmyk(76.6%, 54.8%, 0%, 51.4%)
CIE-LABlab(25.39, 15.64, -41.65)
CIE-LCHlch(25.39, 44.49, 290.59°)
OKLaboklab(36.24% -0.0111 -0.1199)
OKLCHoklch(36.24% 0.12 264.7)
XYZxyz(5.5577, 4.5442, 19.6491)
Luminance0.0454 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D387C #7C611D
analogous
#1D687C #1D387C #311D7C
triadic
#1D387C #7C1D38 #387C1D
tetradic
#1D387C #7C1D68 #7C611D #1D7C31
square
#1D387C #7C1D68 #7C611D #1D7C31
split-complementary
#1D387C #7C311D #687C1D
monochromatic
#060B19 #11224A #1D387C #294EAE #416AD3

Accessibility & contrast

On white

11.00
#1D387C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#1D387C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D387C
11.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D387C#FFFFFF#000000##FFFFFF
##1D387C1.0011.001.9111.00
#FFFFFF11.001.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#07417E
Deuteranopia (green-blind)
#00387B
Tritanopia (blue-blind)
#004854
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #1d387c;
/* rgb */ color: rgb(29, 56, 124);
/* oklch */ color: oklch(36.2% 0.120 264.7);
Tailwind
colors: {
  custom: {
    50: '#686ea2',
    500: '#1d387c',
    950: '#000000',
  },
}
SCSS
$custom: #1d387c;
$custom-light: #686ea2;
$custom-dark: #000000;
JSON
{
  "hex": "#1d387c",
  "rgb": {
    "r": 29,
    "g": 56,
    "b": 124
  },
  "hsl": {
    "h": 222.947,
    "s": 62.092,
    "l": 30
  },
  "oklch": {
    "l": 0.36242,
    "c": 0.12041,
    "h": 264.7
  },
  "luminance": 0.04545
}

Semantic roles & 50–950 ramp

primary
#1D387C
secondary
#B09145
accent
#B743E5
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #1D387C

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

Preview Lab → · Contrast checker → · Palette generator →

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