#1D387A#1D387A

#1D387A is a dark, moderate blue. Relative luminance 0.045; OKLCH L 36.1% C 0.117 H 264.5°. Best body text is #FFFFFF at 11.06:1 contrast (WCAG AA passes).

Color values

HEX#1D387A
RGBrgb(29, 56, 122)
HSLhsl(223, 62%, 30%)
HSVhsv(223, 76%, 48%)
CMYKcmyk(76.2%, 54.1%, 0%, 52.2%)
CIE-LABlab(25.24, 14.83, -40.64)
CIE-LCHlch(25.24, 43.26, 290.05°)
OKLaboklab(36.08% -0.0113 -0.1169)
OKLCHoklch(36.08% 0.117 264.5)
XYZxyz(5.4325, 4.4941, 18.9897)
Luminance0.0449 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D387A #7A5F1D
analogous
#1D667A #1D387A #311D7A
triadic
#1D387A #7A1D38 #387A1D
tetradic
#1D387A #7A1D66 #7A5F1D #1D7A31
square
#1D387A #7A1D66 #7A5F1D #1D7A31
split-complementary
#1D387A #7A311D #667A1D
monochromatic
#060B19 #112149 #1D387A #294FAB #406AD2

Accessibility & contrast

On white

11.06
#1D387A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#1D387A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D387A
11.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D387A#FFFFFF#000000##FFFFFF
##1D387A1.0011.061.9011.06
#FFFFFF11.061.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C407C
Deuteranopia (green-blind)
#003879
Tritanopia (blue-blind)
#004853
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #1d387a;
/* rgb */ color: rgb(29, 56, 122);
/* oklch */ color: oklch(36.1% 0.117 264.5);
Tailwind
colors: {
  custom: {
    50: '#676ea1',
    500: '#1d387a',
    950: '#000000',
  },
}
SCSS
$custom: #1d387a;
$custom-light: #676ea1;
$custom-dark: #000000;
JSON
{
  "hex": "#1d387a",
  "rgb": {
    "r": 29,
    "g": 56,
    "b": 122
  },
  "hsl": {
    "h": 222.581,
    "s": 61.589,
    "l": 29.608
  },
  "oklch": {
    "l": 0.36078,
    "c": 0.11746,
    "h": 264.5
  },
  "luminance": 0.04495
}

Semantic roles & 50–950 ramp

primary
#1D387A
secondary
#AE8F45
accent
#B643E5
background
#F6F6FA
surface
#EBEBF3
border
#C6C6CD
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #1D387A

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

Preview Lab → · Contrast checker → · Palette generator →

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