#1C177A#1C177A

#1C177A is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.9% C 0.158 H 273.5°. Best body text is #FFFFFF at 14.45:1 contrast (WCAG AA passes).

Color values

HEX#1C177A
RGBrgb(28, 23, 122)
HSLhsl(243, 68%, 28%)
HSVhsv(243, 81%, 48%)
CMYKcmyk(77%, 81.1%, 0%, 52.2%)
CIE-LABlab(16.82, 36.66, -54.43)
CIE-LCHlch(16.82, 65.63, 303.97°)
OKLaboklab(29.89% 0.0096 -0.1575)
OKLCHoklch(29.89% 0.158 273.5)
XYZxyz(4.2970, 2.2644, 18.6192)
Luminance0.0226 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C177A #757A17
analogous
#17437A #1C177A #4D177A
triadic
#1C177A #7A1C17 #177A1C
tetradic
#1C177A #7A1743 #757A17 #177A4D
square
#1C177A #7A1743 #757A17 #177A4D
split-complementary
#1C177A #7A4D17 #437A17
monochromatic
#06051A #100D47 #1C177A #2821AD #3B33D9

Accessibility & contrast

On white

14.45
#1C177A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#1C177A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C177A
14.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C177A#FFFFFF#000000##FFFFFF
##1C177A1.0014.451.4514.45
#FFFFFF14.451.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E7D
Deuteranopia (green-blind)
#002578
Tritanopia (blue-blind)
#003548
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #1c177a;
/* rgb */ color: rgb(28, 23, 122);
/* oklch */ color: oklch(29.9% 0.158 273.5);
Tailwind
colors: {
  custom: {
    50: '#6a56a2',
    500: '#1c177a',
    950: '#000000',
  },
}
SCSS
$custom: #1c177a;
$custom-light: #6a56a2;
$custom-dark: #000000;
JSON
{
  "hex": "#1c177a",
  "rgb": {
    "r": 28,
    "g": 23,
    "b": 122
  },
  "hsl": {
    "h": 243.03,
    "s": 68.276,
    "l": 28.431
  },
  "oklch": {
    "l": 0.29887,
    "c": 0.15776,
    "h": 273.5
  },
  "luminance": 0.02265
}

Semantic roles & 50–950 ramp

primary
#1C177A
secondary
#A9AF3E
accent
#EB3DE2
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08030F
muted
#7A787F

Preview Lab

Preview with #1C177A

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

Preview Lab → · Contrast checker → · Palette generator →

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