#1D2F56#1D2F56

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

Color values

HEX#1D2F56
RGBrgb(29, 47, 86)
HSLhsl(221, 50%, 23%)
HSVhsv(221, 66%, 34%)
CMYKcmyk(66.3%, 45.3%, 0%, 66.3%)
CIE-LABlab(19.91, 6.72, -25.87)
CIE-LCHlch(19.91, 26.73, 284.56°)
OKLaboklab(31.18% -0.0078 -0.0736)
OKLCHoklch(31.18% 0.074 263.9)
XYZxyz(3.2023, 2.9658, 9.2060)
Luminance0.0297 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2F56 #56441D
analogous
#1D4B56 #1D2F56 #281D56
triadic
#1D2F56 #561D2F #2F561D
tetradic
#1D2F56 #561D4B #56441D #1D5628
square
#1D2F56 #561D4B #56441D #1D5628
split-complementary
#1D2F56 #56281D #4B561D
monochromatic
#080D17 #0E1628 #1D2F56 #2C4884 #3C61B2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1D2F56#FFFFFF#000000##FFFFFF
##1D2F561.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)
#1E3358
Deuteranopia (green-blind)
#162E55
Tritanopia (blue-blind)
#00383E
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1d2f56;
/* rgb */ color: rgb(29, 47, 86);
/* oklch */ color: oklch(31.2% 0.074 263.9);
Tailwind
colors: {
  custom: {
    50: '#5f6786',
    500: '#1d2f56',
    950: '#000000',
  },
}
SCSS
$custom: #1d2f56;
$custom-light: #5f6786;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2f56",
  "rgb": {
    "r": 29,
    "g": 47,
    "b": 86
  },
  "hsl": {
    "h": 221.053,
    "s": 49.565,
    "l": 22.549
  },
  "oklch": {
    "l": 0.31178,
    "c": 0.07406,
    "h": 263.9
  },
  "luminance": 0.02966
}

Semantic roles & 50–950 ramp

primary
#1D2F56
secondary
#8B7544
accent
#AD4FD9
background
#F5F6F8
surface
#EAEBEF
border
#C6C6CA
text
#05060B
muted
#797A7C

Preview Lab

Preview with #1D2F56

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

Preview Lab → · Contrast checker → · Palette generator →

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