#1D336F#1D336F

#1D336F is a dark, moderate blue. Relative luminance 0.038; OKLCH L 34.0% C 0.108 H 265.8°. Best body text is #FFFFFF at 11.96:1 contrast (WCAG AA passes).

Color values

HEX#1D336F
RGBrgb(29, 51, 111)
HSLhsl(224, 59%, 27%)
HSVhsv(224, 74%, 44%)
CMYKcmyk(73.9%, 54.1%, 0%, 56.5%)
CIE-LABlab(22.92, 13.92, -37.39)
CIE-LCHlch(22.92, 39.89, 290.42°)
OKLaboklab(34.05% -0.008 -0.1074)
OKLCHoklch(34.05% 0.108 265.8)
XYZxyz(4.5588, 3.7761, 15.5245)
Luminance0.0378 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D336F #6F591D
analogous
#1D5C6F #1D336F #301D6F
triadic
#1D336F #6F1D33 #336F1D
tetradic
#1D336F #6F1D5C #6F591D #1D6F30
square
#1D336F #6F1D5C #6F591D #1D6F30
split-complementary
#1D336F #6F301D #5C6F1D
monochromatic
#060B18 #101D3E #1D336F #2A49A0 #3B62CC

Accessibility & contrast

On white

11.96
#1D336F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#1D336F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D336F
11.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D336F#FFFFFF#000000##FFFFFF
##1D336F1.0011.961.7611.96
#FFFFFF11.961.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D3B71
Deuteranopia (green-blind)
#00336E
Tritanopia (blue-blind)
#00414B
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1d336f;
/* rgb */ color: rgb(29, 51, 111);
/* oklch */ color: oklch(34.0% 0.108 265.8);
Tailwind
colors: {
  custom: {
    50: '#656a99',
    500: '#1d336f',
    950: '#000000',
  },
}
SCSS
$custom: #1d336f;
$custom-light: #656a99;
$custom-dark: #000000;
JSON
{
  "hex": "#1d336f",
  "rgb": {
    "r": 29,
    "g": 51,
    "b": 111
  },
  "hsl": {
    "h": 223.902,
    "s": 58.571,
    "l": 27.451
  },
  "oklch": {
    "l": 0.34048,
    "c": 0.10774,
    "h": 265.8
  },
  "luminance": 0.03777
}

Semantic roles & 50–950 ramp

primary
#1D336F
secondary
#A38A44
accent
#B846E2
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #1D336F

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

Preview Lab → · Contrast checker → · Palette generator →

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