#1D2C6E#1D2C6E

#1D2C6E is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.4% C 0.116 H 269.2°. Best body text is #FFFFFF at 12.82:1 contrast (WCAG AA passes).

Color values

HEX#1D2C6E
RGBrgb(29, 44, 110)
HSLhsl(229, 58%, 27%)
HSVhsv(229, 74%, 43%)
CMYKcmyk(73.6%, 60%, 0%, 56.9%)
CIE-LABlab(20.78, 18.52, -40.20)
CIE-LCHlch(20.78, 44.26, 294.74°)
OKLaboklab(32.41% -0.0016 -0.1158)
OKLCHoklch(32.41% 0.116 269.2)
XYZxyz(4.2209, 3.1879, 15.1417)
Luminance0.0319 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2C6E #6E5F1D
analogous
#1D556E #1D2C6E #371D6E
triadic
#1D2C6E #6E1D2C #2C6E1D
tetradic
#1D2C6E #6E1D55 #6E5F1D #1D6E37
square
#1D2C6E #6E1D55 #6E5F1D #1D6E37
split-complementary
#1D2C6E #6E371D #556E1D
monochromatic
#060A18 #10193E #1D2C6E #2A3F9E #3A55CB

Accessibility & contrast

On white

12.82
#1D2C6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#1D2C6E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2C6E
12.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2C6E#FFFFFF#000000##FFFFFF
##1D2C6E1.0012.821.6412.82
#FFFFFF12.821.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003670
Deuteranopia (green-blind)
#002E6D
Tritanopia (blue-blind)
#003C48
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1d2c6e;
/* rgb */ color: rgb(29, 44, 110);
/* oklch */ color: oklch(32.4% 0.116 269.2);
Tailwind
colors: {
  custom: {
    50: '#656498',
    500: '#1d2c6e',
    950: '#000000',
  },
}
SCSS
$custom: #1d2c6e;
$custom-light: #656498;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2c6e",
  "rgb": {
    "r": 29,
    "g": 44,
    "b": 110
  },
  "hsl": {
    "h": 228.889,
    "s": 58.273,
    "l": 27.255
  },
  "oklch": {
    "l": 0.32413,
    "c": 0.11584,
    "h": 269.2
  },
  "luminance": 0.03188
}

Semantic roles & 50–950 ramp

primary
#1D2C6E
secondary
#A29144
accent
#C546E1
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050E
muted
#7A7A7E

Preview Lab

Preview with #1D2C6E

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

Preview Lab → · Contrast checker → · Palette generator →

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