#1D2D7D#1D2D7D

#1D2D7D is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.0% C 0.136 H 269.0°. Best body text is #FFFFFF at 12.18:1 contrast (WCAG AA passes).

Color values

HEX#1D2D7D
RGBrgb(29, 45, 125)
HSLhsl(230, 62%, 30%)
HSVhsv(230, 77%, 49%)
CMYKcmyk(76.8%, 64%, 0%, 51%)
CIE-LABlab(22.37, 23.77, -47.21)
CIE-LCHlch(22.37, 52.86, 296.73°)
OKLaboklab(34% -0.0023 -0.1364)
OKLCHoklch(34% 0.136 269)
XYZxyz(5.1455, 3.6181, 19.8252)
Luminance0.0362 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2D7D #7D6D1D
analogous
#1D5D7D #1D2D7D #3D1D7D
triadic
#1D2D7D #7D1D2D #2D7D1D
tetradic
#1D2D7D #7D1D5D #7D6D1D #1D7D3D
square
#1D2D7D #7D1D5D #7D6D1D #1D7D3D
split-complementary
#1D2D7D #7D3D1D #5D7D1D
monochromatic
#06091A #111B4B #1D2D7D #293FAF #415AD3

Accessibility & contrast

On white

12.18
#1D2D7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#1D2D7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2D7D
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2D7D#FFFFFF#000000##FFFFFF
##1D2D7D1.0012.181.7212.18
#FFFFFF12.181.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A80
Deuteranopia (green-blind)
#00317B
Tritanopia (blue-blind)
#004250
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1d2d7d;
/* rgb */ color: rgb(29, 45, 125);
/* oklch */ color: oklch(34.0% 0.136 269.0);
Tailwind
colors: {
  custom: {
    50: '#6965a3',
    500: '#1d2d7d',
    950: '#000000',
  },
}
SCSS
$custom: #1d2d7d;
$custom-light: #6965a3;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2d7d",
  "rgb": {
    "r": 29,
    "g": 45,
    "b": 125
  },
  "hsl": {
    "h": 230,
    "s": 62.338,
    "l": 30.196
  },
  "oklch": {
    "l": 0.34,
    "c": 0.13641,
    "h": 269
  },
  "luminance": 0.03619
}

Semantic roles & 50–950 ramp

primary
#1D2D7D
secondary
#B19F45
accent
#CA42E5
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07050F
muted
#7A7A7F

Preview Lab

Preview with #1D2D7D

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

Preview Lab → · Contrast checker → · Palette generator →

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