#1C156A#1C156A

#1C156A is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.7% C 0.139 H 276.0°. Best body text is #FFFFFF at 15.39:1 contrast (WCAG AA passes).

Color values

HEX#1C156A
RGBrgb(28, 21, 106)
HSLhsl(245, 67%, 25%)
HSVhsv(245, 80%, 42%)
CMYKcmyk(73.6%, 80.2%, 0%, 58.4%)
CIE-LABlab(14.53, 32.29, -47.84)
CIE-LCHlch(14.53, 57.72, 304.02°)
OKLaboklab(27.73% 0.0145 -0.1383)
OKLCHoklch(27.73% 0.139 276)
XYZxyz(3.3477, 1.8235, 13.8084)
Luminance0.0182 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C156A #636A15
analogous
#15396A #1C156A #46156A
triadic
#1C156A #6A1C15 #156A1C
tetradic
#1C156A #6A1539 #636A15 #156A46
square
#1C156A #6A1539 #636A15 #156A46
split-complementary
#1C156A #6A4615 #396A15
monochromatic
#07051A #0F0B37 #1C156A #291F9D #3729D0

Accessibility & contrast

On white

15.39
#1C156A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#1C156A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C156A
15.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C156A#FFFFFF#000000##FFFFFF
##1C156A1.0015.391.3615.39
#FFFFFF15.391.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.391.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1c156a;
/* rgb */ color: rgb(28, 21, 106);
/* oklch */ color: oklch(27.7% 0.139 276.0);
Tailwind
colors: {
  custom: {
    50: '#665496',
    500: '#1c156a',
    950: '#000000',
  },
}
SCSS
$custom: #1c156a;
$custom-light: #665496;
$custom-dark: #000000;
JSON
{
  "hex": "#1c156a",
  "rgb": {
    "r": 28,
    "g": 21,
    "b": 106
  },
  "hsl": {
    "h": 244.941,
    "s": 66.929,
    "l": 24.902
  },
  "oklch": {
    "l": 0.27726,
    "c": 0.13905,
    "h": 276
  },
  "luminance": 0.01824
}

Semantic roles & 50–950 ramp

primary
#1C156A
secondary
#98A13A
accent
#EA3EDC
background
#F6F4F9
surface
#EBE8F2
border
#C6C4CC
text
#07030D
muted
#7A787E

Preview Lab

Preview with #1C156A

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

Preview Lab → · Contrast checker → · Palette generator →

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