#1C176F#1C176F

#1C176F is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.6% C 0.144 H 274.9°. Best body text is #FFFFFF at 14.99:1 contrast (WCAG AA passes).

Color values

HEX#1C176F
RGBrgb(28, 23, 111)
HSLhsl(243, 66%, 26%)
HSVhsv(243, 79%, 44%)
CMYKcmyk(74.8%, 79.3%, 0%, 56.5%)
CIE-LABlab(15.52, 32.87, -49.47)
CIE-LCHlch(15.52, 59.39, 303.60°)
OKLaboklab(28.6% 0.0122 -0.1431)
OKLCHoklch(28.6% 0.144 274.9)
XYZxyz(3.6536, 2.0070, 15.2307)
Luminance0.0201 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C176F #6A6F17
analogous
#173E6F #1C176F #48176F
triadic
#1C176F #6F1C17 #176F1C
tetradic
#1C176F #6F173E #6A6F17 #176F48
square
#1C176F #6F173E #6A6F17 #176F48
split-complementary
#1C176F #6F4817 #3E6F17
monochromatic
#060519 #0F0C3C #1C176F #2922A2 #362DD3

Accessibility & contrast

On white

14.99
#1C176F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#1C176F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C176F
14.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C176F#FFFFFF#000000##FFFFFF
##1C176F1.0014.991.4014.99
#FFFFFF14.991.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B72
Deuteranopia (green-blind)
#00236D
Tritanopia (blue-blind)
#003142
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #1c176f;
/* rgb */ color: rgb(28, 23, 111);
/* oklch */ color: oklch(28.6% 0.144 274.9);
Tailwind
colors: {
  custom: {
    50: '#675699',
    500: '#1c176f',
    950: '#000000',
  },
}
SCSS
$custom: #1c176f;
$custom-light: #675699;
$custom-dark: #000000;
JSON
{
  "hex": "#1c176f",
  "rgb": {
    "r": 28,
    "g": 23,
    "b": 111
  },
  "hsl": {
    "h": 243.409,
    "s": 65.672,
    "l": 26.275
  },
  "oklch": {
    "l": 0.28597,
    "c": 0.14358,
    "h": 274.9
  },
  "luminance": 0.02007
}

Semantic roles & 50–950 ramp

primary
#1C176F
secondary
#9FA53D
accent
#E93FDF
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #1C176F

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

Preview Lab → · Contrast checker → · Palette generator →

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