#1D366B#1D366B

#1D366B is a dark, moderate blue. Relative luminance 0.040; OKLCH L 34.4% C 0.098 H 263.2°. Best body text is #FFFFFF at 11.72:1 contrast (WCAG AA passes).

Color values

HEX#1D366B
RGBrgb(29, 54, 107)
HSLhsl(221, 57%, 27%)
HSVhsv(221, 73%, 42%)
CMYKcmyk(72.9%, 49.5%, 0%, 58%)
CIE-LABlab(23.54, 10.16, -33.81)
CIE-LCHlch(23.54, 35.30, 286.73°)
OKLaboklab(34.43% -0.0115 -0.0968)
OKLCHoklch(34.43% 0.098 263.2)
XYZxyz(4.4788, 3.9606, 14.4355)
Luminance0.0396 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D366B #6B521D
analogous
#1D5D6B #1D366B #2B1D6B
triadic
#1D366B #6B1D36 #366B1D
tetradic
#1D366B #6B1D5D #6B521D #1D6B2B
square
#1D366B #6B1D5D #6B521D #1D6B2B
split-complementary
#1D366B #6B2B1D #5D6B1D
monochromatic
#070C18 #101E3B #1D366B #2A4E9B #3967C9

Accessibility & contrast

On white

11.72
#1D366B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#1D366B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D366B
11.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D366B#FFFFFF#000000##FFFFFF
##1D366B1.0011.721.7911.72
#FFFFFF11.721.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A3C6D
Deuteranopia (green-blind)
#09356A
Tritanopia (blue-blind)
#00424B
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #1d366b;
/* rgb */ color: rgb(29, 54, 107);
/* oklch */ color: oklch(34.4% 0.098 263.2);
Tailwind
colors: {
  custom: {
    50: '#646c96',
    500: '#1d366b',
    950: '#000000',
  },
}
SCSS
$custom: #1d366b;
$custom-light: #646c96;
$custom-dark: #000000;
JSON
{
  "hex": "#1d366b",
  "rgb": {
    "r": 29,
    "g": 54,
    "b": 107
  },
  "hsl": {
    "h": 220.769,
    "s": 57.353,
    "l": 26.667
  },
  "oklch": {
    "l": 0.34431,
    "c": 0.09753,
    "h": 263.2
  },
  "luminance": 0.03961
}

Semantic roles & 50–950 ramp

primary
#1D366B
secondary
#A08244
accent
#AF47E1
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060D
muted
#7A7A7E

Preview Lab

Preview with #1D366B

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

Preview Lab → · Contrast checker → · Palette generator →

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