#1D2C7E#1D2C7E

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

Color values

HEX#1D2C7E
RGBrgb(29, 44, 126)
HSLhsl(231, 63%, 30%)
HSVhsv(231, 77%, 49%)
CMYKcmyk(77%, 65.1%, 0%, 50.6%)
CIE-LABlab(22.19, 24.86, -48.13)
CIE-LCHlch(22.19, 54.17, 297.32°)
OKLaboklab(33.9% -0.0016 -0.1391)
OKLCHoklch(33.9% 0.139 269.3)
XYZxyz(5.1720, 3.5684, 20.1508)
Luminance0.0357 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2C7E #7E6F1D
analogous
#1D5C7E #1D2C7E #3F1D7E
triadic
#1D2C7E #7E1D2C #2C7E1D
tetradic
#1D2C7E #7E1D5C #7E6F1D #1D7E3F
square
#1D2C7E #7E1D5C #7E6F1D #1D7E3F
split-complementary
#1D2C7E #7E3F1D #5C7E1D
monochromatic
#06091B #121B4C #1D2C7E #283DB0 #4258D3

Accessibility & contrast

On white

12.25
#1D2C7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D2C7E
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2C7E#FFFFFF#000000##FFFFFF
##1D2C7E1.0012.251.7112.25
#FFFFFF12.251.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A81
Deuteranopia (green-blind)
#00317C
Tritanopia (blue-blind)
#004150
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1d2c7e;
/* rgb */ color: rgb(29, 44, 126);
/* oklch */ color: oklch(33.9% 0.139 269.3);
Tailwind
colors: {
  custom: {
    50: '#6965a4',
    500: '#1d2c7e',
    950: '#000000',
  },
}
SCSS
$custom: #1d2c7e;
$custom-light: #6965a4;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2c7e",
  "rgb": {
    "r": 29,
    "g": 44,
    "b": 126
  },
  "hsl": {
    "h": 230.722,
    "s": 62.581,
    "l": 30.392
  },
  "oklch": {
    "l": 0.33898,
    "c": 0.13912,
    "h": 269.3
  },
  "luminance": 0.03569
}

Semantic roles & 50–950 ramp

primary
#1D2C7E
secondary
#B1A145
accent
#CC42E6
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07050F
muted
#7A7A7F

Preview Lab

Preview with #1D2C7E

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

Preview Lab → · Contrast checker → · Palette generator →

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