#1C177B#1C177B

#1C177B is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.0% C 0.159 H 273.4°. Best body text is #FFFFFF at 14.40:1 contrast (WCAG AA passes).

Color values

HEX#1C177B
RGBrgb(28, 23, 123)
HSLhsl(243, 68%, 29%)
HSVhsv(243, 81%, 48%)
CMYKcmyk(77.2%, 81.3%, 0%, 51.8%)
CIE-LABlab(16.94, 37.00, -54.87)
CIE-LCHlch(16.94, 66.18, 303.99°)
OKLaboklab(30.01% 0.0093 -0.1587)
OKLCHoklch(30.01% 0.159 273.4)
XYZxyz(4.3592, 2.2893, 18.9472)
Luminance0.0229 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C177B #767B17
analogous
#17447B #1C177B #4E177B
triadic
#1C177B #7B1C17 #177B1C
tetradic
#1C177B #7B1744 #767B17 #177B4E
square
#1C177B #7B1744 #767B17 #177B4E
split-complementary
#1C177B #7B4E17 #447B17
monochromatic
#06051A #100D47 #1C177B #2821AF #3C33D9

Accessibility & contrast

On white

14.40
#1C177B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#1C177B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C177B
14.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C177B#FFFFFF#000000##FFFFFF
##1C177B1.0014.401.4614.40
#FFFFFF14.401.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E7E
Deuteranopia (green-blind)
#002579
Tritanopia (blue-blind)
#003649
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #1c177b;
/* rgb */ color: rgb(28, 23, 123);
/* oklch */ color: oklch(30.0% 0.159 273.4);
Tailwind
colors: {
  custom: {
    50: '#6a56a2',
    500: '#1c177b',
    950: '#000000',
  },
}
SCSS
$custom: #1c177b;
$custom-light: #6a56a2;
$custom-dark: #000000;
JSON
{
  "hex": "#1c177b",
  "rgb": {
    "r": 28,
    "g": 23,
    "b": 123
  },
  "hsl": {
    "h": 243,
    "s": 68.493,
    "l": 28.627
  },
  "oklch": {
    "l": 0.30006,
    "c": 0.15902,
    "h": 273.4
  },
  "luminance": 0.0229
}

Semantic roles & 50–950 ramp

primary
#1C177B
secondary
#AAB03E
accent
#EB3CE3
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08030F
muted
#7A787F

Preview Lab

Preview with #1C177B

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

Preview Lab → · Contrast checker → · Palette generator →

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