#1D1994#1D1994

#1D1994 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.3% C 0.188 H 271.2°. Best body text is #FFFFFF at 12.97:1 contrast (WCAG AA passes).

Color values

HEX#1D1994
RGBrgb(29, 25, 148)
HSLhsl(242, 71%, 34%)
HSVhsv(242, 83%, 58%)
CMYKcmyk(80.4%, 83.1%, 0%, 42%)
CIE-LABlab(20.42, 44.28, -64.82)
CIE-LCHlch(20.42, 78.50, 304.34°)
OKLaboklab(33.33% 0.0039 -0.1876)
OKLCHoklch(33.33% 0.188 271.2)
XYZxyz(6.1978, 3.0939, 28.2818)
Luminance0.0309 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1994 #909419
analogous
#195394 #1D1994 #5B1994
triadic
#1D1994 #941D19 #19941D
tetradic
#1D1994 #941953 #909419 #19945B
square
#1D1994 #941953 #909419 #19945B
split-complementary
#1D1994 #945B19 #539419
monochromatic
#08072B #131060 #1D1994 #2722C8 #4C47E0

Accessibility & contrast

On white

12.97
#1D1994 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#1D1994 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D1994
12.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1994#FFFFFF#000000##FFFFFF
##1D19941.0012.971.6212.97
#FFFFFF12.971.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003797
Deuteranopia (green-blind)
#002B92
Tritanopia (blue-blind)
#004058
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1d1994;
/* rgb */ color: rgb(29, 25, 148);
/* oklch */ color: oklch(33.3% 0.188 271.2);
Tailwind
colors: {
  custom: {
    50: '#7159b5',
    500: '#1d1994',
    950: '#000000',
  },
}
SCSS
$custom: #1d1994;
$custom-light: #7159b5;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1994",
  "rgb": {
    "r": 29,
    "g": 25,
    "b": 148
  },
  "hsl": {
    "h": 241.951,
    "s": 71.098,
    "l": 33.922
  },
  "oklch": {
    "l": 0.33333,
    "c": 0.18765,
    "h": 271.2
  },
  "luminance": 0.03095
}

Semantic roles & 50–950 ramp

primary
#1D1994
secondary
#BDC147
accent
#EE3AE8
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #1D1994

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

Preview Lab → · Contrast checker → · Palette generator →

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