#1C1686#1C1686

#1C1686 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 31.2% C 0.174 H 272.3°. Best body text is #FFFFFF at 13.92:1 contrast (WCAG AA passes).

Color values

HEX#1C1686
RGBrgb(28, 22, 134)
HSLhsl(243, 72%, 31%)
HSVhsv(243, 84%, 53%)
CMYKcmyk(79.1%, 83.6%, 0%, 47.5%)
CIE-LABlab(18.10, 41.18, -59.92)
CIE-LCHlch(18.10, 72.70, 304.50°)
OKLaboklab(31.21% 0.0069 -0.1734)
OKLCHoklch(31.21% 0.174 272.3)
XYZxyz(5.0674, 2.5414, 22.7731)
Luminance0.0254 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C1686 #808616
analogous
#164886 #1C1686 #541686
triadic
#1C1686 #861C16 #16861C
tetradic
#1C1686 #861648 #808616 #168654
square
#1C1686 #861648 #808616 #168654
split-complementary
#1C1686 #865416 #488616
monochromatic
#06051D #110D51 #1C1686 #271FBB #4138DE

Accessibility & contrast

On white

13.92
#1C1686 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C1686
13.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C1686#FFFFFF#000000##FFFFFF
##1C16861.0013.921.5113.92
#FFFFFF13.921.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003189
Deuteranopia (green-blind)
#002784
Tritanopia (blue-blind)
#003A4F
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #1c1686;
/* rgb */ color: rgb(28, 22, 134);
/* oklch */ color: oklch(31.2% 0.174 272.3);
Tailwind
colors: {
  custom: {
    50: '#6d57ab',
    500: '#1c1686',
    950: '#000000',
  },
}
SCSS
$custom: #1c1686;
$custom-light: #6d57ab;
$custom-dark: #000000;
JSON
{
  "hex": "#1c1686",
  "rgb": {
    "r": 28,
    "g": 22,
    "b": 134
  },
  "hsl": {
    "h": 243.214,
    "s": 71.795,
    "l": 30.588
  },
  "oklch": {
    "l": 0.31211,
    "c": 0.17351,
    "h": 272.3
  },
  "luminance": 0.02542
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1C1686

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

Preview Lab → · Contrast checker → · Palette generator →

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