#1D366E#1D366E

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

Color values

HEX#1D366E
RGBrgb(29, 54, 110)
HSLhsl(221, 58%, 27%)
HSVhsv(221, 74%, 43%)
CMYKcmyk(73.6%, 50.9%, 0%, 56.9%)
CIE-LABlab(23.75, 11.38, -35.39)
CIE-LCHlch(23.75, 37.18, 287.82°)
OKLaboklab(34.66% -0.011 -0.1015)
OKLCHoklch(34.66% 0.102 263.8)
XYZxyz(4.6393, 4.0249, 15.2812)
Luminance0.0403 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D366E #6E551D
analogous
#1D5F6E #1D366E #2C1D6E
triadic
#1D366E #6E1D36 #366E1D
tetradic
#1D366E #6E1D5F #6E551D #1D6E2C
square
#1D366E #6E1D5F #6E551D #1D6E2C
split-complementary
#1D366E #6E2C1D #5F6E1D
monochromatic
#060C18 #101E3E #1D366E #2A4E9E #3A67CB

Accessibility & contrast

On white

11.63
#1D366E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D366E
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D366E#FFFFFF#000000##FFFFFF
##1D366E1.0011.631.8111.63
#FFFFFF11.631.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#173C70
Deuteranopia (green-blind)
#02356D
Tritanopia (blue-blind)
#00434C
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #1d366e;
/* rgb */ color: rgb(29, 54, 110);
/* oklch */ color: oklch(34.7% 0.102 263.8);
Tailwind
colors: {
  custom: {
    50: '#646c98',
    500: '#1d366e',
    950: '#000000',
  },
}
SCSS
$custom: #1d366e;
$custom-light: #646c98;
$custom-dark: #000000;
JSON
{
  "hex": "#1d366e",
  "rgb": {
    "r": 29,
    "g": 54,
    "b": 110
  },
  "hsl": {
    "h": 221.481,
    "s": 58.273,
    "l": 27.255
  },
  "oklch": {
    "l": 0.34662,
    "c": 0.10212,
    "h": 263.8
  },
  "luminance": 0.04025
}

Semantic roles & 50–950 ramp

primary
#1D366E
secondary
#A28544
accent
#B246E1
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #1D366E

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

Preview Lab → · Contrast checker → · Palette generator →

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