#1D2C7F#1D2C7F

#1D2C7F is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.0% C 0.141 H 269.3°. Best body text is #FFFFFF at 12.22:1 contrast (WCAG AA passes).

Color values

HEX#1D2C7F
RGBrgb(29, 44, 127)
HSLhsl(231, 63%, 31%)
HSVhsv(231, 77%, 50%)
CMYKcmyk(77.2%, 65.4%, 0%, 50.2%)
CIE-LABlab(22.28, 25.25, -48.61)
CIE-LCHlch(22.28, 54.78, 297.45°)
OKLaboklab(33.99% -0.0017 -0.1405)
OKLCHoklch(33.99% 0.141 269.3)
XYZxyz(5.2368, 3.5943, 20.4923)
Luminance0.0360 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2C7F #7F701D
analogous
#1D5D7F #1D2C7F #3F1D7F
triadic
#1D2C7F #7F1D2C #2C7F1D
tetradic
#1D2C7F #7F1D5D #7F701D #1D7F3F
square
#1D2C7F #7F1D5D #7F701D #1D7F3F
split-complementary
#1D2C7F #7F3F1D #5D7F1D
monochromatic
#06091B #121B4D #1D2C7F #283DB1 #4259D4

Accessibility & contrast

On white

12.22
#1D2C7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#1D2C7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2C7F
12.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2C7F#FFFFFF#000000##FFFFFF
##1D2C7F1.0012.221.7212.22
#FFFFFF12.221.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A82
Deuteranopia (green-blind)
#00317D
Tritanopia (blue-blind)
#004251
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1d2c7f;
/* rgb */ color: rgb(29, 44, 127);
/* oklch */ color: oklch(34.0% 0.141 269.3);
Tailwind
colors: {
  custom: {
    50: '#6965a5',
    500: '#1d2c7f',
    950: '#000000',
  },
}
SCSS
$custom: #1d2c7f;
$custom-light: #6965a5;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2c7f",
  "rgb": {
    "r": 29,
    "g": 44,
    "b": 127
  },
  "hsl": {
    "h": 230.816,
    "s": 62.821,
    "l": 30.588
  },
  "oklch": {
    "l": 0.33994,
    "c": 0.14053,
    "h": 269.3
  },
  "luminance": 0.03595
}

Semantic roles & 50–950 ramp

primary
#1D2C7F
secondary
#B2A245
accent
#CD42E6
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07050F
muted
#7A7A7F

Preview Lab

Preview with #1D2C7F

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

Preview Lab → · Contrast checker → · Palette generator →

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