#1D293C#1D293C

#1D293C is a dark, muted blue. Relative luminance 0.022; OKLCH L 27.9% C 0.039 H 259.4°. Best body text is #FFFFFF at 14.64:1 contrast (WCAG AA passes).

Color values

HEX#1D293C
RGBrgb(29, 41, 60)
HSLhsl(217, 35%, 17%)
HSVhsv(217, 52%, 24%)
CMYKcmyk(51.7%, 31.7%, 0%, 76.5%)
CIE-LABlab(16.37, 1.10, -13.75)
CIE-LCHlch(16.37, 13.80, 274.59°)
OKLaboklab(27.93% -0.0072 -0.0384)
OKLCHoklch(27.93% 0.039 259.4)
XYZxyz(2.1150, 2.1732, 4.5821)
Luminance0.0217 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D293C #3C301D
analogous
#1D393C #1D293C #211D3C
triadic
#1D293C #3C1D29 #293C1D
tetradic
#1D293C #3C1D39 #3C301D #1D3C21
square
#1D293C #3C1D39 #3C301D #1D3C21
split-complementary
#1D293C #3C211D #393C1D
monochromatic
#0A0E15 #0A0E15 #1D293C #314565 #45618F

Accessibility & contrast

On white

14.64
#1D293C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#1D293C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D293C
14.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D293C#FFFFFF#000000##FFFFFF
##1D293C1.0014.641.4314.64
#FFFFFF14.641.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#222A3D
Deuteranopia (green-blind)
#1E273C
Tritanopia (blue-blind)
#112D30
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #1d293c;
/* rgb */ color: rgb(29, 41, 60);
/* oklch */ color: oklch(27.9% 0.039 259.4);
Tailwind
colors: {
  custom: {
    50: '#5b6271',
    500: '#1d293c',
    950: '#000000',
  },
}
SCSS
$custom: #1d293c;
$custom-light: #5b6271;
$custom-dark: #000000;
JSON
{
  "hex": "#1d293c",
  "rgb": {
    "r": 29,
    "g": 41,
    "b": 60
  },
  "hsl": {
    "h": 216.774,
    "s": 34.831,
    "l": 17.451
  },
  "oklch": {
    "l": 0.27931,
    "c": 0.03909,
    "h": 259.4
  },
  "luminance": 0.02173
}

Semantic roles & 50–950 ramp

primary
#1D293C
secondary
#705F44
accent
#A05DCB
background
#F5F5F6
surface
#E9EAEC
border
#C5C6C7
text
#040507
muted
#79797A

Preview Lab

Preview with #1D293C

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

Preview Lab → · Contrast checker → · Palette generator →

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