#1D199E#1D199E

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

Color values

HEX#1D199E
RGBrgb(29, 25, 158)
HSLhsl(242, 73%, 36%)
HSVhsv(242, 84%, 62%)
CMYKcmyk(81.6%, 84.2%, 0%, 38%)
CIE-LABlab(21.67, 47.45, -68.90)
CIE-LCHlch(21.67, 83.66, 304.56°)
OKLaboklab(34.56% 0.0016 -0.1994)
OKLCHoklch(34.56% 0.199 270.5)
XYZxyz(7.0238, 3.4243, 32.6319)
Luminance0.0343 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D199E #9A9E19
analogous
#19579E #1D199E #60199E
triadic
#1D199E #9E1D19 #199E1D
tetradic
#1D199E #9E1957 #9A9E19 #199E60
square
#1D199E #9E1957 #9A9E19 #199E60
split-complementary
#1D199E #9E6019 #579E19
monochromatic
#0A0834 #131169 #1D199E #2721D3 #534EE3

Accessibility & contrast

On white

12.46
#1D199E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D199E
12.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D199E#FFFFFF#000000##FFFFFF
##1D199E1.0012.461.6912.46
#FFFFFF12.461.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.461.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1d199e;
/* rgb */ color: rgb(29, 25, 158);
/* oklch */ color: oklch(34.6% 0.199 270.5);
Tailwind
colors: {
  custom: {
    50: '#735abc',
    500: '#1d199e',
    950: '#000000',
  },
}
SCSS
$custom: #1d199e;
$custom-light: #735abc;
$custom-dark: #000000;
JSON
{
  "hex": "#1d199e",
  "rgb": {
    "r": 29,
    "g": 25,
    "b": 158
  },
  "hsl": {
    "h": 241.805,
    "s": 72.678,
    "l": 35.882
  },
  "oklch": {
    "l": 0.34559,
    "c": 0.19941,
    "h": 270.5
  },
  "luminance": 0.03425
}

Semantic roles & 50–950 ramp

primary
#1D199E
secondary
#C2C54E
accent
#EF38EA
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #1D199E

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

Preview Lab → · Contrast checker → · Palette generator →

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