#1D336A#1D336A

#1D336A is a dark, moderate blue. Relative luminance 0.037; OKLCH L 33.6% C 0.100 H 265.1°. Best body text is #FFFFFF at 12.11:1 contrast (WCAG AA passes).

Color values

HEX#1D336A
RGBrgb(29, 51, 106)
HSLhsl(223, 57%, 26%)
HSVhsv(223, 73%, 42%)
CMYKcmyk(72.6%, 51.9%, 0%, 58.4%)
CIE-LABlab(22.55, 11.89, -34.76)
CIE-LCHlch(22.55, 36.74, 288.89°)
OKLaboklab(33.65% -0.0086 -0.0997)
OKLCHoklch(33.65% 0.1 265.1)
XYZxyz(4.2911, 3.6690, 14.1149)
Luminance0.0367 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D336A #6A541D
analogous
#1D5A6A #1D336A #2E1D6A
triadic
#1D336A #6A1D33 #336A1D
tetradic
#1D336A #6A1D5A #6A541D #1D6A2E
square
#1D336A #6A1D5A #6A541D #1D6A2E
split-complementary
#1D336A #6A2E1D #5A6A1D
monochromatic
#070C18 #101C3A #1D336A #2A4A9A #3962C9

Accessibility & contrast

On white

12.11
#1D336A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#1D336A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D336A
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D336A#FFFFFF#000000##FFFFFF
##1D336A1.0012.111.7312.11
#FFFFFF12.111.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#143A6C
Deuteranopia (green-blind)
#003369
Tritanopia (blue-blind)
#004049
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1d336a;
/* rgb */ color: rgb(29, 51, 106);
/* oklch */ color: oklch(33.6% 0.100 265.1);
Tailwind
colors: {
  custom: {
    50: '#636a95',
    500: '#1d336a',
    950: '#000000',
  },
}
SCSS
$custom: #1d336a;
$custom-light: #636a95;
$custom-dark: #000000;
JSON
{
  "hex": "#1d336a",
  "rgb": {
    "r": 29,
    "g": 51,
    "b": 106
  },
  "hsl": {
    "h": 222.857,
    "s": 57.037,
    "l": 26.471
  },
  "oklch": {
    "l": 0.33647,
    "c": 0.10009,
    "h": 265.1
  },
  "luminance": 0.03669
}

Semantic roles & 50–950 ramp

primary
#1D336A
secondary
#9F8544
accent
#B548E0
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060D
muted
#7A7A7E

Preview Lab

Preview with #1D336A

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

Preview Lab → · Contrast checker → · Palette generator →

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