#1C166B#1C166B

#1C166B is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.0% C 0.139 H 275.6°. Best body text is #FFFFFF at 15.26:1 contrast (WCAG AA passes).

Color values

HEX#1C166B
RGBrgb(28, 22, 107)
HSLhsl(244, 66%, 25%)
HSVhsv(244, 79%, 42%)
CMYKcmyk(73.8%, 79.4%, 0%, 58%)
CIE-LABlab(14.85, 32.05, -47.96)
CIE-LCHlch(14.85, 57.69, 303.76°)
OKLaboklab(27.99% 0.0137 -0.1387)
OKLCHoklch(27.99% 0.139 275.6)
XYZxyz(3.4188, 1.8819, 14.0901)
Luminance0.0188 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C166B #656B16
analogous
#163B6B #1C166B #46166B
triadic
#1C166B #6B1C16 #166B1C
tetradic
#1C166B #6B163B #656B16 #166B46
square
#1C166B #6B163B #656B16 #166B46
split-complementary
#1C166B #6B4616 #3B6B16
monochromatic
#070519 #0F0C38 #1C166B #29209E #372BD1

Accessibility & contrast

On white

15.26
#1C166B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C166B
15.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C166B#FFFFFF#000000##FFFFFF
##1C166B1.0015.261.3815.26
#FFFFFF15.261.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00296D
Deuteranopia (green-blind)
#002269
Tritanopia (blue-blind)
#002F3F
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #1c166b;
/* rgb */ color: rgb(28, 22, 107);
/* oklch */ color: oklch(28.0% 0.139 275.6);
Tailwind
colors: {
  custom: {
    50: '#665596',
    500: '#1c166b',
    950: '#000000',
  },
}
SCSS
$custom: #1c166b;
$custom-light: #665596;
$custom-dark: #000000;
JSON
{
  "hex": "#1c166b",
  "rgb": {
    "r": 28,
    "g": 22,
    "b": 107
  },
  "hsl": {
    "h": 244.235,
    "s": 65.891,
    "l": 25.294
  },
  "oklch": {
    "l": 0.27988,
    "c": 0.13934,
    "h": 275.6
  },
  "luminance": 0.01882
}

Semantic roles & 50–950 ramp

primary
#1C166B
secondary
#9AA13B
accent
#E93FDD
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030D
muted
#7A787E

Preview Lab

Preview with #1C166B

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

Preview Lab → · Contrast checker → · Palette generator →

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