#1D199F#1D199F

#1D199F is a dark, highly saturated blue. Relative luminance 0.035; OKLCH L 34.7% C 0.201 H 270.4°. Best body text is #FFFFFF at 12.41:1 contrast (WCAG AA passes).

Color values

HEX#1D199F
RGBrgb(29, 25, 159)
HSLhsl(242, 73%, 36%)
HSVhsv(242, 84%, 62%)
CMYKcmyk(81.8%, 84.3%, 0%, 37.6%)
CIE-LABlab(21.80, 47.77, -69.30)
CIE-LCHlch(21.80, 84.16, 304.58°)
OKLaboklab(34.68% 0.0014 -0.2006)
OKLCHoklch(34.68% 0.201 270.4)
XYZxyz(7.1102, 3.4589, 33.0871)
Luminance0.0346 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D199F #9B9F19
analogous
#19589F #1D199F #60199F
triadic
#1D199F #9F1D19 #199F1D
tetradic
#1D199F #9F1958 #9B9F19 #199F60
square
#1D199F #9F1958 #9B9F19 #199F60
split-complementary
#1D199F #9F6019 #589F19
monochromatic
#0A0835 #13116A #1D199F #2721D4 #534FE3

Accessibility & contrast

On white

12.41
#1D199F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#1D199F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D199F
12.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D199F#FFFFFF#000000##FFFFFF
##1D199F1.0012.411.6912.41
#FFFFFF12.411.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003BA3
Deuteranopia (green-blind)
#002D9D
Tritanopia (blue-blind)
#00455E
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1d199f;
/* rgb */ color: rgb(29, 25, 159);
/* oklch */ color: oklch(34.7% 0.201 270.4);
Tailwind
colors: {
  custom: {
    50: '#745abd',
    500: '#1d199f',
    950: '#000000',
  },
}
SCSS
$custom: #1d199f;
$custom-light: #745abd;
$custom-dark: #000000;
JSON
{
  "hex": "#1d199f",
  "rgb": {
    "r": 29,
    "g": 25,
    "b": 159
  },
  "hsl": {
    "h": 241.791,
    "s": 72.826,
    "l": 36.078
  },
  "oklch": {
    "l": 0.34682,
    "c": 0.20056,
    "h": 270.4
  },
  "luminance": 0.0346
}

Semantic roles & 50–950 ramp

primary
#1D199F
secondary
#C2C64E
accent
#F038EA
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #1D199F

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

Preview Lab → · Contrast checker → · Palette generator →

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