#1D365D#1D365D

#1D365D is a dark, moderate blue. Relative luminance 0.037; OKLCH L 33.4% C 0.076 H 259.0°. Best body text is #FFFFFF at 12.08:1 contrast (WCAG AA passes).

Color values

HEX#1D365D
RGBrgb(29, 54, 93)
HSLhsl(217, 52%, 24%)
HSVhsv(217, 69%, 36%)
CMYKcmyk(68.8%, 41.9%, 0%, 63.5%)
CIE-LABlab(22.62, 4.53, -26.19)
CIE-LCHlch(22.62, 26.57, 279.81°)
OKLaboklab(33.42% -0.0145 -0.0745)
OKLCHoklch(33.42% 0.076 259)
XYZxyz(3.8009, 3.6895, 10.8656)
Luminance0.0369 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D365D #5D441D
analogous
#1D565D #1D365D #241D5D
triadic
#1D365D #5D1D36 #365D1D
tetradic
#1D365D #5D1D56 #5D441D #1D5D24
square
#1D365D #5D1D56 #5D441D #1D5D24
split-complementary
#1D365D #5D241D #565D1D
monochromatic
#070E17 #0E1B2E #1D365D #2C518C #3A6CBA

Accessibility & contrast

On white

12.08
#1D365D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#1D365D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D365D
12.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D365D#FFFFFF#000000##FFFFFF
##1D365D1.0012.081.7412.08
#FFFFFF12.081.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25395F
Deuteranopia (green-blind)
#1C335C
Tritanopia (blue-blind)
#003F45
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1d365d;
/* rgb */ color: rgb(29, 54, 93);
/* oklch */ color: oklch(33.4% 0.076 259.0);
Tailwind
colors: {
  custom: {
    50: '#606c8b',
    500: '#1d365d',
    950: '#000000',
  },
}
SCSS
$custom: #1d365d;
$custom-light: #606c8b;
$custom-dark: #000000;
JSON
{
  "hex": "#1d365d",
  "rgb": {
    "r": 29,
    "g": 54,
    "b": 93
  },
  "hsl": {
    "h": 216.563,
    "s": 52.459,
    "l": 23.922
  },
  "oklch": {
    "l": 0.33419,
    "c": 0.07587,
    "h": 259
  },
  "luminance": 0.0369
}

Semantic roles & 50–950 ramp

primary
#1D365D
secondary
#927344
accent
#A44CDC
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05070C
muted
#797A7D

Preview Lab

Preview with #1D365D

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

Preview Lab → · Contrast checker → · Palette generator →

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