#1D387D#1D387D

#1D387D is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.3% C 0.122 H 264.8°. Best body text is #FFFFFF at 10.97:1 contrast (WCAG AA passes).

Color values

HEX#1D387D
RGBrgb(29, 56, 125)
HSLhsl(223, 62%, 30%)
HSVhsv(223, 77%, 49%)
CMYKcmyk(76.8%, 55.2%, 0%, 51%)
CIE-LABlab(25.47, 16.05, -42.16)
CIE-LCHlch(25.47, 45.11, 290.84°)
OKLaboklab(36.33% -0.011 -0.1214)
OKLCHoklch(36.33% 0.122 264.8)
XYZxyz(5.6212, 4.5696, 19.9838)
Luminance0.0457 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D387D #7D621D
analogous
#1D687D #1D387D #321D7D
triadic
#1D387D #7D1D38 #387D1D
tetradic
#1D387D #7D1D68 #7D621D #1D7D32
square
#1D387D #7D1D68 #7D621D #1D7D32
split-complementary
#1D387D #7D321D #687D1D
monochromatic
#060B1A #11224B #1D387D #294EAF #416AD3

Accessibility & contrast

On white

10.97
#1D387D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D387D
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D387D#FFFFFF#000000##FFFFFF
##1D387D1.0010.971.9110.97
#FFFFFF10.971.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#05417F
Deuteranopia (green-blind)
#00387C
Tritanopia (blue-blind)
#004954
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #1d387d;
/* rgb */ color: rgb(29, 56, 125);
/* oklch */ color: oklch(36.3% 0.122 264.8);
Tailwind
colors: {
  custom: {
    50: '#686ea3',
    500: '#1d387d',
    950: '#000000',
  },
}
SCSS
$custom: #1d387d;
$custom-light: #686ea3;
$custom-dark: #000000;
JSON
{
  "hex": "#1d387d",
  "rgb": {
    "r": 29,
    "g": 56,
    "b": 125
  },
  "hsl": {
    "h": 223.125,
    "s": 62.338,
    "l": 30.196
  },
  "oklch": {
    "l": 0.36325,
    "c": 0.12188,
    "h": 264.8
  },
  "luminance": 0.0457
}

Semantic roles & 50–950 ramp

primary
#1D387D
secondary
#B19245
accent
#B842E5
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #1D387D

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

Preview Lab → · Contrast checker → · Palette generator →

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