#1C177F#1C177F

#1C177F is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.5% C 0.164 H 272.9°. Best body text is #FFFFFF at 14.20:1 contrast (WCAG AA passes).

Color values

HEX#1C177F
RGBrgb(28, 23, 127)
HSLhsl(243, 69%, 29%)
HSVhsv(243, 82%, 50%)
CMYKcmyk(78%, 81.9%, 0%, 50.2%)
CIE-LABlab(17.42, 38.35, -56.62)
CIE-LCHlch(17.42, 68.39, 304.11°)
OKLaboklab(30.49% 0.0083 -0.1638)
OKLCHoklch(30.49% 0.164 272.9)
XYZxyz(4.6148, 2.3915, 20.2930)
Luminance0.0239 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C177F #7A7F17
analogous
#17467F #1C177F #50177F
triadic
#1C177F #7F1C17 #177F1C
tetradic
#1C177F #7F1746 #7A7F17 #177F50
square
#1C177F #7F1746 #7A7F17 #177F50
split-complementary
#1C177F #7F5017 #467F17
monochromatic
#06051A #110E4B #1C177F #2720B3 #3E36DB

Accessibility & contrast

On white

14.20
#1C177F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#1C177F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C177F
14.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C177F#FFFFFF#000000##FFFFFF
##1C177F1.0014.201.4814.20
#FFFFFF14.201.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003082
Deuteranopia (green-blind)
#00267D
Tritanopia (blue-blind)
#00374B
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #1c177f;
/* rgb */ color: rgb(28, 23, 127);
/* oklch */ color: oklch(30.5% 0.164 272.9);
Tailwind
colors: {
  custom: {
    50: '#6b57a5',
    500: '#1c177f',
    950: '#000000',
  },
}
SCSS
$custom: #1c177f;
$custom-light: #6b57a5;
$custom-dark: #000000;
JSON
{
  "hex": "#1c177f",
  "rgb": {
    "r": 28,
    "g": 23,
    "b": 127
  },
  "hsl": {
    "h": 242.885,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.30485,
    "c": 0.16404,
    "h": 272.9
  },
  "luminance": 0.02392
}

Semantic roles & 50–950 ramp

primary
#1C177F
secondary
#AEB43E
accent
#EC3CE4
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #1C177F

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

Preview Lab → · Contrast checker → · Palette generator →

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