#1D1CA1#1D1CA1

#1D1CA1 is a dark, highly saturated blue. Relative luminance 0.037; OKLCH L 35.3% C 0.201 H 270.1°. Best body text is #FFFFFF at 12.12:1 contrast (WCAG AA passes).

Color values

HEX#1D1CA1
RGBrgb(29, 28, 161)
HSLhsl(240, 70%, 37%)
HSVhsv(240, 83%, 63%)
CMYKcmyk(82%, 82.6%, 0%, 36.9%)
CIE-LABlab(22.53, 46.98, -69.30)
CIE-LCHlch(22.53, 83.72, 304.13°)
OKLaboklab(35.26% 0.0003 -0.2006)
OKLCHoklch(35.26% 0.201 270.1)
XYZxyz(7.3528, 3.6641, 34.0310)
Luminance0.0367 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1CA1 #A0A11C
analogous
#1C5EA1 #1D1CA1 #601CA1
triadic
#1D1CA1 #A11D1C #1CA11D
tetradic
#1D1CA1 #A11C5E #A0A11C #1CA160
square
#1D1CA1 #A11C5E #A0A11C #1CA160
split-complementary
#1D1CA1 #A1601C #5EA11C
monochromatic
#0A0A39 #14136D #1D1CA1 #2625D5 #5756E2

Accessibility & contrast

On white

12.12
#1D1CA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D1CA1
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1CA1#FFFFFF#000000##FFFFFF
##1D1CA11.0012.121.7312.12
#FFFFFF12.121.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003CA5
Deuteranopia (green-blind)
#002F9F
Tritanopia (blue-blind)
#004760
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1d1ca1;
/* rgb */ color: rgb(29, 28, 161);
/* oklch */ color: oklch(35.3% 0.201 270.1);
Tailwind
colors: {
  custom: {
    50: '#745cbe',
    500: '#1d1ca1',
    950: '#000000',
  },
}
SCSS
$custom: #1d1ca1;
$custom-light: #745cbe;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1ca1",
  "rgb": {
    "r": 29,
    "g": 28,
    "b": 161
  },
  "hsl": {
    "h": 240.451,
    "s": 70.37,
    "l": 37.059
  },
  "oklch": {
    "l": 0.35261,
    "c": 0.20063,
    "h": 270.1
  },
  "luminance": 0.03665
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1D1CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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