#1D2D66#1D2D66

#1D2D66 is a dark, moderate blue. Relative luminance 0.031; OKLCH L 31.9% C 0.102 H 268.3°. Best body text is #FFFFFF at 12.97:1 contrast (WCAG AA passes).

Color values

HEX#1D2D66
RGBrgb(29, 45, 102)
HSLhsl(227, 56%, 26%)
HSVhsv(227, 72%, 40%)
CMYKcmyk(71.6%, 55.9%, 0%, 60%)
CIE-LABlab(20.43, 14.59, -35.58)
CIE-LCHlch(20.43, 38.46, 292.29°)
OKLaboklab(31.94% -0.0031 -0.1022)
OKLCHoklch(31.94% 0.102 268.3)
XYZxyz(3.8425, 3.0969, 12.9631)
Luminance0.0310 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2D66 #66561D
analogous
#1D5166 #1D2D66 #311D66
triadic
#1D2D66 #661D2D #2D661D
tetradic
#1D2D66 #661D51 #66561D #1D6631
square
#1D2D66 #661D51 #66561D #1D6631
split-complementary
#1D2D66 #66311D #51661D
monochromatic
#070B18 #0F1836 #1D2D66 #2B4296 #3857C5

Accessibility & contrast

On white

12.97
#1D2D66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#1D2D66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2D66
12.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2D66#FFFFFF#000000##FFFFFF
##1D2D661.0012.971.6212.97
#FFFFFF12.971.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#073568
Deuteranopia (green-blind)
#002E65
Tritanopia (blue-blind)
#003B44
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1d2d66;
/* rgb */ color: rgb(29, 45, 102);
/* oklch */ color: oklch(31.9% 0.102 268.3);
Tailwind
colors: {
  custom: {
    50: '#636592',
    500: '#1d2d66',
    950: '#000000',
  },
}
SCSS
$custom: #1d2d66;
$custom-light: #636592;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2d66",
  "rgb": {
    "r": 29,
    "g": 45,
    "b": 102
  },
  "hsl": {
    "h": 226.849,
    "s": 55.725,
    "l": 25.686
  },
  "oklch": {
    "l": 0.31943,
    "c": 0.10228,
    "h": 268.3
  },
  "luminance": 0.03097
}

Semantic roles & 50–950 ramp

primary
#1D2D66
secondary
#9B8844
accent
#BE49DF
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#06050D
muted
#7A7A7E

Preview Lab

Preview with #1D2D66

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

Preview Lab → · Contrast checker → · Palette generator →

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