#1D325F#1D325F

#1D325F is a dark, moderate blue. Relative luminance 0.034; OKLCH L 32.6% C 0.084 H 263.6°. Best body text is #FFFFFF at 12.55:1 contrast (WCAG AA passes).

Color values

HEX#1D325F
RGBrgb(29, 50, 95)
HSLhsl(221, 53%, 24%)
HSVhsv(221, 69%, 37%)
CMYKcmyk(69.5%, 47.4%, 0%, 62.7%)
CIE-LABlab(21.46, 8.17, -29.34)
CIE-LCHlch(21.46, 30.45, 285.55°)
OKLaboklab(32.57% -0.0094 -0.0838)
OKLCHoklch(32.57% 0.084 263.6)
XYZxyz(3.7121, 3.3683, 11.2788)
Luminance0.0337 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D325F #5F4A1D
analogous
#1D535F #1D325F #291D5F
triadic
#1D325F #5F1D32 #325F1D
tetradic
#1D325F #5F1D53 #5F4A1D #1D5F29
square
#1D325F #5F1D53 #5F4A1D #1D5F29
split-complementary
#1D325F #5F291D #535F1D
monochromatic
#070C17 #0F1930 #1D325F #2B4B8E #3A63BD

Accessibility & contrast

On white

12.55
#1D325F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#1D325F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D325F
12.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D325F#FFFFFF#000000##FFFFFF
##1D325F1.0012.551.6712.55
#FFFFFF12.551.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D3761
Deuteranopia (green-blind)
#12315E
Tritanopia (blue-blind)
#003C43
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #1d325f;
/* rgb */ color: rgb(29, 50, 95);
/* oklch */ color: oklch(32.6% 0.084 263.6);
Tailwind
colors: {
  custom: {
    50: '#61698d',
    500: '#1d325f',
    950: '#000000',
  },
}
SCSS
$custom: #1d325f;
$custom-light: #61698d;
$custom-dark: #000000;
JSON
{
  "hex": "#1d325f",
  "rgb": {
    "r": 29,
    "g": 50,
    "b": 95
  },
  "hsl": {
    "h": 220.909,
    "s": 53.226,
    "l": 24.314
  },
  "oklch": {
    "l": 0.32569,
    "c": 0.08431,
    "h": 263.6
  },
  "luminance": 0.03369
}

Semantic roles & 50–950 ramp

primary
#1D325F
secondary
#947B44
accent
#AE4BDD
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#05060C
muted
#7A7A7D

Preview Lab

Preview with #1D325F

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

Preview Lab → · Contrast checker → · Palette generator →

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