#1D199D#1D199D

#1D199D is a dark, vivid blue. Relative luminance 0.034; OKLCH L 34.4% C 0.198 H 270.5°. Best body text is #FFFFFF at 12.51:1 contrast (WCAG AA passes).

Color values

HEX#1D199D
RGBrgb(29, 25, 157)
HSLhsl(242, 73%, 36%)
HSVhsv(242, 84%, 62%)
CMYKcmyk(81.5%, 84.1%, 0%, 38.4%)
CIE-LABlab(21.54, 47.14, -68.49)
CIE-LCHlch(21.54, 83.15, 304.54°)
OKLaboklab(34.44% 0.0018 -0.1982)
OKLCHoklch(34.44% 0.198 270.5)
XYZxyz(6.9381, 3.3900, 32.1804)
Luminance0.0339 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D199D #999D19
analogous
#19579D #1D199D #5F199D
triadic
#1D199D #9D1D19 #199D1D
tetradic
#1D199D #9D1957 #999D19 #199D5F
square
#1D199D #9D1957 #999D19 #199D5F
split-complementary
#1D199D #9D5F19 #579D19
monochromatic
#090833 #131168 #1D199D #2721D2 #524EE3

Accessibility & contrast

On white

12.51
#1D199D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#1D199D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D199D
12.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D199D#FFFFFF#000000##FFFFFF
##1D199D1.0012.511.6812.51
#FFFFFF12.511.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003AA1
Deuteranopia (green-blind)
#002D9B
Tritanopia (blue-blind)
#00445D
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1d199d;
/* rgb */ color: rgb(29, 25, 157);
/* oklch */ color: oklch(34.4% 0.198 270.5);
Tailwind
colors: {
  custom: {
    50: '#735abb',
    500: '#1d199d',
    950: '#000000',
  },
}
SCSS
$custom: #1d199d;
$custom-light: #735abb;
$custom-dark: #000000;
JSON
{
  "hex": "#1d199d",
  "rgb": {
    "r": 29,
    "g": 25,
    "b": 157
  },
  "hsl": {
    "h": 241.818,
    "s": 72.527,
    "l": 35.686
  },
  "oklch": {
    "l": 0.34436,
    "c": 0.19825,
    "h": 270.5
  },
  "luminance": 0.03391
}

Semantic roles & 50–950 ramp

primary
#1D199D
secondary
#C1C54D
accent
#EF39EA
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #1D199D

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

Preview Lab → · Contrast checker → · Palette generator →

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