#1D336D#1D336D

#1D336D is a dark, moderate blue. Relative luminance 0.037; OKLCH L 33.9% C 0.105 H 265.5°. Best body text is #FFFFFF at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#1D336D
RGBrgb(29, 51, 109)
HSLhsl(224, 58%, 27%)
HSVhsv(224, 73%, 43%)
CMYKcmyk(73.4%, 53.2%, 0%, 57.3%)
CIE-LABlab(22.77, 13.11, -36.34)
CIE-LCHlch(22.77, 38.63, 289.84°)
OKLaboklab(33.89% -0.0082 -0.1044)
OKLCHoklch(33.89% 0.105 265.5)
XYZxyz(4.4499, 3.7325, 14.9510)
Luminance0.0373 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D336D #6D571D
analogous
#1D5B6D #1D336D #2F1D6D
triadic
#1D336D #6D1D33 #336D1D
tetradic
#1D336D #6D1D5B #6D571D #1D6D2F
square
#1D336D #6D1D5B #6D571D #1D6D2F
split-complementary
#1D336D #6D2F1D #5B6D1D
monochromatic
#060B18 #101C3D #1D336D #2A4A9D #3A62CB

Accessibility & contrast

On white

12.02
#1D336D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#1D336D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D336D
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D336D#FFFFFF#000000##FFFFFF
##1D336D1.0012.021.7512.02
#FFFFFF12.021.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#103A6F
Deuteranopia (green-blind)
#00336C
Tritanopia (blue-blind)
#00414B
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1d336d;
/* rgb */ color: rgb(29, 51, 109);
/* oklch */ color: oklch(33.9% 0.105 265.5);
Tailwind
colors: {
  custom: {
    50: '#646a97',
    500: '#1d336d',
    950: '#000000',
  },
}
SCSS
$custom: #1d336d;
$custom-light: #646a97;
$custom-dark: #000000;
JSON
{
  "hex": "#1d336d",
  "rgb": {
    "r": 29,
    "g": 51,
    "b": 109
  },
  "hsl": {
    "h": 223.5,
    "s": 57.971,
    "l": 27.059
  },
  "oklch": {
    "l": 0.33886,
    "c": 0.10468,
    "h": 265.5
  },
  "luminance": 0.03733
}

Semantic roles & 50–950 ramp

primary
#1D336D
secondary
#A28844
accent
#B747E1
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060D
muted
#7A7A7E

Preview Lab

Preview with #1D336D

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

Preview Lab → · Contrast checker → · Palette generator →

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