#1D2D4C#1D2D4C

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

Color values

HEX#1D2D4C
RGBrgb(29, 45, 76)
HSLhsl(220, 45%, 21%)
HSVhsv(220, 62%, 30%)
CMYKcmyk(61.8%, 40.8%, 0%, 70.2%)
CIE-LABlab(18.63, 4.23, -21.19)
CIE-LCHlch(18.63, 21.61, 281.29°)
OKLaboklab(29.98% -0.0078 -0.06)
OKLCHoklch(29.98% 0.06 262.6)
XYZxyz(2.7491, 2.6596, 7.2046)
Luminance0.0266 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2D4C #4C3C1D
analogous
#1D444C #1D2D4C #241D4C
triadic
#1D2D4C #4C1D2D #2D4C1D
tetradic
#1D2D4C #4C1D44 #4C3C1D #1D4C24
square
#1D2D4C #4C1D44 #4C3C1D #1D4C24
split-complementary
#1D2D4C #4C241D #444C1D
monochromatic
#080D16 #0C1320 #1D2D4C #2E4778 #3F61A5

Accessibility & contrast

On white

13.71
#1D2D4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D2D4C
13.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2D4C#FFFFFF#000000##FFFFFF
##1D2D4C1.0013.711.5313.71
#FFFFFF13.711.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20304D
Deuteranopia (green-blind)
#1A2B4B
Tritanopia (blue-blind)
#023438
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #1d2d4c;
/* rgb */ color: rgb(29, 45, 76);
/* oklch */ color: oklch(30.0% 0.060 262.6);
Tailwind
colors: {
  custom: {
    50: '#5d657e',
    500: '#1d2d4c',
    950: '#000000',
  },
}
SCSS
$custom: #1d2d4c;
$custom-light: #5d657e;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2d4c",
  "rgb": {
    "r": 29,
    "g": 45,
    "b": 76
  },
  "hsl": {
    "h": 219.574,
    "s": 44.762,
    "l": 20.588
  },
  "oklch": {
    "l": 0.29983,
    "c": 0.06048,
    "h": 262.6
  },
  "luminance": 0.0266
}

Semantic roles & 50–950 ramp

primary
#1D2D4C
secondary
#816C44
accent
#A953D4
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04050A
muted
#797A7C

Preview Lab

Preview with #1D2D4C

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

Preview Lab → · Contrast checker → · Palette generator →

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