#1D2C5E#1D2C5E

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

Color values

HEX#1D2C5E
RGBrgb(29, 44, 94)
HSLhsl(226, 53%, 24%)
HSVhsv(226, 69%, 37%)
CMYKcmyk(69.1%, 53.2%, 0%, 63.1%)
CIE-LABlab(19.52, 12.09, -31.80)
CIE-LCHlch(19.52, 34.02, 290.82°)
OKLaboklab(31.06% -0.0029 -0.0911)
OKLCHoklch(31.06% 0.091 268.2)
XYZxyz(3.4271, 2.8704, 10.9609)
Luminance0.0287 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2C5E #5E4F1D
analogous
#1D4D5E #1D2C5E #2F1D5E
triadic
#1D2C5E #5E1D2C #2C5E1D
tetradic
#1D2C5E #5E1D4D #5E4F1D #1D5E2F
square
#1D2C5E #5E1D4D #5E4F1D #1D5E2F
split-complementary
#1D2C5E #5E2F1D #4D5E1D
monochromatic
#070B17 #0F162F #1D2C5E #2B428D #3A58BC

Accessibility & contrast

On white

13.34
#1D2C5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#1D2C5E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2C5E
13.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2C5E#FFFFFF#000000##FFFFFF
##1D2C5E1.0013.341.5713.34
#FFFFFF13.341.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#113260
Deuteranopia (green-blind)
#022C5D
Tritanopia (blue-blind)
#003840
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #1d2c5e;
/* rgb */ color: rgb(29, 44, 94);
/* oklch */ color: oklch(31.1% 0.091 268.2);
Tailwind
colors: {
  custom: {
    50: '#61648c',
    500: '#1d2c5e',
    950: '#000000',
  },
}
SCSS
$custom: #1d2c5e;
$custom-light: #61648c;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2c5e",
  "rgb": {
    "r": 29,
    "g": 44,
    "b": 94
  },
  "hsl": {
    "h": 226.154,
    "s": 52.846,
    "l": 24.118
  },
  "oklch": {
    "l": 0.31059,
    "c": 0.09117,
    "h": 268.2
  },
  "luminance": 0.02871
}

Semantic roles & 50–950 ramp

primary
#1D2C5E
secondary
#938144
accent
#BB4CDC
background
#F6F5F8
surface
#EBEAF0
border
#C6C6CB
text
#05050C
muted
#7A797D

Preview Lab

Preview with #1D2C5E

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

Preview Lab → · Contrast checker → · Palette generator →

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