#1D2D54#1D2D54

#1D2D54 is a dark, moderate blue. Relative luminance 0.028; OKLCH L 30.5% C 0.074 H 265.5°. Best body text is #FFFFFF at 13.50:1 contrast (WCAG AA passes).

Color values

HEX#1D2D54
RGBrgb(29, 45, 84)
HSLhsl(223, 49%, 22%)
HSVhsv(223, 65%, 33%)
CMYKcmyk(65.5%, 46.4%, 0%, 67.1%)
CIE-LABlab(19.13, 7.37, -25.77)
CIE-LCHlch(19.13, 26.81, 285.96°)
OKLaboklab(30.54% -0.0058 -0.0734)
OKLCHoklch(30.54% 0.074 265.5)
XYZxyz(3.0448, 2.7778, 8.7615)
Luminance0.0278 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2D54 #54441D
analogous
#1D4954 #1D2D54 #281D54
triadic
#1D2D54 #541D2D #2D541D
tetradic
#1D2D54 #541D49 #54441D #1D5428
square
#1D2D54 #541D49 #54441D #1D5428
split-complementary
#1D2D54 #54281D #49541D
monochromatic
#080C17 #0D1527 #1D2D54 #2D4581 #3C5EAF

Accessibility & contrast

On white

13.50
#1D2D54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#1D2D54 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2D54
13.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2D54#FFFFFF#000000##FFFFFF
##1D2D541.0013.501.5613.50
#FFFFFF13.501.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C3156
Deuteranopia (green-blind)
#142C53
Tritanopia (blue-blind)
#00363C
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1d2d54;
/* rgb */ color: rgb(29, 45, 84);
/* oklch */ color: oklch(30.5% 0.074 265.5);
Tailwind
colors: {
  custom: {
    50: '#5f6584',
    500: '#1d2d54',
    950: '#000000',
  },
}
SCSS
$custom: #1d2d54;
$custom-light: #5f6584;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2d54",
  "rgb": {
    "r": 29,
    "g": 45,
    "b": 84
  },
  "hsl": {
    "h": 222.545,
    "s": 48.673,
    "l": 22.157
  },
  "oklch": {
    "l": 0.30538,
    "c": 0.07362,
    "h": 265.5
  },
  "luminance": 0.02778
}

Semantic roles & 50–950 ramp

primary
#1D2D54
secondary
#897544
accent
#B050D8
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#05050B
muted
#797A7C

Preview Lab

Preview with #1D2D54

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

Preview Lab → · Contrast checker → · Palette generator →

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