#1C1687#1C1687

#1C1687 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.3% C 0.175 H 272.2°. Best body text is #FFFFFF at 13.87:1 contrast (WCAG AA passes).

Color values

HEX#1C1687
RGBrgb(28, 22, 135)
HSLhsl(243, 72%, 31%)
HSVhsv(243, 84%, 53%)
CMYKcmyk(79.3%, 83.7%, 0%, 47.1%)
CIE-LABlab(18.23, 41.51, -60.34)
CIE-LCHlch(18.23, 73.24, 304.52°)
OKLaboklab(31.33% 0.0067 -0.1746)
OKLCHoklch(31.33% 0.175 272.2)
XYZxyz(5.1375, 2.5694, 23.1422)
Luminance0.0257 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C1687 #818716
analogous
#164887 #1C1687 #541687
triadic
#1C1687 #871C16 #16871C
tetradic
#1C1687 #871648 #818716 #168754
square
#1C1687 #871648 #818716 #168754
split-complementary
#1C1687 #875416 #488716
monochromatic
#06051E #110D52 #1C1687 #271FBC #4239DF

Accessibility & contrast

On white

13.87
#1C1687 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#1C1687 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C1687
13.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C1687#FFFFFF#000000##FFFFFF
##1C16871.0013.871.5113.87
#FFFFFF13.871.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00328A
Deuteranopia (green-blind)
#002785
Tritanopia (blue-blind)
#003A50
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #1c1687;
/* rgb */ color: rgb(28, 22, 135);
/* oklch */ color: oklch(31.3% 0.175 272.2);
Tailwind
colors: {
  custom: {
    50: '#6d57ab',
    500: '#1c1687',
    950: '#000000',
  },
}
SCSS
$custom: #1c1687;
$custom-light: #6d57ab;
$custom-dark: #000000;
JSON
{
  "hex": "#1c1687",
  "rgb": {
    "r": 28,
    "g": 22,
    "b": 135
  },
  "hsl": {
    "h": 243.186,
    "s": 71.975,
    "l": 30.784
  },
  "oklch": {
    "l": 0.31333,
    "c": 0.17473,
    "h": 272.2
  },
  "luminance": 0.0257
}

Semantic roles & 50–950 ramp

primary
#1C1687
secondary
#B4BB3E
accent
#EF39E5
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F

Preview Lab

Preview with #1C1687

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

Preview Lab → · Contrast checker → · Palette generator →

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