#1D2D5E#1D2D5E

#1D2D5E is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.3% C 0.090 H 267.4°. Best body text is #FFFFFF at 13.21:1 contrast (WCAG AA passes).

Color values

HEX#1D2D5E
RGBrgb(29, 45, 94)
HSLhsl(225, 53%, 24%)
HSVhsv(225, 69%, 37%)
CMYKcmyk(69.1%, 52.1%, 0%, 63.1%)
CIE-LABlab(19.83, 11.37, -31.31)
CIE-LCHlch(19.83, 33.30, 289.96°)
OKLaboklab(31.29% -0.004 -0.0896)
OKLCHoklch(31.29% 0.09 267.4)
XYZxyz(3.4648, 2.9458, 10.9735)
Luminance0.0295 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2D5E #5E4E1D
analogous
#1D4E5E #1D2D5E #2E1D5E
triadic
#1D2D5E #5E1D2D #2D5E1D
tetradic
#1D2D5E #5E1D4E #5E4E1D #1D5E2E
square
#1D2D5E #5E1D4E #5E4E1D #1D5E2E
split-complementary
#1D2D5E #5E2E1D #4E5E1D
monochromatic
#070B17 #0F172F #1D2D5E #2B438D #3A5ABC

Accessibility & contrast

On white

13.21
#1D2D5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D2D5E
13.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2D5E#FFFFFF#000000##FFFFFF
##1D2D5E1.0013.211.5913.21
#FFFFFF13.211.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#133360
Deuteranopia (green-blind)
#052D5D
Tritanopia (blue-blind)
#003841
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1d2d5e;
/* rgb */ color: rgb(29, 45, 94);
/* oklch */ color: oklch(31.3% 0.090 267.4);
Tailwind
colors: {
  custom: {
    50: '#61658c',
    500: '#1d2d5e',
    950: '#000000',
  },
}
SCSS
$custom: #1d2d5e;
$custom-light: #61658c;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2d5e",
  "rgb": {
    "r": 29,
    "g": 45,
    "b": 94
  },
  "hsl": {
    "h": 225.231,
    "s": 52.846,
    "l": 24.118
  },
  "oklch": {
    "l": 0.31294,
    "c": 0.08974,
    "h": 267.4
  },
  "luminance": 0.02946
}

Semantic roles & 50–950 ramp

primary
#1D2D5E
secondary
#938044
accent
#B94CDC
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#05050C
muted
#7A7A7D

Preview Lab

Preview with #1D2D5E

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

Preview Lab → · Contrast checker → · Palette generator →

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