#1C176C#1C176C

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

Color values

HEX#1C176C
RGBrgb(28, 23, 108)
HSLhsl(244, 65%, 26%)
HSVhsv(244, 79%, 42%)
CMYKcmyk(74.1%, 78.7%, 0%, 57.6%)
CIE-LABlab(15.18, 31.81, -48.08)
CIE-LCHlch(15.18, 57.65, 303.49°)
OKLaboklab(28.25% 0.0129 -0.139)
OKLCHoklch(28.25% 0.14 275.3)
XYZxyz(3.4912, 1.9420, 14.3753)
Luminance0.0194 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C176C #676C17
analogous
#173C6C #1C176C #46176C
triadic
#1C176C #6C1C17 #176C1C
tetradic
#1C176C #6C173C #676C17 #176C46
square
#1C176C #6C173C #676C17 #176C46
split-complementary
#1C176C #6C4617 #3C6C17
monochromatic
#070519 #0F0C3A #1C176C #29229E #362CD1

Accessibility & contrast

On white

15.13
#1C176C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C176C
15.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C176C#FFFFFF#000000##FFFFFF
##1C176C1.0015.131.3915.13
#FFFFFF15.131.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A6E
Deuteranopia (green-blind)
#00226A
Tritanopia (blue-blind)
#003040
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #1c176c;
/* rgb */ color: rgb(28, 23, 108);
/* oklch */ color: oklch(28.3% 0.140 275.3);
Tailwind
colors: {
  custom: {
    50: '#665597',
    500: '#1c176c',
    950: '#000000',
  },
}
SCSS
$custom: #1c176c;
$custom-light: #665597;
$custom-dark: #000000;
JSON
{
  "hex": "#1c176c",
  "rgb": {
    "r": 28,
    "g": 23,
    "b": 108
  },
  "hsl": {
    "h": 243.529,
    "s": 64.885,
    "l": 25.686
  },
  "oklch": {
    "l": 0.28252,
    "c": 0.13961,
    "h": 275.3
  },
  "luminance": 0.01942
}

Semantic roles & 50–950 ramp

primary
#1C176C
secondary
#9CA23D
accent
#E840DE
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #1C176C

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

Preview Lab → · Contrast checker → · Palette generator →

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