#1C177D#1C177D

#1C177D is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.2% C 0.162 H 273.1°. Best body text is #FFFFFF at 14.31:1 contrast (WCAG AA passes).

Color values

HEX#1C177D
RGBrgb(28, 23, 125)
HSLhsl(243, 69%, 29%)
HSVhsv(243, 82%, 49%)
CMYKcmyk(77.6%, 81.6%, 0%, 51%)
CIE-LABlab(17.18, 37.68, -55.75)
CIE-LCHlch(17.18, 67.29, 304.05°)
OKLaboklab(30.25% 0.0088 -0.1613)
OKLCHoklch(30.25% 0.162 273.1)
XYZxyz(4.4857, 2.3399, 19.6133)
Luminance0.0234 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C177D #787D17
analogous
#17457D #1C177D #4F177D
triadic
#1C177D #7D1C17 #177D1C
tetradic
#1C177D #7D1745 #787D17 #177D4F
square
#1C177D #7D1745 #787D17 #177D4F
split-complementary
#1C177D #7D4F17 #457D17
monochromatic
#06051A #100D49 #1C177D #2821B1 #3D35DA

Accessibility & contrast

On white

14.31
#1C177D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#1C177D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C177D
14.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C177D#FFFFFF#000000##FFFFFF
##1C177D1.0014.311.4714.31
#FFFFFF14.311.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F80
Deuteranopia (green-blind)
#00257B
Tritanopia (blue-blind)
#00364A
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #1c177d;
/* rgb */ color: rgb(28, 23, 125);
/* oklch */ color: oklch(30.2% 0.162 273.1);
Tailwind
colors: {
  custom: {
    50: '#6b57a4',
    500: '#1c177d',
    950: '#000000',
  },
}
SCSS
$custom: #1c177d;
$custom-light: #6b57a4;
$custom-dark: #000000;
JSON
{
  "hex": "#1c177d",
  "rgb": {
    "r": 28,
    "g": 23,
    "b": 125
  },
  "hsl": {
    "h": 242.941,
    "s": 68.919,
    "l": 29.02
  },
  "oklch": {
    "l": 0.30245,
    "c": 0.16154,
    "h": 273.1
  },
  "luminance": 0.0234
}

Semantic roles & 50–950 ramp

primary
#1C177D
secondary
#ACB23E
accent
#EC3CE3
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08030F
muted
#7A787F

Preview Lab

Preview with #1C177D

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

Preview Lab → · Contrast checker → · Palette generator →

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