#1C176B#1C176B

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

Color values

HEX#1C176B
RGBrgb(28, 23, 107)
HSLhsl(244, 65%, 25%)
HSVhsv(244, 79%, 42%)
CMYKcmyk(73.8%, 78.5%, 0%, 58%)
CIE-LABlab(15.07, 31.46, -47.61)
CIE-LCHlch(15.07, 57.07, 303.45°)
OKLaboklab(28.14% 0.0131 -0.1377)
OKLCHoklch(28.14% 0.138 275.4)
XYZxyz(3.4383, 1.9209, 14.0966)
Luminance0.0192 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C176B #666B17
analogous
#173C6B #1C176B #46176B
triadic
#1C176B #6B1C17 #176B1C
tetradic
#1C176B #6B173C #666B17 #176B46
square
#1C176B #6B173C #666B17 #176B46
split-complementary
#1C176B #6B4617 #3C6B17
monochromatic
#070519 #0F0C39 #1C176B #29229D #362DD0

Accessibility & contrast

On white

15.17
#1C176B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C176B
15.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C176B#FFFFFF#000000##FFFFFF
##1C176B1.0015.171.3815.17
#FFFFFF15.171.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00296D
Deuteranopia (green-blind)
#002269
Tritanopia (blue-blind)
#002F40
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #1c176b;
/* rgb */ color: rgb(28, 23, 107);
/* oklch */ color: oklch(28.1% 0.138 275.4);
Tailwind
colors: {
  custom: {
    50: '#665596',
    500: '#1c176b',
    950: '#000000',
  },
}
SCSS
$custom: #1c176b;
$custom-light: #665596;
$custom-dark: #000000;
JSON
{
  "hex": "#1c176b",
  "rgb": {
    "r": 28,
    "g": 23,
    "b": 107
  },
  "hsl": {
    "h": 243.571,
    "s": 64.615,
    "l": 25.49
  },
  "oklch": {
    "l": 0.28138,
    "c": 0.13828,
    "h": 275.4
  },
  "luminance": 0.01921
}

Semantic roles & 50–950 ramp

primary
#1C176B
secondary
#9BA13D
accent
#E840DE
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030D
muted
#7A787E

Preview Lab

Preview with #1C176B

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

Preview Lab → · Contrast checker → · Palette generator →

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