#1D326D#1D326D

#1D326D is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.7% C 0.106 H 266.1°. Best body text is #FFFFFF at 12.14:1 contrast (WCAG AA passes).

Color values

HEX#1D326D
RGBrgb(29, 50, 109)
HSLhsl(224, 58%, 27%)
HSVhsv(224, 73%, 43%)
CMYKcmyk(73.4%, 54.1%, 0%, 57.3%)
CIE-LABlab(22.47, 13.82, -36.83)
CIE-LCHlch(22.47, 39.34, 290.58°)
OKLaboklab(33.66% -0.0072 -0.1058)
OKLCHoklch(33.66% 0.106 266.1)
XYZxyz(4.4067, 3.6461, 14.9366)
Luminance0.0365 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D326D #6D581D
analogous
#1D5A6D #1D326D #301D6D
triadic
#1D326D #6D1D32 #326D1D
tetradic
#1D326D #6D1D5A #6D581D #1D6D30
square
#1D326D #6D1D5A #6D581D #1D6D30
split-complementary
#1D326D #6D301D #5A6D1D
monochromatic
#060B18 #101C3D #1D326D #2A489D #3A60CB

Accessibility & contrast

On white

12.14
#1D326D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D326D
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D326D#FFFFFF#000000##FFFFFF
##1D326D1.0012.141.7312.14
#FFFFFF12.141.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.141.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1d326d;
/* rgb */ color: rgb(29, 50, 109);
/* oklch */ color: oklch(33.7% 0.106 266.1);
Tailwind
colors: {
  custom: {
    50: '#646997',
    500: '#1d326d',
    950: '#000000',
  },
}
SCSS
$custom: #1d326d;
$custom-light: #646997;
$custom-dark: #000000;
JSON
{
  "hex": "#1d326d",
  "rgb": {
    "r": 29,
    "g": 50,
    "b": 109
  },
  "hsl": {
    "h": 224.25,
    "s": 57.971,
    "l": 27.059
  },
  "oklch": {
    "l": 0.33657,
    "c": 0.10606,
    "h": 266.1
  },
  "luminance": 0.03647
}

Semantic roles & 50–950 ramp

primary
#1D326D
secondary
#A28944
accent
#B947E1
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060D
muted
#7A7A7E

Preview Lab

Preview with #1D326D

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

Preview Lab → · Contrast checker → · Palette generator →

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