#1D2D5F#1D2D5F

#1D2D5F is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.4% C 0.091 H 267.6°. Best body text is #FFFFFF at 13.18:1 contrast (WCAG AA passes).

Color values

HEX#1D2D5F
RGBrgb(29, 45, 95)
HSLhsl(225, 53%, 24%)
HSVhsv(225, 69%, 37%)
CMYKcmyk(69.5%, 52.6%, 0%, 62.7%)
CIE-LABlab(19.90, 11.77, -31.85)
CIE-LCHlch(19.90, 33.95, 290.28°)
OKLaboklab(31.37% -0.0039 -0.0912)
OKLCHoklch(31.37% 0.091 267.6)
XYZxyz(3.5099, 2.9639, 11.2114)
Luminance0.0296 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2D5F #5F4F1D
analogous
#1D4E5F #1D2D5F #2E1D5F
triadic
#1D2D5F #5F1D2D #2D5F1D
tetradic
#1D2D5F #5F1D4E #5F4F1D #1D5F2E
square
#1D2D5F #5F1D4E #5F4F1D #1D5F2E
split-complementary
#1D2D5F #5F2E1D #4E5F1D
monochromatic
#070B17 #0F1730 #1D2D5F #2B438E #3A59BD

Accessibility & contrast

On white

13.18
#1D2D5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D2D5F
13.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2D5F#FFFFFF#000000##FFFFFF
##1D2D5F1.0013.181.5913.18
#FFFFFF13.181.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#123361
Deuteranopia (green-blind)
#032D5E
Tritanopia (blue-blind)
#003941
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1d2d5f;
/* rgb */ color: rgb(29, 45, 95);
/* oklch */ color: oklch(31.4% 0.091 267.6);
Tailwind
colors: {
  custom: {
    50: '#61658d',
    500: '#1d2d5f',
    950: '#000000',
  },
}
SCSS
$custom: #1d2d5f;
$custom-light: #61658d;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2d5f",
  "rgb": {
    "r": 29,
    "g": 45,
    "b": 95
  },
  "hsl": {
    "h": 225.455,
    "s": 53.226,
    "l": 24.314
  },
  "oklch": {
    "l": 0.31373,
    "c": 0.09132,
    "h": 267.6
  },
  "luminance": 0.02964
}

Semantic roles & 50–950 ramp

primary
#1D2D5F
secondary
#948144
accent
#B94BDD
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#05050C
muted
#7A7A7D

Preview Lab

Preview with #1D2D5F

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

Preview Lab → · Contrast checker → · Palette generator →

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