#1C168C#1C168C

#1C168C is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.9% C 0.181 H 271.7°. Best body text is #FFFFFF at 13.61:1 contrast (WCAG AA passes).

Color values

HEX#1C168C
RGBrgb(28, 22, 140)
HSLhsl(243, 73%, 32%)
HSVhsv(243, 84%, 55%)
CMYKcmyk(80%, 84.3%, 0%, 45.1%)
CIE-LABlab(18.86, 43.12, -62.43)
CIE-LCHlch(18.86, 75.88, 304.63°)
OKLaboklab(31.95% 0.0054 -0.1807)
OKLCHoklch(31.95% 0.181 271.7)
XYZxyz(5.4978, 2.7135, 25.0399)
Luminance0.0271 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C168C #868C16
analogous
#164B8C #1C168C #57168C
triadic
#1C168C #8C1C16 #168C1C
tetradic
#1C168C #8C164B #868C16 #168C57
square
#1C168C #8C164B #868C16 #168C57
split-complementary
#1C168C #8C5716 #4B8C16
monochromatic
#070522 #110E57 #1C168C #271EC1 #443CE0

Accessibility & contrast

On white

13.61
#1C168C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#1C168C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C168C
13.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C168C#FFFFFF#000000##FFFFFF
##1C168C1.0013.611.5413.61
#FFFFFF13.611.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00338F
Deuteranopia (green-blind)
#00288A
Tritanopia (blue-blind)
#003C52
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1c168c;
/* rgb */ color: rgb(28, 22, 140);
/* oklch */ color: oklch(31.9% 0.181 271.7);
Tailwind
colors: {
  custom: {
    50: '#6f57af',
    500: '#1c168c',
    950: '#000000',
  },
}
SCSS
$custom: #1c168c;
$custom-light: #6f57af;
$custom-dark: #000000;
JSON
{
  "hex": "#1c168c",
  "rgb": {
    "r": 28,
    "g": 22,
    "b": 140
  },
  "hsl": {
    "h": 243.051,
    "s": 72.84,
    "l": 31.765
  },
  "oklch": {
    "l": 0.31949,
    "c": 0.18074,
    "h": 271.7
  },
  "luminance": 0.02714
}

Semantic roles & 50–950 ramp

primary
#1C168C
secondary
#B9C03E
accent
#F038E6
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090311
muted
#7B7880

Preview Lab

Preview with #1C168C

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

Preview Lab → · Contrast checker → · Palette generator →

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