#1C168D#1C168D

#1C168D is a dark, vivid blue. Relative luminance 0.027; OKLCH L 32.1% C 0.182 H 271.6°. Best body text is #FFFFFF at 13.56:1 contrast (WCAG AA passes).

Color values

HEX#1C168D
RGBrgb(28, 22, 141)
HSLhsl(243, 73%, 32%)
HSVhsv(243, 84%, 55%)
CMYKcmyk(80.1%, 84.4%, 0%, 44.7%)
CIE-LABlab(18.98, 43.44, -62.85)
CIE-LCHlch(18.98, 76.40, 304.65°)
OKLaboklab(32.07% 0.0052 -0.1819)
OKLCHoklch(32.07% 0.182 271.6)
XYZxyz(5.5719, 2.7432, 25.4300)
Luminance0.0274 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C168D #878D16
analogous
#164C8D #1C168D #58168D
triadic
#1C168D #8D1C16 #168D1C
tetradic
#1C168D #8D164C #878D16 #168D58
square
#1C168D #8D164C #878D16 #168D58
split-complementary
#1C168D #8D5816 #4C8D16
monochromatic
#070523 #110E58 #1C168D #271EC2 #453DE1

Accessibility & contrast

On white

13.56
#1C168D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#1C168D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C168D
13.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C168D#FFFFFF#000000##FFFFFF
##1C168D1.0013.561.5513.56
#FFFFFF13.561.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003490
Deuteranopia (green-blind)
#00288B
Tritanopia (blue-blind)
#003C53
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1c168d;
/* rgb */ color: rgb(28, 22, 141);
/* oklch */ color: oklch(32.1% 0.182 271.6);
Tailwind
colors: {
  custom: {
    50: '#6f57b0',
    500: '#1c168d',
    950: '#000000',
  },
}
SCSS
$custom: #1c168d;
$custom-light: #6f57b0;
$custom-dark: #000000;
JSON
{
  "hex": "#1c168d",
  "rgb": {
    "r": 28,
    "g": 22,
    "b": 141
  },
  "hsl": {
    "h": 243.025,
    "s": 73.006,
    "l": 31.961
  },
  "oklch": {
    "l": 0.32073,
    "c": 0.18193,
    "h": 271.6
  },
  "luminance": 0.02744
}

Semantic roles & 50–950 ramp

primary
#1C168D
secondary
#BAC13E
accent
#F038E6
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090311
muted
#7B7880

Preview Lab

Preview with #1C168D

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

Preview Lab → · Contrast checker → · Palette generator →

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