#1D169F#1D169F

#1D169F is a dark, highly saturated blue. Relative luminance 0.033; OKLCH L 34.4% C 0.203 H 270.5°. Best body text is #FFFFFF at 12.59:1 contrast (WCAG AA passes).

Color values

HEX#1D169F
RGBrgb(29, 22, 159)
HSLhsl(243, 76%, 35%)
HSVhsv(243, 86%, 62%)
CMYKcmyk(81.8%, 86.2%, 0%, 37.6%)
CIE-LABlab(21.35, 49.10, -70.04)
CIE-LCHlch(21.35, 85.53, 305.03°)
OKLaboklab(34.37% 0.0019 -0.2026)
OKLCHoklch(34.37% 0.203 270.5)
XYZxyz(7.0495, 3.3374, 33.0668)
Luminance0.0334 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D169F #989F16
analogous
#16539F #1D169F #62169F
triadic
#1D169F #9F1D16 #169F1D
tetradic
#1D169F #9F1653 #989F16 #169F62
square
#1D169F #9F1653 #989F16 #169F62
split-complementary
#1D169F #9F6216 #539F16
monochromatic
#090733 #130F69 #1D169F #271DD5 #524AE6

Accessibility & contrast

On white

12.59
#1D169F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#1D169F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D169F
12.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D169F#FFFFFF#000000##FFFFFF
##1D169F1.0012.591.6712.59
#FFFFFF12.591.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003AA3
Deuteranopia (green-blind)
#002C9D
Tritanopia (blue-blind)
#00445E
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #1d169f;
/* rgb */ color: rgb(29, 22, 159);
/* oklch */ color: oklch(34.4% 0.203 270.5);
Tailwind
colors: {
  custom: {
    50: '#7459bd',
    500: '#1d169f',
    950: '#000000',
  },
}
SCSS
$custom: #1d169f;
$custom-light: #7459bd;
$custom-dark: #000000;
JSON
{
  "hex": "#1d169f",
  "rgb": {
    "r": 29,
    "g": 22,
    "b": 159
  },
  "hsl": {
    "h": 243.066,
    "s": 75.691,
    "l": 35.49
  },
  "oklch": {
    "l": 0.34374,
    "c": 0.20266,
    "h": 270.5
  },
  "luminance": 0.03338
}

Semantic roles & 50–950 ramp

primary
#1D169F
secondary
#C1C74A
accent
#F236E9
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #1D169F

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

Preview Lab → · Contrast checker → · Palette generator →

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