#1D385E#1D385E

#1D385E is a dark, moderate blue. Relative luminance 0.039; OKLCH L 34.0% C 0.075 H 257.2°. Best body text is #FFFFFF at 11.80:1 contrast (WCAG AA passes).

Color values

HEX#1D385E
RGBrgb(29, 56, 94)
HSLhsl(215, 53%, 24%)
HSVhsv(215, 69%, 37%)
CMYKcmyk(69.1%, 40.4%, 0%, 63.1%)
CIE-LABlab(23.33, 3.53, -25.71)
CIE-LCHlch(23.33, 25.95, 277.82°)
OKLaboklab(33.99% -0.0166 -0.073)
OKLCHoklch(33.99% 0.075 257.2)
XYZxyz(3.9405, 3.8973, 11.1321)
Luminance0.0390 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D385E #5E431D
analogous
#1D595E #1D385E #231D5E
triadic
#1D385E #5E1D38 #385E1D
tetradic
#1D385E #5E1D59 #5E431D #1D5E23
square
#1D385E #5E1D59 #5E431D #1D5E23
split-complementary
#1D385E #5E231D #595E1D
monochromatic
#070E17 #0F1C2F #1D385E #2B548D #3A70BC

Accessibility & contrast

On white

11.80
#1D385E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D385E
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D385E#FFFFFF#000000##FFFFFF
##1D385E1.0011.801.7811.80
#FFFFFF11.801.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#273B60
Deuteranopia (green-blind)
#1E355D
Tritanopia (blue-blind)
#004146
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #1d385e;
/* rgb */ color: rgb(29, 56, 94);
/* oklch */ color: oklch(34.0% 0.075 257.2);
Tailwind
colors: {
  custom: {
    50: '#616e8c',
    500: '#1d385e',
    950: '#000000',
  },
}
SCSS
$custom: #1d385e;
$custom-light: #616e8c;
$custom-dark: #000000;
JSON
{
  "hex": "#1d385e",
  "rgb": {
    "r": 29,
    "g": 56,
    "b": 94
  },
  "hsl": {
    "h": 215.077,
    "s": 52.846,
    "l": 24.118
  },
  "oklch": {
    "l": 0.33993,
    "c": 0.07491,
    "h": 257.2
  },
  "luminance": 0.03898
}

Semantic roles & 50–950 ramp

primary
#1D385E
secondary
#937244
accent
#A04CDC
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05070C
muted
#797A7D

Preview Lab

Preview with #1D385E

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

Preview Lab → · Contrast checker → · Palette generator →

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