#1D325E#1D325E

#1D325E is a dark, moderate blue. Relative luminance 0.034; OKLCH L 32.5% C 0.083 H 263.3°. Best body text is #FFFFFF at 12.57:1 contrast (WCAG AA passes).

Color values

HEX#1D325E
RGBrgb(29, 50, 94)
HSLhsl(221, 53%, 24%)
HSVhsv(221, 69%, 37%)
CMYKcmyk(69.1%, 46.8%, 0%, 63.1%)
CIE-LABlab(21.40, 7.77, -28.79)
CIE-LCHlch(21.40, 29.82, 285.10°)
OKLaboklab(32.5% -0.0096 -0.0822)
OKLCHoklch(32.5% 0.083 263.3)
XYZxyz(3.6670, 3.3502, 11.0409)
Luminance0.0335 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D325E #5E491D
analogous
#1D535E #1D325E #281D5E
triadic
#1D325E #5E1D32 #325E1D
tetradic
#1D325E #5E1D53 #5E491D #1D5E28
square
#1D325E #5E1D53 #5E491D #1D5E28
split-complementary
#1D325E #5E281D #535E1D
monochromatic
#070C17 #0F192F #1D325E #2B4B8D #3A64BC

Accessibility & contrast

On white

12.57
#1D325E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D325E
12.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D325E#FFFFFF#000000##FFFFFF
##1D325E1.0012.571.6712.57
#FFFFFF12.571.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D3760
Deuteranopia (green-blind)
#13315D
Tritanopia (blue-blind)
#003C43
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #1d325e;
/* rgb */ color: rgb(29, 50, 94);
/* oklch */ color: oklch(32.5% 0.083 263.3);
Tailwind
colors: {
  custom: {
    50: '#61698c',
    500: '#1d325e',
    950: '#000000',
  },
}
SCSS
$custom: #1d325e;
$custom-light: #61698c;
$custom-dark: #000000;
JSON
{
  "hex": "#1d325e",
  "rgb": {
    "r": 29,
    "g": 50,
    "b": 94
  },
  "hsl": {
    "h": 220.615,
    "s": 52.846,
    "l": 24.118
  },
  "oklch": {
    "l": 0.32495,
    "c": 0.08273,
    "h": 263.3
  },
  "luminance": 0.03351
}

Semantic roles & 50–950 ramp

primary
#1D325E
secondary
#937944
accent
#AE4CDC
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#05060C
muted
#7A7A7D

Preview Lab

Preview with #1D325E

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

Preview Lab → · Contrast checker → · Palette generator →

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