#1D2C70#1D2C70

#1D2C70 is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.6% C 0.119 H 269.3°. Best body text is #FFFFFF at 12.76:1 contrast (WCAG AA passes).

Color values

HEX#1D2C70
RGBrgb(29, 44, 112)
HSLhsl(229, 59%, 28%)
HSVhsv(229, 74%, 44%)
CMYKcmyk(74.1%, 60.7%, 0%, 56.1%)
CIE-LABlab(20.95, 19.32, -41.22)
CIE-LCHlch(20.95, 45.52, 295.12°)
OKLaboklab(32.59% -0.0015 -0.1188)
OKLCHoklch(32.59% 0.119 269.3)
XYZxyz(4.3310, 3.2320, 15.7217)
Luminance0.0323 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2C70 #70611D
analogous
#1D5570 #1D2C70 #381D70
triadic
#1D2C70 #701D2C #2C701D
tetradic
#1D2C70 #701D55 #70611D #1D7038
square
#1D2C70 #701D55 #70611D #1D7038
split-complementary
#1D2C70 #70381D #55701D
monochromatic
#060A18 #10193F #1D2C70 #2A3FA1 #3B55CC

Accessibility & contrast

On white

12.76
#1D2C70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#1D2C70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2C70
12.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2C70#FFFFFF#000000##FFFFFF
##1D2C701.0012.761.6512.76
#FFFFFF12.761.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003672
Deuteranopia (green-blind)
#002F6F
Tritanopia (blue-blind)
#003D49
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1d2c70;
/* rgb */ color: rgb(29, 44, 112);
/* oklch */ color: oklch(32.6% 0.119 269.3);
Tailwind
colors: {
  custom: {
    50: '#65649a',
    500: '#1d2c70',
    950: '#000000',
  },
}
SCSS
$custom: #1d2c70;
$custom-light: #65649a;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2c70",
  "rgb": {
    "r": 29,
    "g": 44,
    "b": 112
  },
  "hsl": {
    "h": 229.157,
    "s": 58.865,
    "l": 27.647
  },
  "oklch": {
    "l": 0.32592,
    "c": 0.11883,
    "h": 269.3
  },
  "luminance": 0.03232
}

Semantic roles & 50–950 ramp

primary
#1D2C70
secondary
#A49344
accent
#C646E2
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050E
muted
#7A7A7E

Preview Lab

Preview with #1D2C70

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

Preview Lab → · Contrast checker → · Palette generator →

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