#1C1E87#1C1E87

#1C1E87 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.4% C 0.168 H 271.3°. Best body text is #FFFFFF at 13.25:1 contrast (WCAG AA passes).

Color values

HEX#1C1E87
RGBrgb(28, 30, 135)
HSLhsl(239, 66%, 32%)
HSVhsv(239, 79%, 53%)
CMYKcmyk(79.3%, 77.8%, 0%, 47.1%)
CIE-LABlab(19.74, 37.16, -57.84)
CIE-LCHlch(19.74, 68.75, 302.72°)
OKLaboklab(32.39% 0.0039 -0.1675)
OKLCHoklch(32.39% 0.168 271.3)
XYZxyz(5.3149, 2.9241, 23.2013)
Luminance0.0293 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C1E87 #87851C
analogous
#1C5387 #1C1E87 #501C87
triadic
#1C1E87 #871C1E #1E871C
tetradic
#1C1E87 #871C53 #87851C #1C8750
square
#1C1E87 #871C53 #87851C #1C8750
split-complementary
#1C1E87 #87501C #53871C
monochromatic
#070722 #111354 #1C1E87 #2729BA #4548D8

Accessibility & contrast

On white

13.25
#1C1E87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#1C1E87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C1E87
13.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C1E87#FFFFFF#000000##FFFFFF
##1C1E871.0013.251.5913.25
#FFFFFF13.251.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00358A
Deuteranopia (green-blind)
#002A85
Tritanopia (blue-blind)
#003D51
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1c1e87;
/* rgb */ color: rgb(28, 30, 135);
/* oklch */ color: oklch(32.4% 0.168 271.3);
Tailwind
colors: {
  custom: {
    50: '#6d5bab',
    500: '#1c1e87',
    950: '#000000',
  },
}
SCSS
$custom: #1c1e87;
$custom-light: #6d5bab;
$custom-dark: #000000;
JSON
{
  "hex": "#1c1e87",
  "rgb": {
    "r": 28,
    "g": 30,
    "b": 135
  },
  "hsl": {
    "h": 238.879,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.3239,
    "c": 0.16752,
    "h": 271.3
  },
  "luminance": 0.02925
}

Semantic roles & 50–950 ramp

primary
#1C1E87
secondary
#BAB845
accent
#E53FE9
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1C1E87

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

Preview Lab → · Contrast checker → · Palette generator →

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