#1C176D#1C176D

#1C176D is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.4% C 0.141 H 275.1°. Best body text is #FFFFFF at 15.08:1 contrast (WCAG AA passes).

Color values

HEX#1C176D
RGBrgb(28, 23, 109)
HSLhsl(243, 65%, 26%)
HSVhsv(243, 79%, 43%)
CMYKcmyk(74.3%, 78.9%, 0%, 57.3%)
CIE-LABlab(15.29, 32.16, -48.54)
CIE-LCHlch(15.29, 58.23, 303.52°)
OKLaboklab(28.37% 0.0126 -0.1404)
OKLCHoklch(28.37% 0.141 275.1)
XYZxyz(3.5447, 1.9635, 14.6572)
Luminance0.0196 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C176D #686D17
analogous
#173D6D #1C176D #47176D
triadic
#1C176D #6D1C17 #176D1C
tetradic
#1C176D #6D173D #686D17 #176D47
square
#1C176D #6D173D #686D17 #176D47
split-complementary
#1C176D #6D4717 #3D6D17
monochromatic
#060519 #0F0C3A #1C176D #2922A0 #362CD2

Accessibility & contrast

On white

15.08
#1C176D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C176D
15.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C176D#FFFFFF#000000##FFFFFF
##1C176D1.0015.081.3915.08
#FFFFFF15.081.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1c176d;
/* rgb */ color: rgb(28, 23, 109);
/* oklch */ color: oklch(28.4% 0.141 275.1);
Tailwind
colors: {
  custom: {
    50: '#665598',
    500: '#1c176d',
    950: '#000000',
  },
}
SCSS
$custom: #1c176d;
$custom-light: #665598;
$custom-dark: #000000;
JSON
{
  "hex": "#1c176d",
  "rgb": {
    "r": 28,
    "g": 23,
    "b": 109
  },
  "hsl": {
    "h": 243.488,
    "s": 65.152,
    "l": 25.882
  },
  "oklch": {
    "l": 0.28366,
    "c": 0.14094,
    "h": 275.1
  },
  "luminance": 0.01964
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1C176D

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

Preview Lab → · Contrast checker → · Palette generator →

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