#1D2B56#1D2B56

#1D2B56 is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.2% C 0.080 H 267.9°. Best body text is #FFFFFF at 13.71:1 contrast (WCAG AA passes).

Color values

HEX#1D2B56
RGBrgb(29, 43, 86)
HSLhsl(225, 50%, 23%)
HSVhsv(225, 66%, 34%)
CMYKcmyk(66.3%, 50%, 0%, 66.3%)
CIE-LABlab(18.63, 9.62, -27.91)
CIE-LCHlch(18.63, 29.52, 289.01°)
OKLaboklab(30.2% -0.003 -0.0797)
OKLCHoklch(30.2% 0.08 267.9)
XYZxyz(3.0497, 2.6606, 9.1551)
Luminance0.0266 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2B56 #56481D
analogous
#1D4856 #1D2B56 #2B1D56
triadic
#1D2B56 #561D2B #2B561D
tetradic
#1D2B56 #561D48 #56481D #1D562B
square
#1D2B56 #561D48 #56481D #1D562B
split-complementary
#1D2B56 #562B1D #48561D
monochromatic
#080B17 #0E1428 #1D2B56 #2C4284 #3C59B2

Accessibility & contrast

On white

13.71
#1D2B56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#1D2B56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2B56
13.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2B56#FFFFFF#000000##FFFFFF
##1D2B561.0013.711.5313.71
#FFFFFF13.711.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#163058
Deuteranopia (green-blind)
#0D2B55
Tritanopia (blue-blind)
#00353C
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #1d2b56;
/* rgb */ color: rgb(29, 43, 86);
/* oklch */ color: oklch(30.2% 0.080 267.9);
Tailwind
colors: {
  custom: {
    50: '#5f6386',
    500: '#1d2b56',
    950: '#000000',
  },
}
SCSS
$custom: #1d2b56;
$custom-light: #5f6386;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2b56",
  "rgb": {
    "r": 29,
    "g": 43,
    "b": 86
  },
  "hsl": {
    "h": 225.263,
    "s": 49.565,
    "l": 22.549
  },
  "oklch": {
    "l": 0.30198,
    "c": 0.07976,
    "h": 267.9
  },
  "luminance": 0.02661
}

Semantic roles & 50–950 ramp

primary
#1D2B56
secondary
#8B7A44
accent
#B74FD9
background
#F5F5F8
surface
#EAEAEF
border
#C6C6CA
text
#05050B
muted
#79797C

Preview Lab

Preview with #1D2B56

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

Preview Lab → · Contrast checker → · Palette generator →

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