#1C2087#1C2087

#1C2087 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.7% C 0.166 H 271.1°. Best body text is #FFFFFF at 13.08:1 contrast (WCAG AA passes).

Color values

HEX#1C2087
RGBrgb(28, 32, 135)
HSLhsl(238, 66%, 32%)
HSVhsv(238, 79%, 53%)
CMYKcmyk(79.3%, 76.3%, 0%, 47.1%)
CIE-LABlab(20.16, 35.97, -57.15)
CIE-LCHlch(20.16, 67.52, 302.19°)
OKLaboklab(32.69% 0.0031 -0.1655)
OKLCHoklch(32.69% 0.166 271.1)
XYZxyz(5.3671, 3.0286, 23.2187)
Luminance0.0303 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2087 #87831C
analogous
#1C5687 #1C2087 #4E1C87
triadic
#1C2087 #871C20 #20871C
tetradic
#1C2087 #871C56 #87831C #1C874E
square
#1C2087 #871C56 #87831C #1C874E
split-complementary
#1C2087 #874E1C #56871C
monochromatic
#070822 #111454 #1C2087 #272CBA #454AD8

Accessibility & contrast

On white

13.08
#1C2087 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#1C2087 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C2087
13.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2087#FFFFFF#000000##FFFFFF
##1C20871.0013.081.6113.08
#FFFFFF13.081.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00368A
Deuteranopia (green-blind)
#002B85
Tritanopia (blue-blind)
#003E52
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1c2087;
/* rgb */ color: rgb(28, 32, 135);
/* oklch */ color: oklch(32.7% 0.166 271.1);
Tailwind
colors: {
  custom: {
    50: '#6c5dab',
    500: '#1c2087',
    950: '#000000',
  },
}
SCSS
$custom: #1c2087;
$custom-light: #6c5dab;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2087",
  "rgb": {
    "r": 28,
    "g": 32,
    "b": 135
  },
  "hsl": {
    "h": 237.757,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.32688,
    "c": 0.1655,
    "h": 271.1
  },
  "luminance": 0.03029
}

Semantic roles & 50–950 ramp

primary
#1C2087
secondary
#BAB645
accent
#E23FE9
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1C2087

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

Preview Lab → · Contrast checker → · Palette generator →

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