#1D2196#1D2196

#1D2196 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.6% C 0.183 H 270.4°. Best body text is #FFFFFF at 12.28:1 contrast (WCAG AA passes).

Color values

HEX#1D2196
RGBrgb(29, 33, 150)
HSLhsl(238, 68%, 35%)
HSVhsv(238, 81%, 59%)
CMYKcmyk(80.7%, 78%, 0%, 41.2%)
CIE-LABlab(22.12, 40.70, -63.22)
CIE-LCHlch(22.12, 75.19, 302.77°)
OKLaboklab(34.6% 0.0012 -0.1831)
OKLCHoklch(34.6% 0.183 270.4)
XYZxyz(6.5537, 3.5502, 29.1881)
Luminance0.0355 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2196 #96921D
analogous
#1D5D96 #1D2196 #561D96
triadic
#1D2196 #961D21 #21961D
tetradic
#1D2196 #961D5D #96921D #1D9656
square
#1D2196 #961D5D #96921D #1D9656
split-complementary
#1D2196 #96561D #5D961D
monochromatic
#090A2F #131663 #1D2196 #272CC9 #5055DD

Accessibility & contrast

On white

12.28
#1D2196 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#1D2196 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2196
12.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2196#FFFFFF#000000##FFFFFF
##1D21961.0012.281.7112.28
#FFFFFF12.281.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B99
Deuteranopia (green-blind)
#002F94
Tritanopia (blue-blind)
#00445A
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1d2196;
/* rgb */ color: rgb(29, 33, 150);
/* oklch */ color: oklch(34.6% 0.183 270.4);
Tailwind
colors: {
  custom: {
    50: '#715eb6',
    500: '#1d2196',
    950: '#000000',
  },
}
SCSS
$custom: #1d2196;
$custom-light: #715eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2196",
  "rgb": {
    "r": 29,
    "g": 33,
    "b": 150
  },
  "hsl": {
    "h": 238.017,
    "s": 67.598,
    "l": 35.098
  },
  "oklch": {
    "l": 0.34598,
    "c": 0.18311,
    "h": 270.4
  },
  "luminance": 0.03551
}

Semantic roles & 50–950 ramp

primary
#1D2196
secondary
#C0BC4F
accent
#E53DEA
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #1D2196

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

Preview Lab → · Contrast checker → · Palette generator →

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