#1D1F95#1D1F95

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

Color values

HEX#1D1F95
RGBrgb(29, 31, 149)
HSLhsl(239, 67%, 35%)
HSVhsv(239, 81%, 58%)
CMYKcmyk(80.5%, 79.2%, 0%, 41.6%)
CIE-LABlab(21.62, 41.48, -63.45)
CIE-LCHlch(21.62, 75.80, 303.17°)
OKLaboklab(34.21% 0.002 -0.1837)
OKLCHoklch(34.21% 0.184 270.6)
XYZxyz(6.4197, 3.4104, 28.7479)
Luminance0.0341 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1F95 #95931D
analogous
#1D5B95 #1D1F95 #571D95
triadic
#1D1F95 #951D1F #1F951D
tetradic
#1D1F95 #951D5B #95931D #1D9557
square
#1D1F95 #951D5B #95931D #1D9557
split-complementary
#1D1F95 #95571D #5B951D
monochromatic
#090A2F #131462 #1D1F95 #272AC8 #5052DD

Accessibility & contrast

On white

12.48
#1D1F95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D1F95
12.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1F95#FFFFFF#000000##FFFFFF
##1D1F951.0012.481.6812.48
#FFFFFF12.481.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A98
Deuteranopia (green-blind)
#002E93
Tritanopia (blue-blind)
#004359
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1d1f95;
/* rgb */ color: rgb(29, 31, 149);
/* oklch */ color: oklch(34.2% 0.184 270.6);
Tailwind
colors: {
  custom: {
    50: '#715db5',
    500: '#1d1f95',
    950: '#000000',
  },
}
SCSS
$custom: #1d1f95;
$custom-light: #715db5;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1f95",
  "rgb": {
    "r": 29,
    "g": 31,
    "b": 149
  },
  "hsl": {
    "h": 239,
    "s": 67.416,
    "l": 34.902
  },
  "oklch": {
    "l": 0.34207,
    "c": 0.18374,
    "h": 270.6
  },
  "luminance": 0.03411
}

Semantic roles & 50–950 ramp

primary
#1D1F95
secondary
#C0BE4E
accent
#E73DEA
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #1D1F95

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

Preview Lab → · Contrast checker → · Palette generator →

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