#1D366F#1D366F

#1D366F is a dark, moderate blue. Relative luminance 0.040; OKLCH L 34.7% C 0.104 H 264.0°. Best body text is #FFFFFF at 11.61:1 contrast (WCAG AA passes).

Color values

HEX#1D366F
RGBrgb(29, 54, 111)
HSLhsl(222, 59%, 27%)
HSVhsv(222, 74%, 44%)
CMYKcmyk(73.9%, 51.4%, 0%, 56.5%)
CIE-LABlab(23.83, 11.78, -35.92)
CIE-LCHlch(23.83, 37.80, 288.16°)
OKLaboklab(34.74% -0.0109 -0.1031)
OKLCHoklch(34.74% 0.104 264)
XYZxyz(4.6941, 4.0468, 15.5696)
Luminance0.0405 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D366F #6F561D
analogous
#1D5F6F #1D366F #2D1D6F
triadic
#1D366F #6F1D36 #366F1D
tetradic
#1D366F #6F1D5F #6F561D #1D6F2D
square
#1D366F #6F1D5F #6F561D #1D6F2D
split-complementary
#1D366F #6F2D1D #5F6F1D
monochromatic
#060C18 #101E3E #1D366F #2A4EA0 #3B67CC

Accessibility & contrast

On white

11.61
#1D366F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#1D366F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D366F
11.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D366F#FFFFFF#000000##FFFFFF
##1D366F1.0011.611.8111.61
#FFFFFF11.611.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#163D71
Deuteranopia (green-blind)
#00356E
Tritanopia (blue-blind)
#00434D
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #1d366f;
/* rgb */ color: rgb(29, 54, 111);
/* oklch */ color: oklch(34.7% 0.104 264.0);
Tailwind
colors: {
  custom: {
    50: '#656c99',
    500: '#1d366f',
    950: '#000000',
  },
}
SCSS
$custom: #1d366f;
$custom-light: #656c99;
$custom-dark: #000000;
JSON
{
  "hex": "#1d366f",
  "rgb": {
    "r": 29,
    "g": 54,
    "b": 111
  },
  "hsl": {
    "h": 221.707,
    "s": 58.571,
    "l": 27.451
  },
  "oklch": {
    "l": 0.3474,
    "c": 0.10364,
    "h": 264
  },
  "luminance": 0.04047
}

Semantic roles & 50–950 ramp

primary
#1D366F
secondary
#A38644
accent
#B246E2
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #1D366F

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

Preview Lab → · Contrast checker → · Palette generator →

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