#1D2191#1D2191

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

Color values

HEX#1D2191
RGBrgb(29, 33, 145)
HSLhsl(238, 67%, 34%)
HSVhsv(238, 80%, 57%)
CMYKcmyk(80%, 77.2%, 0%, 43.1%)
CIE-LABlab(21.55, 38.97, -61.08)
CIE-LCHlch(21.55, 72.45, 302.54°)
OKLaboklab(34.03% 0.0021 -0.1769)
OKLCHoklch(34.03% 0.177 270.7)
XYZxyz(6.1596, 3.3926, 27.1128)
Luminance0.0339 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2191 #918D1D
analogous
#1D5B91 #1D2191 #531D91
triadic
#1D2191 #911D21 #21911D
tetradic
#1D2191 #911D5B #918D1D #1D9153
square
#1D2191 #911D5B #918D1D #1D9153
split-complementary
#1D2191 #91531D #5B911D
monochromatic
#090A2B #13155E #1D2191 #272DC4 #4D52DB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1D2191#FFFFFF#000000##FFFFFF
##1D21911.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)
#003994
Deuteranopia (green-blind)
#002E8F
Tritanopia (blue-blind)
#004258
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1d2191;
/* rgb */ color: rgb(29, 33, 145);
/* oklch */ color: oklch(34.0% 0.177 270.7);
Tailwind
colors: {
  custom: {
    50: '#6f5eb2',
    500: '#1d2191',
    950: '#000000',
  },
}
SCSS
$custom: #1d2191;
$custom-light: #6f5eb2;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2191",
  "rgb": {
    "r": 29,
    "g": 33,
    "b": 145
  },
  "hsl": {
    "h": 237.931,
    "s": 66.667,
    "l": 34.118
  },
  "oklch": {
    "l": 0.34025,
    "c": 0.1769,
    "h": 270.7
  },
  "luminance": 0.03393
}

Semantic roles & 50–950 ramp

primary
#1D2191
secondary
#BEBA4C
accent
#E43EEA
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #1D2191

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

Preview Lab → · Contrast checker → · Palette generator →

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