#1C166C#1C166C

#1C166C is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.1% C 0.141 H 275.5°. Best body text is #FFFFFF at 15.21:1 contrast (WCAG AA passes).

Color values

HEX#1C166C
RGBrgb(28, 22, 108)
HSLhsl(244, 66%, 25%)
HSVhsv(244, 80%, 42%)
CMYKcmyk(74.1%, 79.6%, 0%, 57.6%)
CIE-LABlab(14.97, 32.40, -48.43)
CIE-LCHlch(14.97, 58.27, 303.79°)
OKLaboklab(28.1% 0.0134 -0.14)
OKLCHoklch(28.1% 0.141 275.5)
XYZxyz(3.4717, 1.9031, 14.3688)
Luminance0.0190 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C166C #666C16
analogous
#163B6C #1C166C #47166C
triadic
#1C166C #6C1C16 #166C1C
tetradic
#1C166C #6C163B #666C16 #166C47
square
#1C166C #6C163B #666C16 #166C47
split-complementary
#1C166C #6C4716 #3B6C16
monochromatic
#070519 #0F0C39 #1C166C #29209F #362BD2

Accessibility & contrast

On white

15.21
#1C166C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#1C166C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C166C
15.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C166C#FFFFFF#000000##FFFFFF
##1C166C1.0015.211.3815.21
#FFFFFF15.211.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00296E
Deuteranopia (green-blind)
#00226A
Tritanopia (blue-blind)
#002F40
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #1c166c;
/* rgb */ color: rgb(28, 22, 108);
/* oklch */ color: oklch(28.1% 0.141 275.5);
Tailwind
colors: {
  custom: {
    50: '#665597',
    500: '#1c166c',
    950: '#000000',
  },
}
SCSS
$custom: #1c166c;
$custom-light: #665597;
$custom-dark: #000000;
JSON
{
  "hex": "#1c166c",
  "rgb": {
    "r": 28,
    "g": 22,
    "b": 108
  },
  "hsl": {
    "h": 244.186,
    "s": 66.154,
    "l": 25.49
  },
  "oklch": {
    "l": 0.28104,
    "c": 0.14066,
    "h": 275.5
  },
  "luminance": 0.01903
}

Semantic roles & 50–950 ramp

primary
#1C166C
secondary
#9BA23C
accent
#E93FDD
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #1C166C

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

Preview Lab → · Contrast checker → · Palette generator →

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