#1C156F#1C156F

#1C156F is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.3% C 0.146 H 275.2°. Best body text is #FFFFFF at 15.15:1 contrast (WCAG AA passes).

Color values

HEX#1C156F
RGBrgb(28, 21, 111)
HSLhsl(245, 68%, 26%)
HSVhsv(245, 81%, 44%)
CMYKcmyk(74.8%, 81.1%, 0%, 56.5%)
CIE-LABlab(15.12, 34.02, -50.14)
CIE-LCHlch(15.12, 60.59, 304.16°)
OKLaboklab(28.31% 0.0132 -0.145)
OKLCHoklch(28.31% 0.146 275.2)
XYZxyz(3.6154, 1.9306, 15.2179)
Luminance0.0193 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C156F #686F15
analogous
#153B6F #1C156F #49156F
triadic
#1C156F #6F1C15 #156F1C
tetradic
#1C156F #6F153B #686F15 #156F49
square
#1C156F #6F153B #686F15 #156F49
split-complementary
#1C156F #6F4915 #3B6F15
monochromatic
#06051A #0F0B3C #1C156F #291FA2 #3628D6

Accessibility & contrast

On white

15.15
#1C156F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C156F
15.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C156F#FFFFFF#000000##FFFFFF
##1C156F1.0015.151.3915.15
#FFFFFF15.151.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.151.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1c156f;
/* rgb */ color: rgb(28, 21, 111);
/* oklch */ color: oklch(28.3% 0.146 275.2);
Tailwind
colors: {
  custom: {
    50: '#675499',
    500: '#1c156f',
    950: '#000000',
  },
}
SCSS
$custom: #1c156f;
$custom-light: #675499;
$custom-dark: #000000;
JSON
{
  "hex": "#1c156f",
  "rgb": {
    "r": 28,
    "g": 21,
    "b": 111
  },
  "hsl": {
    "h": 244.667,
    "s": 68.182,
    "l": 25.882
  },
  "oklch": {
    "l": 0.28312,
    "c": 0.14558,
    "h": 275.2
  },
  "luminance": 0.01931
}

Semantic roles & 50–950 ramp

primary
#1C156F
secondary
#9DA53A
accent
#EB3DDD
background
#F6F5F9
surface
#EBE8F2
border
#C6C4CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #1C156F

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

Preview Lab → · Contrast checker → · Palette generator →

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