#1D197D#1D197D

#1D197D is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.6% C 0.159 H 273.4°. Best body text is #FFFFFF at 14.12:1 contrast (WCAG AA passes).

Color values

HEX#1D197D
RGBrgb(29, 25, 125)
HSLhsl(242, 67%, 29%)
HSVhsv(242, 80%, 49%)
CMYKcmyk(76.8%, 80%, 0%, 51%)
CIE-LABlab(17.63, 36.66, -55.00)
CIE-LCHlch(17.63, 66.09, 303.68°)
OKLaboklab(30.58% 0.0093 -0.1591)
OKLCHoklch(30.58% 0.159 273.4)
XYZxyz(4.5548, 2.4367, 19.6283)
Luminance0.0244 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D197D #797D19
analogous
#19477D #1D197D #4F197D
triadic
#1D197D #7D1D19 #197D1D
tetradic
#1D197D #7D1947 #797D19 #197D4F
square
#1D197D #7D1947 #797D19 #197D4F
split-complementary
#1D197D #7D4F19 #477D19
monochromatic
#06051A #110F4A #1D197D #2923B0 #3F39D7

Accessibility & contrast

On white

14.12
#1D197D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#1D197D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D197D
14.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D197D#FFFFFF#000000##FFFFFF
##1D197D1.0014.121.4914.12
#FFFFFF14.121.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003080
Deuteranopia (green-blind)
#00267B
Tritanopia (blue-blind)
#00374A
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #1d197d;
/* rgb */ color: rgb(29, 25, 125);
/* oklch */ color: oklch(30.6% 0.159 273.4);
Tailwind
colors: {
  custom: {
    50: '#6b58a4',
    500: '#1d197d',
    950: '#000000',
  },
}
SCSS
$custom: #1d197d;
$custom-light: #6b58a4;
$custom-dark: #000000;
JSON
{
  "hex": "#1d197d",
  "rgb": {
    "r": 29,
    "g": 25,
    "b": 125
  },
  "hsl": {
    "h": 242.4,
    "s": 66.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.30579,
    "c": 0.1594,
    "h": 273.4
  },
  "luminance": 0.02437
}

Semantic roles & 50–950 ramp

primary
#1D197D
secondary
#ADB140
accent
#EA3EE3
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08030F
muted
#7A787F

Preview Lab

Preview with #1D197D

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

Preview Lab → · Contrast checker → · Palette generator →

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