#1D345E#1D345E

#1D345E is a dark, moderate blue. Relative luminance 0.035; OKLCH L 33.0% C 0.080 H 261.4°. Best body text is #FFFFFF at 12.32:1 contrast (WCAG AA passes).

Color values

HEX#1D345E
RGBrgb(29, 52, 94)
HSLhsl(219, 53%, 24%)
HSVhsv(219, 69%, 37%)
CMYKcmyk(69.1%, 44.7%, 0%, 63.1%)
CIE-LABlab(22.03, 6.34, -27.77)
CIE-LCHlch(22.03, 28.48, 282.86°)
OKLaboklab(32.99% -0.0119 -0.0791)
OKLCHoklch(32.99% 0.08 261.4)
XYZxyz(3.7544, 3.5250, 11.0700)
Luminance0.0352 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D345E #5E471D
analogous
#1D555E #1D345E #271D5E
triadic
#1D345E #5E1D34 #345E1D
tetradic
#1D345E #5E1D55 #5E471D #1D5E27
square
#1D345E #5E1D55 #5E471D #1D5E27
split-complementary
#1D345E #5E271D #555E1D
monochromatic
#070D17 #0F1A2F #1D345E #2B4E8D #3A68BC

Accessibility & contrast

On white

12.32
#1D345E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#1D345E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D345E
12.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D345E#FFFFFF#000000##FFFFFF
##1D345E1.0012.321.7012.32
#FFFFFF12.321.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#213860
Deuteranopia (green-blind)
#17325D
Tritanopia (blue-blind)
#003E44
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1d345e;
/* rgb */ color: rgb(29, 52, 94);
/* oklch */ color: oklch(33.0% 0.080 261.4);
Tailwind
colors: {
  custom: {
    50: '#616b8c',
    500: '#1d345e',
    950: '#000000',
  },
}
SCSS
$custom: #1d345e;
$custom-light: #616b8c;
$custom-dark: #000000;
JSON
{
  "hex": "#1d345e",
  "rgb": {
    "r": 29,
    "g": 52,
    "b": 94
  },
  "hsl": {
    "h": 218.769,
    "s": 52.846,
    "l": 24.118
  },
  "oklch": {
    "l": 0.32988,
    "c": 0.08003,
    "h": 261.4
  },
  "luminance": 0.03525
}

Semantic roles & 50–950 ramp

primary
#1D345E
secondary
#937744
accent
#A94CDC
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05060C
muted
#797A7D

Preview Lab

Preview with #1D345E

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

Preview Lab → · Contrast checker → · Palette generator →

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