#1D2C7D#1D2C7D

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

Color values

HEX#1D2C7D
RGBrgb(29, 44, 125)
HSLhsl(231, 62%, 30%)
HSVhsv(231, 77%, 49%)
CMYKcmyk(76.8%, 64.8%, 0%, 51%)
CIE-LABlab(22.10, 24.47, -47.65)
CIE-LCHlch(22.10, 53.56, 297.18°)
OKLaboklab(33.8% -0.0016 -0.1377)
OKLCHoklch(33.8% 0.138 269.3)
XYZxyz(5.1078, 3.5427, 19.8127)
Luminance0.0354 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2C7D #7D6E1D
analogous
#1D5C7D #1D2C7D #3E1D7D
triadic
#1D2C7D #7D1D2C #2C7D1D
tetradic
#1D2C7D #7D1D5C #7D6E1D #1D7D3E
square
#1D2C7D #7D1D5C #7D6E1D #1D7D3E
split-complementary
#1D2C7D #7D3E1D #5C7D1D
monochromatic
#06091A #111B4B #1D2C7D #293DAF #4158D3

Accessibility & contrast

On white

12.29
#1D2C7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#1D2C7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2C7D
12.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2C7D#FFFFFF#000000##FFFFFF
##1D2C7D1.0012.291.7112.29
#FFFFFF12.291.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003980
Deuteranopia (green-blind)
#00307B
Tritanopia (blue-blind)
#004150
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1d2c7d;
/* rgb */ color: rgb(29, 44, 125);
/* oklch */ color: oklch(33.8% 0.138 269.3);
Tailwind
colors: {
  custom: {
    50: '#6965a3',
    500: '#1d2c7d',
    950: '#000000',
  },
}
SCSS
$custom: #1d2c7d;
$custom-light: #6965a3;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2c7d",
  "rgb": {
    "r": 29,
    "g": 44,
    "b": 125
  },
  "hsl": {
    "h": 230.625,
    "s": 62.338,
    "l": 30.196
  },
  "oklch": {
    "l": 0.33801,
    "c": 0.1377,
    "h": 269.3
  },
  "luminance": 0.03543
}

Semantic roles & 50–950 ramp

primary
#1D2C7D
secondary
#B1A045
accent
#CC42E5
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07050F
muted
#7A7A7F

Preview Lab

Preview with #1D2C7D

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

Preview Lab → · Contrast checker → · Palette generator →

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