#1C156C#1C156C

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

Color values

HEX#1C156C
RGBrgb(28, 21, 108)
HSLhsl(245, 67%, 25%)
HSVhsv(245, 81%, 42%)
CMYKcmyk(74.1%, 80.6%, 0%, 57.6%)
CIE-LABlab(14.77, 32.99, -48.77)
CIE-LCHlch(14.77, 58.87, 304.08°)
OKLaboklab(27.96% 0.014 -0.141)
OKLCHoklch(27.96% 0.142 275.7)
XYZxyz(3.4529, 1.8656, 14.3626)
Luminance0.0187 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C156C #656C15
analogous
#15396C #1C156C #48156C
triadic
#1C156C #6C1C15 #156C1C
tetradic
#1C156C #6C1539 #656C15 #156C48
square
#1C156C #6C1539 #656C15 #156C48
split-complementary
#1C156C #6C4815 #396C15
monochromatic
#07051A #0F0B39 #1C156C #291F9F #3729D2

Accessibility & contrast

On white

15.29
#1C156C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C156C
15.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C156C#FFFFFF#000000##FFFFFF
##1C156C1.0015.291.3715.29
#FFFFFF15.291.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.291.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1c156c;
/* rgb */ color: rgb(28, 21, 108);
/* oklch */ color: oklch(28.0% 0.142 275.7);
Tailwind
colors: {
  custom: {
    50: '#665497',
    500: '#1c156c',
    950: '#000000',
  },
}
SCSS
$custom: #1c156c;
$custom-light: #665497;
$custom-dark: #000000;
JSON
{
  "hex": "#1c156c",
  "rgb": {
    "r": 28,
    "g": 21,
    "b": 108
  },
  "hsl": {
    "h": 244.828,
    "s": 67.442,
    "l": 25.294
  },
  "oklch": {
    "l": 0.2796,
    "c": 0.14168,
    "h": 275.7
  },
  "luminance": 0.01866
}

Semantic roles & 50–950 ramp

primary
#1C156C
secondary
#9AA33A
accent
#EA3DDC
background
#F6F4F9
surface
#EBE8F2
border
#C6C4CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #1C156C

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

Preview Lab → · Contrast checker → · Palette generator →

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