#1C1886#1C1886

#1C1886 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.5% C 0.172 H 272.1°. Best body text is #FFFFFF at 13.78:1 contrast (WCAG AA passes).

Color values

HEX#1C1886
RGBrgb(28, 24, 134)
HSLhsl(242, 70%, 31%)
HSVhsv(242, 82%, 53%)
CMYKcmyk(79.1%, 82.1%, 0%, 47.5%)
CIE-LABlab(18.46, 40.16, -59.33)
CIE-LCHlch(18.46, 71.65, 304.09°)
OKLaboklab(31.46% 0.0063 -0.1717)
OKLCHoklch(31.46% 0.172 272.1)
XYZxyz(5.1072, 2.6208, 22.7863)
Luminance0.0262 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C1886 #828618
analogous
#184B86 #1C1886 #531886
triadic
#1C1886 #861C18 #18861C
tetradic
#1C1886 #86184B #828618 #188653
square
#1C1886 #86184B #828618 #188653
split-complementary
#1C1886 #865318 #4B8618
monochromatic
#06051E #110F52 #1C1886 #2721BA #423CDC

Accessibility & contrast

On white

13.78
#1C1886 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#1C1886 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C1886
13.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C1886#FFFFFF#000000##FFFFFF
##1C18861.0013.781.5213.78
#FFFFFF13.781.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.781.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1c1886;
/* rgb */ color: rgb(28, 24, 134);
/* oklch */ color: oklch(31.5% 0.172 272.1);
Tailwind
colors: {
  custom: {
    50: '#6d58aa',
    500: '#1c1886',
    950: '#000000',
  },
}
SCSS
$custom: #1c1886;
$custom-light: #6d58aa;
$custom-dark: #000000;
JSON
{
  "hex": "#1c1886",
  "rgb": {
    "r": 28,
    "g": 24,
    "b": 134
  },
  "hsl": {
    "h": 242.182,
    "s": 69.62,
    "l": 30.98
  },
  "oklch": {
    "l": 0.31455,
    "c": 0.17184,
    "h": 272.1
  },
  "luminance": 0.02621
}

Semantic roles & 50–950 ramp

primary
#1C1886
secondary
#B5BA40
accent
#EC3BE6
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F

Preview Lab

Preview with #1C1886

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

Preview Lab → · Contrast checker → · Palette generator →

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