#1C1B87#1C1B87

#1C1B87 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.0% C 0.170 H 271.7°. Best body text is #FFFFFF at 13.50:1 contrast (WCAG AA passes).

Color values

HEX#1C1B87
RGBrgb(28, 27, 135)
HSLhsl(241, 67%, 32%)
HSVhsv(241, 80%, 53%)
CMYKcmyk(79.3%, 80%, 0%, 47.1%)
CIE-LABlab(19.14, 38.87, -58.83)
CIE-LCHlch(19.14, 70.52, 303.45°)
OKLaboklab(31.97% 0.0051 -0.1703)
OKLCHoklch(31.97% 0.17 271.7)
XYZxyz(5.2425, 2.7794, 23.1772)
Luminance0.0278 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C1B87 #86871B
analogous
#1B5087 #1C1B87 #521B87
triadic
#1C1B87 #871C1B #1B871C
tetradic
#1C1B87 #871B50 #86871B #1B8752
square
#1C1B87 #871B50 #86871B #1B8752
split-complementary
#1C1B87 #87521B #50871B
monochromatic
#070721 #111154 #1C1B87 #2725BA #4443D9

Accessibility & contrast

On white

13.50
#1C1B87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#1C1B87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C1B87
13.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C1B87#FFFFFF#000000##FFFFFF
##1C1B871.0013.501.5613.50
#FFFFFF13.501.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00348A
Deuteranopia (green-blind)
#002985
Tritanopia (blue-blind)
#003C51
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1c1b87;
/* rgb */ color: rgb(28, 27, 135);
/* oklch */ color: oklch(32.0% 0.170 271.7);
Tailwind
colors: {
  custom: {
    50: '#6d5aab',
    500: '#1c1b87',
    950: '#000000',
  },
}
SCSS
$custom: #1c1b87;
$custom-light: #6d5aab;
$custom-dark: #000000;
JSON
{
  "hex": "#1c1b87",
  "rgb": {
    "r": 28,
    "g": 27,
    "b": 135
  },
  "hsl": {
    "h": 240.556,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.31967,
    "c": 0.17038,
    "h": 271.7
  },
  "luminance": 0.0278
}

Semantic roles & 50–950 ramp

primary
#1C1B87
secondary
#B9BA44
accent
#EA3EE8
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1C1B87

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

Preview Lab → · Contrast checker → · Palette generator →

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