#1D196B#1D196B

#1D196B is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.5% C 0.136 H 275.6°. Best body text is #FFFFFF at 14.96:1 contrast (WCAG AA passes).

Color values

HEX#1D196B
RGBrgb(29, 25, 107)
HSLhsl(243, 62%, 26%)
HSVhsv(243, 77%, 42%)
CMYKcmyk(72.9%, 76.6%, 0%, 58%)
CIE-LABlab(15.58, 30.34, -46.77)
CIE-LCHlch(15.58, 55.75, 302.98°)
OKLaboklab(28.52% 0.0133 -0.1352)
OKLCHoklch(28.52% 0.136 275.6)
XYZxyz(3.5073, 2.0177, 14.1117)
Luminance0.0202 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D196B #676B19
analogous
#193E6B #1D196B #46196B
triadic
#1D196B #6B1D19 #196B1D
tetradic
#1D196B #6B193E #676B19 #196B46
square
#1D196B #6B193E #676B19 #196B46
split-complementary
#1D196B #6B4619 #3E6B19
monochromatic
#070619 #100D39 #1D196B #2A259D #3830CE

Accessibility & contrast

On white

14.96
#1D196B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#1D196B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D196B
14.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D196B#FFFFFF#000000##FFFFFF
##1D196B1.0014.961.4014.96
#FFFFFF14.961.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.961.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1d196b;
/* rgb */ color: rgb(29, 25, 107);
/* oklch */ color: oklch(28.5% 0.136 275.6);
Tailwind
colors: {
  custom: {
    50: '#665796',
    500: '#1d196b',
    950: '#000000',
  },
}
SCSS
$custom: #1d196b;
$custom-light: #665796;
$custom-dark: #000000;
JSON
{
  "hex": "#1d196b",
  "rgb": {
    "r": 29,
    "g": 25,
    "b": 107
  },
  "hsl": {
    "h": 242.927,
    "s": 62.121,
    "l": 25.882
  },
  "oklch": {
    "l": 0.28522,
    "c": 0.13582,
    "h": 275.6
  },
  "luminance": 0.02018
}

Semantic roles & 50–950 ramp

primary
#1D196B
secondary
#9CA13F
accent
#E543DD
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030D
muted
#7A787E

Preview Lab

Preview with #1D196B

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

Preview Lab → · Contrast checker → · Palette generator →

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