#1D2E66#1D2E66

#1D2E66 is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.2% C 0.101 H 267.7°. Best body text is #FFFFFF at 12.84:1 contrast (WCAG AA passes).

Color values

HEX#1D2E66
RGBrgb(29, 46, 102)
HSLhsl(226, 56%, 26%)
HSVhsv(226, 72%, 40%)
CMYKcmyk(71.6%, 54.9%, 0%, 60%)
CIE-LABlab(20.73, 13.87, -35.10)
CIE-LCHlch(20.73, 37.74, 291.56°)
OKLaboklab(32.17% -0.0041 -0.1008)
OKLCHoklch(32.17% 0.101 267.7)
XYZxyz(3.8811, 3.1741, 12.9759)
Luminance0.0318 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2E66 #66551D
analogous
#1D5266 #1D2E66 #301D66
triadic
#1D2E66 #661D2E #2E661D
tetradic
#1D2E66 #661D52 #66551D #1D6630
square
#1D2E66 #661D52 #66551D #1D6630
split-complementary
#1D2E66 #66301D #52661D
monochromatic
#070B18 #0F1936 #1D2E66 #2B4396 #3859C5

Accessibility & contrast

On white

12.84
#1D2E66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D2E66
12.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2E66#FFFFFF#000000##FFFFFF
##1D2E661.0012.841.6412.84
#FFFFFF12.841.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B3568
Deuteranopia (green-blind)
#002F65
Tritanopia (blue-blind)
#003B45
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1d2e66;
/* rgb */ color: rgb(29, 46, 102);
/* oklch */ color: oklch(32.2% 0.101 267.7);
Tailwind
colors: {
  custom: {
    50: '#636692',
    500: '#1d2e66',
    950: '#000000',
  },
}
SCSS
$custom: #1d2e66;
$custom-light: #636692;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2e66",
  "rgb": {
    "r": 29,
    "g": 46,
    "b": 102
  },
  "hsl": {
    "h": 226.027,
    "s": 55.725,
    "l": 25.686
  },
  "oklch": {
    "l": 0.3217,
    "c": 0.10087,
    "h": 267.7
  },
  "luminance": 0.03175
}

Semantic roles & 50–950 ramp

primary
#1D2E66
secondary
#9B8744
accent
#BC49DF
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#06050D
muted
#7A7A7E

Preview Lab

Preview with #1D2E66

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

Preview Lab → · Contrast checker → · Palette generator →

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