#1D345B#1D345B

#1D345B is a dark, moderate blue. Relative luminance 0.035; OKLCH L 32.8% C 0.075 H 260.3°. Best body text is #FFFFFF at 12.39:1 contrast (WCAG AA passes).

Color values

HEX#1D345B
RGBrgb(29, 52, 91)
HSLhsl(218, 52%, 24%)
HSVhsv(218, 68%, 36%)
CMYKcmyk(68.1%, 42.9%, 0%, 64.3%)
CIE-LABlab(21.84, 5.14, -26.10)
CIE-LCHlch(21.84, 26.60, 281.15°)
OKLaboklab(32.78% -0.0126 -0.0742)
OKLCHoklch(32.78% 0.075 260.3)
XYZxyz(3.6223, 3.4722, 10.3748)
Luminance0.0347 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D345B #5B441D
analogous
#1D535B #1D345B #251D5B
triadic
#1D345B #5B1D34 #345B1D
tetradic
#1D345B #5B1D53 #5B441D #1D5B25
square
#1D345B #5B1D53 #5B441D #1D5B25
split-complementary
#1D345B #5B251D #535B1D
monochromatic
#070D17 #0E192D #1D345B #2C4F89 #3B69B8

Accessibility & contrast

On white

12.39
#1D345B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D345B
12.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D345B#FFFFFF#000000##FFFFFF
##1D345B1.0012.391.6912.39
#FFFFFF12.391.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23375D
Deuteranopia (green-blind)
#1A325A
Tritanopia (blue-blind)
#003D43
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1d345b;
/* rgb */ color: rgb(29, 52, 91);
/* oklch */ color: oklch(32.8% 0.075 260.3);
Tailwind
colors: {
  custom: {
    50: '#606b89',
    500: '#1d345b',
    950: '#000000',
  },
}
SCSS
$custom: #1d345b;
$custom-light: #606b89;
$custom-dark: #000000;
JSON
{
  "hex": "#1d345b",
  "rgb": {
    "r": 29,
    "g": 52,
    "b": 91
  },
  "hsl": {
    "h": 217.742,
    "s": 51.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.32779,
    "c": 0.07532,
    "h": 260.3
  },
  "luminance": 0.03473
}

Semantic roles & 50–950 ramp

primary
#1D345B
secondary
#907444
accent
#A64DDB
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05060B
muted
#797A7C

Preview Lab

Preview with #1D345B

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

Preview Lab → · Contrast checker → · Palette generator →

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