#1D1CA0#1D1CA0

#1D1CA0 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 35.1% C 0.199 H 270.1°. Best body text is #FFFFFF at 12.17:1 contrast (WCAG AA passes).

Color values

HEX#1D1CA0
RGBrgb(29, 28, 160)
HSLhsl(240, 70%, 37%)
HSVhsv(240, 83%, 63%)
CMYKcmyk(81.9%, 82.5%, 0%, 37.3%)
CIE-LABlab(22.40, 46.66, -68.90)
CIE-LCHlch(22.40, 83.21, 304.11°)
OKLaboklab(35.14% 0.0005 -0.1995)
OKLCHoklch(35.14% 0.199 270.1)
XYZxyz(7.2650, 3.6289, 33.5685)
Luminance0.0363 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1CA0 #9FA01C
analogous
#1C5DA0 #1D1CA0 #5F1CA0
triadic
#1D1CA0 #A01D1C #1CA01D
tetradic
#1D1CA0 #A01C5D #9FA01C #1CA05F
square
#1D1CA0 #A01C5D #9FA01C #1CA05F
split-complementary
#1D1CA0 #A05F1C #5DA01C
monochromatic
#0A0A38 #14136C #1D1CA0 #2625D4 #5655E1

Accessibility & contrast

On white

12.17
#1D1CA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#1D1CA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D1CA0
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1CA0#FFFFFF#000000##FFFFFF
##1D1CA01.0012.171.7312.17
#FFFFFF12.171.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003CA4
Deuteranopia (green-blind)
#002F9E
Tritanopia (blue-blind)
#00465F
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1d1ca0;
/* rgb */ color: rgb(29, 28, 160);
/* oklch */ color: oklch(35.1% 0.199 270.1);
Tailwind
colors: {
  custom: {
    50: '#745cbe',
    500: '#1d1ca0',
    950: '#000000',
  },
}
SCSS
$custom: #1d1ca0;
$custom-light: #745cbe;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1ca0",
  "rgb": {
    "r": 29,
    "g": 28,
    "b": 160
  },
  "hsl": {
    "h": 240.455,
    "s": 70.213,
    "l": 36.863
  },
  "oklch": {
    "l": 0.3514,
    "c": 0.19946,
    "h": 270.1
  },
  "luminance": 0.0363
}

Semantic roles & 50–950 ramp

primary
#1D1CA0
secondary
#C4C453
accent
#ED3BEC
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #1D1CA0

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

Preview Lab → · Contrast checker → · Palette generator →

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