#1C179E#1C179E

#1C179E is a dark, highly saturated blue. Relative luminance 0.033; OKLCH L 34.3% C 0.201 H 270.2°. Best body text is #FFFFFF at 12.61:1 contrast (WCAG AA passes).

Color values

HEX#1C179E
RGBrgb(28, 23, 158)
HSLhsl(242, 75%, 35%)
HSVhsv(242, 85%, 62%)
CMYKcmyk(82.3%, 85.4%, 0%, 38%)
CIE-LABlab(21.31, 48.31, -69.49)
CIE-LCHlch(21.31, 84.63, 304.81°)
OKLaboklab(34.3% 0.0008 -0.2011)
OKLCHoklch(34.3% 0.201 270.2)
XYZxyz(6.9547, 3.3275, 32.6168)
Luminance0.0333 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C179E #999E17
analogous
#17569E #1C179E #5F179E
triadic
#1C179E #9E1C17 #179E1C
tetradic
#1C179E #9E1756 #999E17 #179E5F
square
#1C179E #9E1756 #999E17 #179E5F
split-complementary
#1C179E #9E5F17 #569E17
monochromatic
#090733 #130F69 #1C179E #251FD3 #504BE5

Accessibility & contrast

On white

12.61
#1C179E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#1C179E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C179E
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C179E#FFFFFF#000000##FFFFFF
##1C179E1.0012.611.6712.61
#FFFFFF12.611.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003AA2
Deuteranopia (green-blind)
#002C9C
Tritanopia (blue-blind)
#00445D
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #1c179e;
/* rgb */ color: rgb(28, 23, 158);
/* oklch */ color: oklch(34.3% 0.201 270.2);
Tailwind
colors: {
  custom: {
    50: '#7359bc',
    500: '#1c179e',
    950: '#000000',
  },
}
SCSS
$custom: #1c179e;
$custom-light: #7359bc;
$custom-dark: #000000;
JSON
{
  "hex": "#1c179e",
  "rgb": {
    "r": 28,
    "g": 23,
    "b": 158
  },
  "hsl": {
    "h": 242.222,
    "s": 74.586,
    "l": 35.49
  },
  "oklch": {
    "l": 0.34297,
    "c": 0.2011,
    "h": 270.2
  },
  "luminance": 0.03328
}

Semantic roles & 50–950 ramp

primary
#1C179E
secondary
#C2C64A
accent
#F137EA
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #1C179E

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

Preview Lab → · Contrast checker → · Palette generator →

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