#1D1CA7#1D1CA7

#1D1CA7 is a dark, highly saturated blue. Relative luminance 0.039; OKLCH L 36.0% C 0.208 H 269.7°. Best body text is #FFFFFF at 11.82:1 contrast (WCAG AA passes).

Color values

HEX#1D1CA7
RGBrgb(29, 28, 167)
HSLhsl(240, 71%, 38%)
HSVhsv(240, 83%, 65%)
CMYKcmyk(82.6%, 83.2%, 0%, 34.5%)
CIE-LABlab(23.27, 48.87, -71.71)
CIE-LCHlch(23.27, 86.78, 304.28°)
OKLaboklab(35.99% -0.001 -0.2076)
OKLCHoklch(35.99% 0.208 269.7)
XYZxyz(7.8946, 3.8808, 36.8847)
Luminance0.0388 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1CA7 #A6A71C
analogous
#1C60A7 #1D1CA7 #631CA7
triadic
#1D1CA7 #A71D1C #1CA71D
tetradic
#1D1CA7 #A71C60 #A6A71C #1CA763
square
#1D1CA7 #A71C60 #A6A71C #1CA763
split-complementary
#1D1CA7 #A7631C #60A71C
monochromatic
#0B0A3E #141373 #1D1CA7 #2726DB #5B5AE3

Accessibility & contrast

On white

11.82
#1D1CA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#1D1CA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D1CA7
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1CA7#FFFFFF#000000##FFFFFF
##1D1CA71.0011.821.7811.82
#FFFFFF11.821.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003EAB
Deuteranopia (green-blind)
#0030A5
Tritanopia (blue-blind)
#004963
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1d1ca7;
/* rgb */ color: rgb(29, 28, 167);
/* oklch */ color: oklch(36.0% 0.208 269.7);
Tailwind
colors: {
  custom: {
    50: '#765cc3',
    500: '#1d1ca7',
    950: '#000000',
  },
}
SCSS
$custom: #1d1ca7;
$custom-light: #765cc3;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1ca7",
  "rgb": {
    "r": 29,
    "g": 28,
    "b": 167
  },
  "hsl": {
    "h": 240.432,
    "s": 71.282,
    "l": 38.235
  },
  "oklch": {
    "l": 0.35991,
    "c": 0.20759,
    "h": 269.7
  },
  "luminance": 0.03882
}

Semantic roles & 50–950 ramp

primary
#1D1CA7
secondary
#C6C758
accent
#EE3AED
background
#F8F5FC
surface
#EFE9F8
border
#CAC5D1
text
#0A0413
muted
#7C7982

Preview Lab

Preview with #1D1CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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