#1D2C7A#1D2C7A

#1D2C7A is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.5% C 0.133 H 269.3°. Best body text is #FFFFFF at 12.40:1 contrast (WCAG AA passes).

Color values

HEX#1D2C7A
RGBrgb(29, 44, 122)
HSLhsl(230, 62%, 30%)
HSVhsv(230, 76%, 48%)
CMYKcmyk(76.2%, 63.9%, 0%, 52.2%)
CIE-LABlab(21.83, 23.29, -46.19)
CIE-LCHlch(21.83, 51.73, 296.76°)
OKLaboklab(33.52% -0.0015 -0.1334)
OKLCHoklch(33.52% 0.133 269.3)
XYZxyz(4.9190, 3.4672, 18.8186)
Luminance0.0347 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2C7A #7A6B1D
analogous
#1D5A7A #1D2C7A #3D1D7A
triadic
#1D2C7A #7A1D2C #2C7A1D
tetradic
#1D2C7A #7A1D5A #7A6B1D #1D7A3D
square
#1D2C7A #7A1D5A #7A6B1D #1D7A3D
split-complementary
#1D2C7A #7A3D1D #5A7A1D
monochromatic
#060919 #111A49 #1D2C7A #293EAB #4057D2

Accessibility & contrast

On white

12.40
#1D2C7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#1D2C7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2C7A
12.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2C7A#FFFFFF#000000##FFFFFF
##1D2C7A1.0012.401.6912.40
#FFFFFF12.401.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397D
Deuteranopia (green-blind)
#003078
Tritanopia (blue-blind)
#00404E
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1d2c7a;
/* rgb */ color: rgb(29, 44, 122);
/* oklch */ color: oklch(33.5% 0.133 269.3);
Tailwind
colors: {
  custom: {
    50: '#6865a1',
    500: '#1d2c7a',
    950: '#000000',
  },
}
SCSS
$custom: #1d2c7a;
$custom-light: #6865a1;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2c7a",
  "rgb": {
    "r": 29,
    "g": 44,
    "b": 122
  },
  "hsl": {
    "h": 230.323,
    "s": 61.589,
    "l": 29.608
  },
  "oklch": {
    "l": 0.33516,
    "c": 0.13343,
    "h": 269.3
  },
  "luminance": 0.03468
}

Semantic roles & 50–950 ramp

primary
#1D2C7A
secondary
#AE9D45
accent
#CB43E5
background
#F6F6FA
surface
#EBEBF3
border
#C6C6CD
text
#07050F
muted
#7A7A7F

Preview Lab

Preview with #1D2C7A

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

Preview Lab → · Contrast checker → · Palette generator →

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