#1D196D#1D196D

#1D196D is a dark, vivid blue. Relative luminance 0.021; OKLCH L 28.7% C 0.139 H 275.3°. Best body text is #FFFFFF at 14.87:1 contrast (WCAG AA passes).

Color values

HEX#1D196D
RGBrgb(29, 25, 109)
HSLhsl(243, 63%, 26%)
HSVhsv(243, 77%, 43%)
CMYKcmyk(73.4%, 77.1%, 0%, 57.3%)
CIE-LABlab(15.80, 31.06, -47.71)
CIE-LCHlch(15.80, 56.93, 303.06°)
OKLaboklab(28.74% 0.0129 -0.1379)
OKLCHoklch(28.74% 0.139 275.3)
XYZxyz(3.6137, 2.0603, 14.6723)
Luminance0.0206 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D196D #696D19
analogous
#193F6D #1D196D #47196D
triadic
#1D196D #6D1D19 #196D1D
tetradic
#1D196D #6D193F #696D19 #196D47
square
#1D196D #6D193F #696D19 #196D47
split-complementary
#1D196D #6D4719 #3F6D19
monochromatic
#070619 #100E3B #1D196D #2A249F #3831D0

Accessibility & contrast

On white

14.87
#1D196D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D196D
14.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D196D#FFFFFF#000000##FFFFFF
##1D196D1.0014.871.4114.87
#FFFFFF14.871.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B6F
Deuteranopia (green-blind)
#00246B
Tritanopia (blue-blind)
#003141
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #1d196d;
/* rgb */ color: rgb(29, 25, 109);
/* oklch */ color: oklch(28.7% 0.139 275.3);
Tailwind
colors: {
  custom: {
    50: '#675798',
    500: '#1d196d',
    950: '#000000',
  },
}
SCSS
$custom: #1d196d;
$custom-light: #675798;
$custom-dark: #000000;
JSON
{
  "hex": "#1d196d",
  "rgb": {
    "r": 29,
    "g": 25,
    "b": 109
  },
  "hsl": {
    "h": 242.857,
    "s": 62.687,
    "l": 26.275
  },
  "oklch": {
    "l": 0.28744,
    "c": 0.13852,
    "h": 275.3
  },
  "luminance": 0.02061
}

Semantic roles & 50–950 ramp

primary
#1D196D
secondary
#9EA23F
accent
#E642DE
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #1D196D

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

Preview Lab → · Contrast checker → · Palette generator →

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