#1D199C#1D199C

#1D199C is a dark, vivid blue. Relative luminance 0.034; OKLCH L 34.3% C 0.197 H 270.6°. Best body text is #FFFFFF at 12.56:1 contrast (WCAG AA passes).

Color values

HEX#1D199C
RGBrgb(29, 25, 156)
HSLhsl(242, 72%, 35%)
HSVhsv(242, 84%, 61%)
CMYKcmyk(81.4%, 84%, 0%, 38.8%)
CIE-LABlab(21.42, 46.83, -68.09)
CIE-LCHlch(21.42, 82.64, 304.52°)
OKLaboklab(34.31% 0.0021 -0.1971)
OKLCHoklch(34.31% 0.197 270.6)
XYZxyz(6.8530, 3.3560, 31.7326)
Luminance0.0336 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D199C #989C19
analogous
#19569C #1D199C #5E199C
triadic
#1D199C #9C1D19 #199C1D
tetradic
#1D199C #9C1956 #989C19 #199C5E
square
#1D199C #9C1956 #989C19 #199C5E
split-complementary
#1D199C #9C5E19 #569C19
monochromatic
#090833 #131167 #1D199C #2721D1 #524DE2

Accessibility & contrast

On white

12.56
#1D199C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#1D199C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D199C
12.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D199C#FFFFFF#000000##FFFFFF
##1D199C1.0012.561.6712.56
#FFFFFF12.561.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003AA0
Deuteranopia (green-blind)
#002D9A
Tritanopia (blue-blind)
#00445C
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #1d199c;
/* rgb */ color: rgb(29, 25, 156);
/* oklch */ color: oklch(34.3% 0.197 270.6);
Tailwind
colors: {
  custom: {
    50: '#735abb',
    500: '#1d199c',
    950: '#000000',
  },
}
SCSS
$custom: #1d199c;
$custom-light: #735abb;
$custom-dark: #000000;
JSON
{
  "hex": "#1d199c",
  "rgb": {
    "r": 29,
    "g": 25,
    "b": 156
  },
  "hsl": {
    "h": 241.832,
    "s": 72.376,
    "l": 35.49
  },
  "oklch": {
    "l": 0.34312,
    "c": 0.19708,
    "h": 270.6
  },
  "luminance": 0.03357
}

Semantic roles & 50–950 ramp

primary
#1D199C
secondary
#C1C44C
accent
#EF39EA
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #1D199C

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

Preview Lab → · Contrast checker → · Palette generator →

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