#1D2D5B#1D2D5B

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

Color values

HEX#1D2D5B
RGBrgb(29, 45, 91)
HSLhsl(225, 52%, 24%)
HSVhsv(225, 68%, 36%)
CMYKcmyk(68.1%, 50.5%, 0%, 64.3%)
CIE-LABlab(19.61, 10.16, -29.67)
CIE-LCHlch(19.61, 31.36, 288.91°)
OKLaboklab(31.06% -0.0045 -0.0848)
OKLCHoklch(31.06% 0.085 267)
XYZxyz(3.3328, 2.8930, 10.2783)
Luminance0.0289 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2D5B #5B4B1D
analogous
#1D4C5B #1D2D5B #2C1D5B
triadic
#1D2D5B #5B1D2D #2D5B1D
tetradic
#1D2D5B #5B1D4C #5B4B1D #1D5B2C
square
#1D2D5B #5B1D4C #5B4B1D #1D5B2C
split-complementary
#1D2D5B #5B2C1D #4C5B1D
monochromatic
#070B17 #0E162D #1D2D5B #2C4489 #3B5BB8

Accessibility & contrast

On white

13.30
#1D2D5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D2D5B
13.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2D5B#FFFFFF#000000##FFFFFF
##1D2D5B1.0013.301.5813.30
#FFFFFF13.301.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16325D
Deuteranopia (green-blind)
#0B2D5A
Tritanopia (blue-blind)
#00383F
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #1d2d5b;
/* rgb */ color: rgb(29, 45, 91);
/* oklch */ color: oklch(31.1% 0.085 267.0);
Tailwind
colors: {
  custom: {
    50: '#60658a',
    500: '#1d2d5b',
    950: '#000000',
  },
}
SCSS
$custom: #1d2d5b;
$custom-light: #60658a;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2d5b",
  "rgb": {
    "r": 29,
    "g": 45,
    "b": 91
  },
  "hsl": {
    "h": 224.516,
    "s": 51.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.3106,
    "c": 0.08495,
    "h": 267
  },
  "luminance": 0.02893
}

Semantic roles & 50–950 ramp

primary
#1D2D5B
secondary
#907C44
accent
#B64DDB
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05050B
muted
#797A7C

Preview Lab

Preview with #1D2D5B

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

Preview Lab → · Contrast checker → · Palette generator →

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