#1D345A#1D345A

#1D345A is a dark, moderate blue. Relative luminance 0.035; OKLCH L 32.7% C 0.074 H 259.9°. Best body text is #FFFFFF at 12.42:1 contrast (WCAG AA passes).

Color values

HEX#1D345A
RGBrgb(29, 52, 90)
HSLhsl(217, 51%, 23%)
HSVhsv(217, 68%, 35%)
CMYKcmyk(67.8%, 42.2%, 0%, 64.7%)
CIE-LABlab(21.78, 4.75, -25.54)
CIE-LCHlch(21.78, 25.98, 280.53°)
OKLaboklab(32.71% -0.0129 -0.0726)
OKLCHoklch(32.71% 0.074 259.9)
XYZxyz(3.5795, 3.4550, 10.1491)
Luminance0.0345 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D345A #5A431D
analogous
#1D525A #1D345A #241D5A
triadic
#1D345A #5A1D34 #345A1D
tetradic
#1D345A #5A1D52 #5A431D #1D5A24
square
#1D345A #5A1D52 #5A431D #1D5A24
split-complementary
#1D345A #5A241D #525A1D
monochromatic
#070D17 #0E192C #1D345A #2C4F88 #3B69B7

Accessibility & contrast

On white

12.42
#1D345A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#1D345A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D345A
12.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D345A#FFFFFF#000000##FFFFFF
##1D345A1.0012.421.6912.42
#FFFFFF12.421.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23375C
Deuteranopia (green-blind)
#1B3259
Tritanopia (blue-blind)
#003D42
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1d345a;
/* rgb */ color: rgb(29, 52, 90);
/* oklch */ color: oklch(32.7% 0.074 259.9);
Tailwind
colors: {
  custom: {
    50: '#606b89',
    500: '#1d345a',
    950: '#000000',
  },
}
SCSS
$custom: #1d345a;
$custom-light: #606b89;
$custom-dark: #000000;
JSON
{
  "hex": "#1d345a",
  "rgb": {
    "r": 29,
    "g": 52,
    "b": 90
  },
  "hsl": {
    "h": 217.377,
    "s": 51.261,
    "l": 23.333
  },
  "oklch": {
    "l": 0.3271,
    "c": 0.07375,
    "h": 259.9
  },
  "luminance": 0.03455
}

Semantic roles & 50–950 ramp

primary
#1D345A
secondary
#8F7344
accent
#A54DDB
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05060B
muted
#797A7C

Preview Lab

Preview with #1D345A

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

Preview Lab → · Contrast checker → · Palette generator →

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