#1C1884#1C1884

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

Color values

HEX#1C1884
RGBrgb(28, 24, 132)
HSLhsl(242, 69%, 31%)
HSVhsv(242, 82%, 52%)
CMYKcmyk(78.8%, 81.8%, 0%, 48.2%)
CIE-LABlab(18.21, 39.49, -58.48)
CIE-LCHlch(18.21, 70.56, 304.03°)
OKLaboklab(31.21% 0.0068 -0.1692)
OKLCHoklch(31.21% 0.169 272.3)
XYZxyz(4.9690, 2.5656, 22.0586)
Luminance0.0257 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C1884 #808418
analogous
#184A84 #1C1884 #521884
triadic
#1C1884 #841C18 #18841C
tetradic
#1C1884 #84184A #808418 #188452
square
#1C1884 #84184A #808418 #188452
split-complementary
#1C1884 #845218 #4A8418
monochromatic
#06051C #110F50 #1C1884 #2721B8 #413BDB

Accessibility & contrast

On white

13.88
#1C1884 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C1884
13.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C1884#FFFFFF#000000##FFFFFF
##1C18841.0013.881.5113.88
#FFFFFF13.881.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003287
Deuteranopia (green-blind)
#002782
Tritanopia (blue-blind)
#003A4E
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #1c1884;
/* rgb */ color: rgb(28, 24, 132);
/* oklch */ color: oklch(31.2% 0.169 272.3);
Tailwind
colors: {
  custom: {
    50: '#6c58a9',
    500: '#1c1884',
    950: '#000000',
  },
}
SCSS
$custom: #1c1884;
$custom-light: #6c58a9;
$custom-dark: #000000;
JSON
{
  "hex": "#1c1884",
  "rgb": {
    "r": 28,
    "g": 24,
    "b": 132
  },
  "hsl": {
    "h": 242.222,
    "s": 69.231,
    "l": 30.588
  },
  "oklch": {
    "l": 0.31214,
    "c": 0.16937,
    "h": 272.3
  },
  "luminance": 0.02566
}

Semantic roles & 50–950 ramp

primary
#1C1884
secondary
#B3B840
accent
#EC3CE6
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F

Preview Lab

Preview with #1C1884

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

Preview Lab → · Contrast checker → · Palette generator →

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