#1D2D4D#1D2D4D

#1D2D4D is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.0% C 0.062 H 263.1°. Best body text is #FFFFFF at 13.68:1 contrast (WCAG AA passes).

Color values

HEX#1D2D4D
RGBrgb(29, 45, 77)
HSLhsl(220, 45%, 21%)
HSVhsv(220, 62%, 30%)
CMYKcmyk(62.3%, 41.6%, 0%, 69.8%)
CIE-LABlab(18.69, 4.62, -21.77)
CIE-LCHlch(18.69, 22.26, 281.98°)
OKLaboklab(30.05% -0.0075 -0.0617)
OKLCHoklch(30.05% 0.062 263.1)
XYZxyz(2.7842, 2.6736, 7.3891)
Luminance0.0267 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2D4D #4D3D1D
analogous
#1D454D #1D2D4D #251D4D
triadic
#1D2D4D #4D1D2D #2D4D1D
tetradic
#1D2D4D #4D1D45 #4D3D1D #1D4D25
square
#1D2D4D #4D1D45 #4D3D1D #1D4D25
split-complementary
#1D2D4D #4D251D #454D1D
monochromatic
#080D16 #0C1321 #1D2D4D #2E4779 #3E61A6

Accessibility & contrast

On white

13.68
#1D2D4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#1D2D4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2D4D
13.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2D4D#FFFFFF#000000##FFFFFF
##1D2D4D1.0013.681.5313.68
#FFFFFF13.681.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20304E
Deuteranopia (green-blind)
#1A2B4C
Tritanopia (blue-blind)
#003439
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #1d2d4d;
/* rgb */ color: rgb(29, 45, 77);
/* oklch */ color: oklch(30.0% 0.062 263.1);
Tailwind
colors: {
  custom: {
    50: '#5d657f',
    500: '#1d2d4d',
    950: '#000000',
  },
}
SCSS
$custom: #1d2d4d;
$custom-light: #5d657f;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2d4d",
  "rgb": {
    "r": 29,
    "g": 45,
    "b": 77
  },
  "hsl": {
    "h": 220,
    "s": 45.283,
    "l": 20.784
  },
  "oklch": {
    "l": 0.3005,
    "c": 0.06214,
    "h": 263.1
  },
  "luminance": 0.02674
}

Semantic roles & 50–950 ramp

primary
#1D2D4D
secondary
#826D44
accent
#AA53D5
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04050A
muted
#797A7C

Preview Lab

Preview with #1D2D4D

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

Preview Lab → · Contrast checker → · Palette generator →

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