#1C166A#1C166A

#1C166A is a dark, vivid blue. Relative luminance 0.019; OKLCH L 27.9% C 0.138 H 275.8°. Best body text is #FFFFFF at 15.30:1 contrast (WCAG AA passes).

Color values

HEX#1C166A
RGBrgb(28, 22, 106)
HSLhsl(244, 66%, 25%)
HSVhsv(244, 79%, 42%)
CMYKcmyk(73.6%, 79.2%, 0%, 58.4%)
CIE-LABlab(14.74, 31.70, -47.50)
CIE-LCHlch(14.74, 57.11, 303.72°)
OKLaboklab(27.87% 0.0139 -0.1373)
OKLCHoklch(27.87% 0.138 275.8)
XYZxyz(3.3665, 1.8610, 13.8147)
Luminance0.0186 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C166A #646A16
analogous
#163A6A #1C166A #46166A
triadic
#1C166A #6A1C16 #166A1C
tetradic
#1C166A #6A163A #646A16 #166A46
square
#1C166A #6A163A #646A16 #166A46
split-complementary
#1C166A #6A4616 #3A6A16
monochromatic
#070519 #0F0B37 #1C166A #29219D #372BCF

Accessibility & contrast

On white

15.30
#1C166A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#1C166A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C166A
15.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C166A#FFFFFF#000000##FFFFFF
##1C166A1.0015.301.3715.30
#FFFFFF15.301.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00296C
Deuteranopia (green-blind)
#002169
Tritanopia (blue-blind)
#002E3F
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #1c166a;
/* rgb */ color: rgb(28, 22, 106);
/* oklch */ color: oklch(27.9% 0.138 275.8);
Tailwind
colors: {
  custom: {
    50: '#665596',
    500: '#1c166a',
    950: '#000000',
  },
}
SCSS
$custom: #1c166a;
$custom-light: #665596;
$custom-dark: #000000;
JSON
{
  "hex": "#1c166a",
  "rgb": {
    "r": 28,
    "g": 22,
    "b": 106
  },
  "hsl": {
    "h": 244.286,
    "s": 65.625,
    "l": 25.098
  },
  "oklch": {
    "l": 0.27873,
    "c": 0.13801,
    "h": 275.8
  },
  "luminance": 0.01861
}

Semantic roles & 50–950 ramp

primary
#1C166A
secondary
#99A03B
accent
#E93FDC
background
#F6F5F9
surface
#EBE8F2
border
#C6C4CC
text
#07030D
muted
#7A787E

Preview Lab

Preview with #1C166A

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

Preview Lab → · Contrast checker → · Palette generator →

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