#1D2D5C#1D2D5C

#1D2D5C is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.1% C 0.087 H 267.1°. Best body text is #FFFFFF at 13.27:1 contrast (WCAG AA passes).

Color values

HEX#1D2D5C
RGBrgb(29, 45, 92)
HSLhsl(225, 52%, 24%)
HSVhsv(225, 68%, 36%)
CMYKcmyk(68.5%, 51.1%, 0%, 63.9%)
CIE-LABlab(19.68, 10.56, -30.22)
CIE-LCHlch(19.68, 32.01, 289.27°)
OKLaboklab(31.14% -0.0043 -0.0864)
OKLCHoklch(31.14% 0.087 267.1)
XYZxyz(3.3762, 2.9104, 10.5070)
Luminance0.0291 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2D5C #5C4C1D
analogous
#1D4C5C #1D2D5C #2C1D5C
triadic
#1D2D5C #5C1D2D #2D5C1D
tetradic
#1D2D5C #5C1D4C #5C4C1D #1D5C2C
square
#1D2D5C #5C1D4C #5C4C1D #1D5C2C
split-complementary
#1D2D5C #5C2C1D #4C5C1D
monochromatic
#070B17 #0E162D #1D2D5C #2C448B #3A5BB9

Accessibility & contrast

On white

13.27
#1D2D5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#1D2D5C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2D5C
13.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2D5C#FFFFFF#000000##FFFFFF
##1D2D5C1.0013.271.5813.27
#FFFFFF13.271.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15335E
Deuteranopia (green-blind)
#092D5B
Tritanopia (blue-blind)
#003840
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1d2d5c;
/* rgb */ color: rgb(29, 45, 92);
/* oklch */ color: oklch(31.1% 0.087 267.1);
Tailwind
colors: {
  custom: {
    50: '#61658a',
    500: '#1d2d5c',
    950: '#000000',
  },
}
SCSS
$custom: #1d2d5c;
$custom-light: #61658a;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2d5c",
  "rgb": {
    "r": 29,
    "g": 45,
    "b": 92
  },
  "hsl": {
    "h": 224.762,
    "s": 52.066,
    "l": 23.725
  },
  "oklch": {
    "l": 0.31137,
    "c": 0.08655,
    "h": 267.1
  },
  "luminance": 0.02911
}

Semantic roles & 50–950 ramp

primary
#1D2D5C
secondary
#917D44
accent
#B74CDC
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05050C
muted
#797A7D

Preview Lab

Preview with #1D2D5C

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

Preview Lab → · Contrast checker → · Palette generator →

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