#1D2D5D#1D2D5D

#1D2D5D is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.2% C 0.088 H 267.3°. Best body text is #FFFFFF at 13.24:1 contrast (WCAG AA passes).

Color values

HEX#1D2D5D
RGBrgb(29, 45, 93)
HSLhsl(225, 52%, 24%)
HSVhsv(225, 69%, 36%)
CMYKcmyk(68.8%, 51.6%, 0%, 63.5%)
CIE-LABlab(19.75, 10.96, -30.76)
CIE-LCHlch(19.75, 32.66, 289.62°)
OKLaboklab(31.22% -0.0042 -0.088)
OKLCHoklch(31.22% 0.088 267.3)
XYZxyz(3.4202, 2.9280, 10.7387)
Luminance0.0293 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2D5D #5D4D1D
analogous
#1D4D5D #1D2D5D #2D1D5D
triadic
#1D2D5D #5D1D2D #2D5D1D
tetradic
#1D2D5D #5D1D4D #5D4D1D #1D5D2D
square
#1D2D5D #5D1D4D #5D4D1D #1D5D2D
split-complementary
#1D2D5D #5D2D1D #4D5D1D
monochromatic
#070B17 #0E162E #1D2D5D #2C448C #3A5ABA

Accessibility & contrast

On white

13.24
#1D2D5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#1D2D5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2D5D
13.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2D5D#FFFFFF#000000##FFFFFF
##1D2D5D1.0013.241.5913.24
#FFFFFF13.241.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14335F
Deuteranopia (green-blind)
#072D5C
Tritanopia (blue-blind)
#003840
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1d2d5d;
/* rgb */ color: rgb(29, 45, 93);
/* oklch */ color: oklch(31.2% 0.088 267.3);
Tailwind
colors: {
  custom: {
    50: '#61658b',
    500: '#1d2d5d',
    950: '#000000',
  },
}
SCSS
$custom: #1d2d5d;
$custom-light: #61658b;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2d5d",
  "rgb": {
    "r": 29,
    "g": 45,
    "b": 93
  },
  "hsl": {
    "h": 225,
    "s": 52.459,
    "l": 23.922
  },
  "oklch": {
    "l": 0.31215,
    "c": 0.08815,
    "h": 267.3
  },
  "luminance": 0.02928
}

Semantic roles & 50–950 ramp

primary
#1D2D5D
secondary
#927F44
accent
#B84CDC
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#05050C
muted
#7A7A7D

Preview Lab

Preview with #1D2D5D

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

Preview Lab → · Contrast checker → · Palette generator →

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