#1D1CB3#1D1CB3

#1D1CB3 is a dark, highly saturated blue. Relative luminance 0.043; OKLCH L 37.5% C 0.221 H 269.1°. Best body text is #FFFFFF at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#1D1CB3
RGBrgb(29, 28, 179)
HSLhsl(240, 73%, 41%)
HSVhsv(240, 84%, 70%)
CMYKcmyk(83.8%, 84.4%, 0%, 29.8%)
CIE-LABlab(24.78, 52.58, -76.42)
CIE-LCHlch(24.78, 92.77, 304.53°)
OKLaboklab(37.46% -0.0035 -0.2212)
OKLCHoklch(37.46% 0.221 269.1)
XYZxyz(9.0559, 4.3453, 43.0005)
Luminance0.0435 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1CB3 #B2B31C
analogous
#1C67B3 #1D1CB3 #681CB3
triadic
#1D1CB3 #B31D1C #1CB31D
tetradic
#1D1CB3 #B31C67 #B2B31C #1CB368
square
#1D1CB3 #B31C67 #B2B31C #1CB368
split-complementary
#1D1CB3 #B3681C #67B31C
monochromatic
#0C0B49 #14147E #1D1CB3 #2F2EDE #6463E7

Accessibility & contrast

On white

11.23
#1D1CB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#1D1CB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D1CB3
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1CB3#FFFFFF#000000##FFFFFF
##1D1CB31.0011.231.8711.23
#FFFFFF11.231.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042B7
Deuteranopia (green-blind)
#0033B1
Tritanopia (blue-blind)
#004E6A
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #1d1cb3;
/* rgb */ color: rgb(29, 28, 179);
/* oklch */ color: oklch(37.5% 0.221 269.1);
Tailwind
colors: {
  custom: {
    50: '#795dcb',
    500: '#1d1cb3',
    950: '#000000',
  },
}
SCSS
$custom: #1d1cb3;
$custom-light: #795dcb;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1cb3",
  "rgb": {
    "r": 29,
    "g": 28,
    "b": 179
  },
  "hsl": {
    "h": 240.397,
    "s": 72.947,
    "l": 40.588
  },
  "oklch": {
    "l": 0.37463,
    "c": 0.22125,
    "h": 269.1
  },
  "luminance": 0.04346
}

Semantic roles & 50–950 ramp

primary
#1D1CB3
secondary
#CBCB5F
accent
#F038EE
background
#F8F5FC
surface
#EFE9F9
border
#CAC5D2
text
#0B0514
muted
#7C7982

Preview Lab

Preview with #1D1CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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