#1D385F#1D385F

#1D385F is a dark, moderate blue. Relative luminance 0.039; OKLCH L 34.1% C 0.076 H 257.7°. Best body text is #FFFFFF at 11.78:1 contrast (WCAG AA passes).

Color values

HEX#1D385F
RGBrgb(29, 56, 95)
HSLhsl(215, 53%, 24%)
HSVhsv(215, 69%, 37%)
CMYKcmyk(69.5%, 41.1%, 0%, 62.7%)
CIE-LABlab(23.39, 3.93, -26.27)
CIE-LCHlch(23.39, 26.56, 278.50°)
OKLaboklab(34.06% -0.0163 -0.0747)
OKLCHoklch(34.06% 0.076 257.7)
XYZxyz(3.9857, 3.9154, 11.3700)
Luminance0.0392 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D385F #5F441D
analogous
#1D595F #1D385F #231D5F
triadic
#1D385F #5F1D38 #385F1D
tetradic
#1D385F #5F1D59 #5F441D #1D5F23
square
#1D385F #5F1D59 #5F441D #1D5F23
split-complementary
#1D385F #5F231D #595F1D
monochromatic
#070E17 #0F1C30 #1D385F #2B548E #3A6FBD

Accessibility & contrast

On white

11.78
#1D385F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#1D385F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D385F
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D385F#FFFFFF#000000##FFFFFF
##1D385F1.0011.781.7811.78
#FFFFFF11.781.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#273B61
Deuteranopia (green-blind)
#1D355E
Tritanopia (blue-blind)
#004147
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #1d385f;
/* rgb */ color: rgb(29, 56, 95);
/* oklch */ color: oklch(34.1% 0.076 257.7);
Tailwind
colors: {
  custom: {
    50: '#616e8c',
    500: '#1d385f',
    950: '#000000',
  },
}
SCSS
$custom: #1d385f;
$custom-light: #616e8c;
$custom-dark: #000000;
JSON
{
  "hex": "#1d385f",
  "rgb": {
    "r": 29,
    "g": 56,
    "b": 95
  },
  "hsl": {
    "h": 215.455,
    "s": 53.226,
    "l": 24.314
  },
  "oklch": {
    "l": 0.34059,
    "c": 0.07644,
    "h": 257.7
  },
  "luminance": 0.03916
}

Semantic roles & 50–950 ramp

primary
#1D385F
secondary
#947344
accent
#A14BDD
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#05070C
muted
#7A7A7D

Preview Lab

Preview with #1D385F

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

Preview Lab → · Contrast checker → · Palette generator →

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