#1D2C7C#1D2C7C

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

Color values

HEX#1D2C7C
RGBrgb(29, 44, 124)
HSLhsl(231, 62%, 30%)
HSVhsv(231, 77%, 49%)
CMYKcmyk(76.6%, 64.5%, 0%, 51.4%)
CIE-LABlab(22.01, 24.08, -47.16)
CIE-LCHlch(22.01, 52.95, 297.04°)
OKLaboklab(33.71% -0.0016 -0.1363)
OKLCHoklch(33.71% 0.136 269.3)
XYZxyz(5.0442, 3.5173, 19.4779)
Luminance0.0352 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2C7C #7C6D1D
analogous
#1D5C7C #1D2C7C #3D1D7C
triadic
#1D2C7C #7C1D2C #2C7C1D
tetradic
#1D2C7C #7C1D5C #7C6D1D #1D7C3D
square
#1D2C7C #7C1D5C #7C6D1D #1D7C3D
split-complementary
#1D2C7C #7C3D1D #5C7C1D
monochromatic
#060919 #111A4A #1D2C7C #293EAE #4158D3

Accessibility & contrast

On white

12.33
#1D2C7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#1D2C7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2C7C
12.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2C7C#FFFFFF#000000##FFFFFF
##1D2C7C1.0012.331.7012.33
#FFFFFF12.331.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397F
Deuteranopia (green-blind)
#00307A
Tritanopia (blue-blind)
#00414F
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1d2c7c;
/* rgb */ color: rgb(29, 44, 124);
/* oklch */ color: oklch(33.7% 0.136 269.3);
Tailwind
colors: {
  custom: {
    50: '#6965a3',
    500: '#1d2c7c',
    950: '#000000',
  },
}
SCSS
$custom: #1d2c7c;
$custom-light: #6965a3;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2c7c",
  "rgb": {
    "r": 29,
    "g": 44,
    "b": 124
  },
  "hsl": {
    "h": 230.526,
    "s": 62.092,
    "l": 30
  },
  "oklch": {
    "l": 0.33706,
    "c": 0.13628,
    "h": 269.3
  },
  "luminance": 0.03518
}

Semantic roles & 50–950 ramp

primary
#1D2C7C
secondary
#B09F45
accent
#CC43E5
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07050F
muted
#7A7A7F

Preview Lab

Preview with #1D2C7C

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

Preview Lab → · Contrast checker → · Palette generator →

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