#1D2C8C#1D2C8C

#1D2C8C is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.3% C 0.158 H 269.1°. Best body text is #FFFFFF at 11.72:1 contrast (WCAG AA passes).

Color values

HEX#1D2C8C
RGBrgb(29, 44, 140)
HSLhsl(232, 66%, 33%)
HSVhsv(232, 79%, 55%)
CMYKcmyk(79.3%, 68.6%, 0%, 45.1%)
CIE-LABlab(23.52, 30.26, -54.72)
CIE-LCHlch(23.52, 62.53, 298.94°)
OKLaboklab(35.28% -0.0024 -0.1584)
OKLCHoklch(35.28% 0.158 269.1)
XYZxyz(6.1394, 3.9553, 25.2457)
Luminance0.0396 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2C8C #8C7D1D
analogous
#1D638C #1D2C8C #451D8C
triadic
#1D2C8C #8C1D2C #2C8C1D
tetradic
#1D2C8C #8C1D63 #8C7D1D #1D8C45
square
#1D2C8C #8C1D63 #8C7D1D #1D8C45
split-complementary
#1D2C8C #8C451D #638C1D
monochromatic
#080C27 #121C59 #1D2C8C #283CBF #4A5DD9

Accessibility & contrast

On white

11.72
#1D2C8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#1D2C8C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2C8C
11.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2C8C#FFFFFF#000000##FFFFFF
##1D2C8C1.0011.721.7911.72
#FFFFFF11.721.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8F
Deuteranopia (green-blind)
#00338A
Tritanopia (blue-blind)
#004658
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #1d2c8c;
/* rgb */ color: rgb(29, 44, 140);
/* oklch */ color: oklch(35.3% 0.158 269.1);
Tailwind
colors: {
  custom: {
    50: '#6d65af',
    500: '#1d2c8c',
    950: '#000000',
  },
}
SCSS
$custom: #1d2c8c;
$custom-light: #6d65af;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2c8c",
  "rgb": {
    "r": 29,
    "g": 44,
    "b": 140
  },
  "hsl": {
    "h": 231.892,
    "s": 65.68,
    "l": 33.137
  },
  "oklch": {
    "l": 0.35284,
    "c": 0.15842,
    "h": 269.1
  },
  "luminance": 0.03956
}

Semantic roles & 50–950 ramp

primary
#1D2C8C
secondary
#BCAC49
accent
#D23FE9
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080510
muted
#7B7A7F

Preview Lab

Preview with #1D2C8C

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

Preview Lab → · Contrast checker → · Palette generator →

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