#1C1678#1C1678

#1C1678 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.5% C 0.156 H 273.8°. Best body text is #FFFFFF at 14.63:1 contrast (WCAG AA passes).

Color values

HEX#1C1678
RGBrgb(28, 22, 120)
HSLhsl(244, 69%, 28%)
HSVhsv(244, 82%, 47%)
CMYKcmyk(76.7%, 81.7%, 0%, 52.9%)
CIE-LABlab(16.39, 36.54, -53.86)
CIE-LCHlch(16.39, 65.08, 304.15°)
OKLaboklab(29.52% 0.0105 -0.1558)
OKLCHoklch(29.52% 0.156 273.8)
XYZxyz(4.1548, 2.1763, 17.9668)
Luminance0.0218 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C1678 #727816
analogous
#164178 #1C1678 #4D1678
triadic
#1C1678 #781C16 #16781C
tetradic
#1C1678 #781641 #727816 #16784D
square
#1C1678 #781641 #727816 #16784D
split-complementary
#1C1678 #784D16 #417816
monochromatic
#06051A #100D44 #1C1678 #281FAC #3A2FD9

Accessibility & contrast

On white

14.63
#1C1678 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#1C1678 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C1678
14.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C1678#FFFFFF#000000##FFFFFF
##1C16781.0014.631.4414.63
#FFFFFF14.631.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D7B
Deuteranopia (green-blind)
#002476
Tritanopia (blue-blind)
#003447
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #1c1678;
/* rgb */ color: rgb(28, 22, 120);
/* oklch */ color: oklch(29.5% 0.156 273.8);
Tailwind
colors: {
  custom: {
    50: '#6956a0',
    500: '#1c1678',
    950: '#000000',
  },
}
SCSS
$custom: #1c1678;
$custom-light: #6956a0;
$custom-dark: #000000;
JSON
{
  "hex": "#1c1678",
  "rgb": {
    "r": 28,
    "g": 22,
    "b": 120
  },
  "hsl": {
    "h": 243.673,
    "s": 69.014,
    "l": 27.843
  },
  "oklch": {
    "l": 0.29515,
    "c": 0.15616,
    "h": 273.8
  },
  "luminance": 0.02177
}

Semantic roles & 50–950 ramp

primary
#1C1678
secondary
#A6AD3C
accent
#EC3CE1
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#07030F
muted
#7A787F

Preview Lab

Preview with #1C1678

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

Preview Lab → · Contrast checker → · Palette generator →

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