#1D326C#1D326C

#1D326C is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.6% C 0.105 H 266.0°. Best body text is #FFFFFF at 12.17:1 contrast (WCAG AA passes).

Color values

HEX#1D326C
RGBrgb(29, 50, 108)
HSLhsl(224, 58%, 27%)
HSVhsv(224, 73%, 42%)
CMYKcmyk(73.1%, 53.7%, 0%, 57.6%)
CIE-LABlab(22.39, 13.42, -36.31)
CIE-LCHlch(22.39, 38.71, 290.28°)
OKLaboklab(33.58% -0.0074 -0.1043)
OKLCHoklch(33.58% 0.105 266)
XYZxyz(4.3531, 3.6247, 14.6547)
Luminance0.0362 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D326C #6C571D
analogous
#1D5A6C #1D326C #301D6C
triadic
#1D326C #6C1D32 #326C1D
tetradic
#1D326C #6C1D5A #6C571D #1D6C30
square
#1D326C #6C1D5A #6C571D #1D6C30
split-complementary
#1D326C #6C301D #5A6C1D
monochromatic
#060B18 #101C3C #1D326C #2A489C #3960CA

Accessibility & contrast

On white

12.17
#1D326C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D326C
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D326C#FFFFFF#000000##FFFFFF
##1D326C1.0012.171.7312.17
#FFFFFF12.171.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F396E
Deuteranopia (green-blind)
#00326B
Tritanopia (blue-blind)
#00404A
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1d326c;
/* rgb */ color: rgb(29, 50, 108);
/* oklch */ color: oklch(33.6% 0.105 266.0);
Tailwind
colors: {
  custom: {
    50: '#646996',
    500: '#1d326c',
    950: '#000000',
  },
}
SCSS
$custom: #1d326c;
$custom-light: #646996;
$custom-dark: #000000;
JSON
{
  "hex": "#1d326c",
  "rgb": {
    "r": 29,
    "g": 50,
    "b": 108
  },
  "hsl": {
    "h": 224.051,
    "s": 57.664,
    "l": 26.863
  },
  "oklch": {
    "l": 0.33575,
    "c": 0.10454,
    "h": 266
  },
  "luminance": 0.03625
}

Semantic roles & 50–950 ramp

primary
#1D326C
secondary
#A18844
accent
#B847E1
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060D
muted
#7A7A7E

Preview Lab

Preview with #1D326C

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

Preview Lab → · Contrast checker → · Palette generator →

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