#1C166D#1C166D

#1C166D is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.2% C 0.142 H 275.3°. Best body text is #FFFFFF at 15.16:1 contrast (WCAG AA passes).

Color values

HEX#1C166D
RGBrgb(28, 22, 109)
HSLhsl(244, 66%, 26%)
HSVhsv(244, 80%, 43%)
CMYKcmyk(74.3%, 79.8%, 0%, 57.3%)
CIE-LABlab(15.09, 32.75, -48.89)
CIE-LCHlch(15.09, 58.85, 303.82°)
OKLaboklab(28.22% 0.0132 -0.1414)
OKLCHoklch(28.22% 0.142 275.3)
XYZxyz(3.5252, 1.9245, 14.6507)
Luminance0.0192 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C166D #676D16
analogous
#163B6D #1C166D #47166D
triadic
#1C166D #6D1C16 #166D1C
tetradic
#1C166D #6D163B #676D16 #166D47
square
#1C166D #6D163B #676D16 #166D47
split-complementary
#1C166D #6D4716 #3B6D16
monochromatic
#070519 #0F0C3A #1C166D #2920A0 #362BD3

Accessibility & contrast

On white

15.16
#1C166D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#1C166D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C166D
15.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C166D#FFFFFF#000000##FFFFFF
##1C166D1.0015.161.3915.16
#FFFFFF15.161.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A6F
Deuteranopia (green-blind)
#00226B
Tritanopia (blue-blind)
#003041
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #1c166d;
/* rgb */ color: rgb(28, 22, 109);
/* oklch */ color: oklch(28.2% 0.142 275.3);
Tailwind
colors: {
  custom: {
    50: '#665598',
    500: '#1c166d',
    950: '#000000',
  },
}
SCSS
$custom: #1c166d;
$custom-light: #665598;
$custom-dark: #000000;
JSON
{
  "hex": "#1c166d",
  "rgb": {
    "r": 28,
    "g": 22,
    "b": 109
  },
  "hsl": {
    "h": 244.138,
    "s": 66.412,
    "l": 25.686
  },
  "oklch": {
    "l": 0.28219,
    "c": 0.14197,
    "h": 275.3
  },
  "luminance": 0.01925
}

Semantic roles & 50–950 ramp

primary
#1C166D
secondary
#9CA33C
accent
#E93EDE
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #1C166D

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

Preview Lab → · Contrast checker → · Palette generator →

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