#1C1B89#1C1B89

#1C1B89 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.2% C 0.173 H 271.5°. Best body text is #FFFFFF at 13.40:1 contrast (WCAG AA passes).

Color values

HEX#1C1B89
RGBrgb(28, 27, 137)
HSLhsl(241, 67%, 32%)
HSVhsv(241, 80%, 54%)
CMYKcmyk(79.6%, 80.3%, 0%, 46.3%)
CIE-LABlab(19.38, 39.55, -59.70)
CIE-LCHlch(19.38, 71.61, 303.53°)
OKLaboklab(32.2% 0.0046 -0.1728)
OKLCHoklch(32.2% 0.173 271.5)
XYZxyz(5.3847, 2.8363, 23.9257)
Luminance0.0284 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C1B89 #88891B
analogous
#1B5189 #1C1B89 #531B89
triadic
#1C1B89 #891C1B #1B891C
tetradic
#1C1B89 #891B51 #88891B #1B8953
square
#1C1B89 #891B51 #88891B #1B8953
split-complementary
#1C1B89 #89531B #51891B
monochromatic
#070723 #121156 #1C1B89 #2625BC #4644DA

Accessibility & contrast

On white

13.40
#1C1B89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#1C1B89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C1B89
13.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C1B89#FFFFFF#000000##FFFFFF
##1C1B891.0013.401.5713.40
#FFFFFF13.401.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00348C
Deuteranopia (green-blind)
#002987
Tritanopia (blue-blind)
#003D52
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #1c1b89;
/* rgb */ color: rgb(28, 27, 137);
/* oklch */ color: oklch(32.2% 0.173 271.5);
Tailwind
colors: {
  custom: {
    50: '#6d5aad',
    500: '#1c1b89',
    950: '#000000',
  },
}
SCSS
$custom: #1c1b89;
$custom-light: #6d5aad;
$custom-dark: #000000;
JSON
{
  "hex": "#1c1b89",
  "rgb": {
    "r": 28,
    "g": 27,
    "b": 137
  },
  "hsl": {
    "h": 240.545,
    "s": 67.073,
    "l": 32.157
  },
  "oklch": {
    "l": 0.32204,
    "c": 0.17287,
    "h": 271.5
  },
  "luminance": 0.02837
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1C1B89

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

Preview Lab → · Contrast checker → · Palette generator →

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