#1D366C#1D366C

#1D366C is a dark, moderate blue. Relative luminance 0.040; OKLCH L 34.5% C 0.099 H 263.4°. Best body text is #FFFFFF at 11.69:1 contrast (WCAG AA passes).

Color values

HEX#1D366C
RGBrgb(29, 54, 108)
HSLhsl(221, 58%, 27%)
HSVhsv(221, 73%, 42%)
CMYKcmyk(73.1%, 50%, 0%, 57.6%)
CIE-LABlab(23.61, 10.57, -34.34)
CIE-LCHlch(23.61, 35.93, 287.11°)
OKLaboklab(34.51% -0.0113 -0.0984)
OKLCHoklch(34.51% 0.099 263.4)
XYZxyz(4.5317, 3.9818, 14.7142)
Luminance0.0398 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D366C #6C531D
analogous
#1D5E6C #1D366C #2C1D6C
triadic
#1D366C #6C1D36 #366C1D
tetradic
#1D366C #6C1D5E #6C531D #1D6C2C
square
#1D366C #6C1D5E #6C531D #1D6C2C
split-complementary
#1D366C #6C2C1D #5E6C1D
monochromatic
#060C18 #101E3C #1D366C #2A4E9C #3967CA

Accessibility & contrast

On white

11.69
#1D366C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#1D366C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D366C
11.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D366C#FFFFFF#000000##FFFFFF
##1D366C1.0011.691.8011.69
#FFFFFF11.691.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#193C6E
Deuteranopia (green-blind)
#07356B
Tritanopia (blue-blind)
#00434B
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #1d366c;
/* rgb */ color: rgb(29, 54, 108);
/* oklch */ color: oklch(34.5% 0.099 263.4);
Tailwind
colors: {
  custom: {
    50: '#646c96',
    500: '#1d366c',
    950: '#000000',
  },
}
SCSS
$custom: #1d366c;
$custom-light: #646c96;
$custom-dark: #000000;
JSON
{
  "hex": "#1d366c",
  "rgb": {
    "r": 29,
    "g": 54,
    "b": 108
  },
  "hsl": {
    "h": 221.013,
    "s": 57.664,
    "l": 26.863
  },
  "oklch": {
    "l": 0.34507,
    "c": 0.09907,
    "h": 263.4
  },
  "luminance": 0.03982
}

Semantic roles & 50–950 ramp

primary
#1D366C
secondary
#A18344
accent
#B047E1
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060D
muted
#7A7A7E

Preview Lab

Preview with #1D366C

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

Preview Lab → · Contrast checker → · Palette generator →

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