#1D196A#1D196A

#1D196A is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.4% C 0.134 H 275.8°. Best body text is #FFFFFF at 15.01:1 contrast (WCAG AA passes).

Color values

HEX#1D196A
RGBrgb(29, 25, 106)
HSLhsl(243, 62%, 26%)
HSVhsv(243, 76%, 42%)
CMYKcmyk(72.6%, 76.4%, 0%, 58.4%)
CIE-LABlab(15.47, 29.98, -46.29)
CIE-LCHlch(15.47, 55.15, 302.93°)
OKLaboklab(28.41% 0.0135 -0.1338)
OKLCHoklch(28.41% 0.134 275.8)
XYZxyz(3.4550, 1.9968, 13.8362)
Luminance0.0200 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D196A #666A19
analogous
#193D6A #1D196A #45196A
triadic
#1D196A #6A1D19 #196A1D
tetradic
#1D196A #6A193D #666A19 #196A45
square
#1D196A #6A193D #666A19 #196A45
split-complementary
#1D196A #6A4519 #3D6A19
monochromatic
#070619 #0F0D38 #1D196A #2B259C #3830CD

Accessibility & contrast

On white

15.01
#1D196A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D196A
15.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D196A#FFFFFF#000000##FFFFFF
##1D196A1.0015.011.4015.01
#FFFFFF15.011.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A6C
Deuteranopia (green-blind)
#002369
Tritanopia (blue-blind)
#003040
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #1d196a;
/* rgb */ color: rgb(29, 25, 106);
/* oklch */ color: oklch(28.4% 0.134 275.8);
Tailwind
colors: {
  custom: {
    50: '#665796',
    500: '#1d196a',
    950: '#000000',
  },
}
SCSS
$custom: #1d196a;
$custom-light: #665796;
$custom-dark: #000000;
JSON
{
  "hex": "#1d196a",
  "rgb": {
    "r": 29,
    "g": 25,
    "b": 106
  },
  "hsl": {
    "h": 242.963,
    "s": 61.832,
    "l": 25.686
  },
  "oklch": {
    "l": 0.28411,
    "c": 0.13447,
    "h": 275.8
  },
  "luminance": 0.01997
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1D196A

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

Preview Lab → · Contrast checker → · Palette generator →

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