#1C156E#1C156E

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

Color values

HEX#1C156E
RGBrgb(28, 21, 110)
HSLhsl(245, 68%, 26%)
HSVhsv(245, 81%, 43%)
CMYKcmyk(74.5%, 80.9%, 0%, 56.9%)
CIE-LABlab(15.00, 33.68, -49.68)
CIE-LCHlch(15.00, 60.02, 304.13°)
OKLaboklab(28.19% 0.0135 -0.1437)
OKLCHoklch(28.19% 0.144 275.4)
XYZxyz(3.5606, 1.9087, 14.9296)
Luminance0.0191 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C156E #676E15
analogous
#153A6E #1C156E #48156E
triadic
#1C156E #6E1C15 #156E1C
tetradic
#1C156E #6E153A #676E15 #156E48
square
#1C156E #6E153A #676E15 #156E48
split-complementary
#1C156E #6E4815 #3A6E15
monochromatic
#07051A #0F0B3B #1C156E #291FA1 #3629D5

Accessibility & contrast

On white

15.20
#1C156E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C156E
15.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C156E#FFFFFF#000000##FFFFFF
##1C156E1.0015.201.3815.20
#FFFFFF15.201.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.201.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1c156e;
/* rgb */ color: rgb(28, 21, 110);
/* oklch */ color: oklch(28.2% 0.144 275.4);
Tailwind
colors: {
  custom: {
    50: '#675499',
    500: '#1c156e',
    950: '#000000',
  },
}
SCSS
$custom: #1c156e;
$custom-light: #675499;
$custom-dark: #000000;
JSON
{
  "hex": "#1c156e",
  "rgb": {
    "r": 28,
    "g": 21,
    "b": 110
  },
  "hsl": {
    "h": 244.719,
    "s": 67.939,
    "l": 25.686
  },
  "oklch": {
    "l": 0.28194,
    "c": 0.14429,
    "h": 275.4
  },
  "luminance": 0.01909
}

Semantic roles & 50–950 ramp

primary
#1C156E
secondary
#9CA43A
accent
#EB3DDD
background
#F6F4F9
surface
#EBE8F2
border
#C6C4CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #1C156E

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

Preview Lab → · Contrast checker → · Palette generator →

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