#1D196C#1D196C

#1D196C is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.6% C 0.137 H 275.5°. Best body text is #FFFFFF at 14.92:1 contrast (WCAG AA passes).

Color values

HEX#1D196C
RGBrgb(29, 25, 108)
HSLhsl(243, 62%, 26%)
HSVhsv(243, 77%, 42%)
CMYKcmyk(73.1%, 76.9%, 0%, 57.6%)
CIE-LABlab(15.69, 30.70, -47.24)
CIE-LCHlch(15.69, 56.34, 303.02°)
OKLaboklab(28.63% 0.0131 -0.1365)
OKLCHoklch(28.63% 0.137 275.5)
XYZxyz(3.5602, 2.0389, 14.3904)
Luminance0.0204 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D196C #686C19
analogous
#193E6C #1D196C #46196C
triadic
#1D196C #6C1D19 #196C1D
tetradic
#1D196C #6C193E #686C19 #196C46
square
#1D196C #6C193E #686C19 #196C46
split-complementary
#1D196C #6C4619 #3E6C19
monochromatic
#070619 #100D3A #1D196C #2A259E #3830CF

Accessibility & contrast

On white

14.92
#1D196C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#1D196C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D196C
14.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D196C#FFFFFF#000000##FFFFFF
##1D196C1.0014.921.4114.92
#FFFFFF14.921.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B6E
Deuteranopia (green-blind)
#00236A
Tritanopia (blue-blind)
#003141
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #1d196c;
/* rgb */ color: rgb(29, 25, 108);
/* oklch */ color: oklch(28.6% 0.137 275.5);
Tailwind
colors: {
  custom: {
    50: '#665797',
    500: '#1d196c',
    950: '#000000',
  },
}
SCSS
$custom: #1d196c;
$custom-light: #665797;
$custom-dark: #000000;
JSON
{
  "hex": "#1d196c",
  "rgb": {
    "r": 29,
    "g": 25,
    "b": 108
  },
  "hsl": {
    "h": 242.892,
    "s": 62.406,
    "l": 26.078
  },
  "oklch": {
    "l": 0.28633,
    "c": 0.13717,
    "h": 275.5
  },
  "luminance": 0.02039
}

Semantic roles & 50–950 ramp

primary
#1D196C
secondary
#9DA13F
accent
#E542DE
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #1D196C

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

Preview Lab → · Contrast checker → · Palette generator →

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