#1D1D94#1D1D94

#1D1D94 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.8% C 0.184 H 270.9°. Best body text is #FFFFFF at 12.68:1 contrast (WCAG AA passes).

Color values

HEX#1D1D94
RGBrgb(29, 29, 148)
HSLhsl(240, 67%, 35%)
HSVhsv(240, 80%, 58%)
CMYKcmyk(80.4%, 80.4%, 0%, 42%)
CIE-LABlab(21.12, 42.23, -63.65)
CIE-LCHlch(21.12, 76.39, 303.56°)
OKLaboklab(33.83% 0.0028 -0.1843)
OKLCHoklch(33.83% 0.184 270.9)
XYZxyz(6.2895, 3.2773, 28.3123)
Luminance0.0328 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1D94 #94941D
analogous
#1D5994 #1D1D94 #591D94
triadic
#1D1D94 #941D1D #1D941D
tetradic
#1D1D94 #941D59 #94941D #1D9459
square
#1D1D94 #941D59 #94941D #1D9459
split-complementary
#1D1D94 #94591D #59941D
monochromatic
#09092E #131361 #1D1D94 #2727C7 #4F4FDC

Accessibility & contrast

On white

12.68
#1D1D94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#1D1D94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D1D94
12.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1D94#FFFFFF#000000##FFFFFF
##1D1D941.0012.681.6612.68
#FFFFFF12.681.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003997
Deuteranopia (green-blind)
#002D92
Tritanopia (blue-blind)
#004258
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #1d1d94;
/* rgb */ color: rgb(29, 29, 148);
/* oklch */ color: oklch(33.8% 0.184 270.9);
Tailwind
colors: {
  custom: {
    50: '#705cb5',
    500: '#1d1d94',
    950: '#000000',
  },
}
SCSS
$custom: #1d1d94;
$custom-light: #705cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1d94",
  "rgb": {
    "r": 29,
    "g": 29,
    "b": 148
  },
  "hsl": {
    "h": 240,
    "s": 67.232,
    "l": 34.706
  },
  "oklch": {
    "l": 0.33825,
    "c": 0.18431,
    "h": 270.9
  },
  "luminance": 0.03278
}

Semantic roles & 50–950 ramp

primary
#1D1D94
secondary
#BFBF4E
accent
#EA3EEA
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #1D1D94

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

Preview Lab → · Contrast checker → · Palette generator →

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