#1C1171#1C1171

#1C1171 is a dark, vivid blue. Relative luminance 0.018; OKLCH L 28.0% C 0.152 H 275.5°. Best body text is #FFFFFF at 15.35:1 contrast (WCAG AA passes).

Color values

HEX#1C1171
RGBrgb(28, 17, 113)
HSLhsl(247, 74%, 25%)
HSVhsv(247, 85%, 44%)
CMYKcmyk(75.2%, 85%, 0%, 55.7%)
CIE-LABlab(14.62, 36.83, -52.26)
CIE-LCHlch(14.62, 63.94, 305.18°)
OKLaboklab(28.04% 0.0144 -0.1511)
OKLCHoklch(28.04% 0.152 275.5)
XYZxyz(3.6590, 1.8397, 15.7818)
Luminance0.0184 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C1171 #667111
analogous
#113671 #1C1171 #4C1171
triadic
#1C1171 #711C11 #11711C
tetradic
#1C1171 #711136 #667111 #11714C
square
#1C1171 #711136 #667111 #11714C
split-complementary
#1C1171 #714C11 #367111
monochromatic
#07041B #0F093C #1C1171 #2919A6 #3621DB

Accessibility & contrast

On white

15.35
#1C1171 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#1C1171 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C1171
15.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C1171#FFFFFF#000000##FFFFFF
##1C11711.0015.351.3715.35
#FFFFFF15.351.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002974
Deuteranopia (green-blind)
#00216F
Tritanopia (blue-blind)
#002F42
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #1c1171;
/* rgb */ color: rgb(28, 17, 113);
/* oklch */ color: oklch(28.0% 0.152 275.5);
Tailwind
colors: {
  custom: {
    50: '#68529b',
    500: '#1c1171',
    950: '#000000',
  },
}
SCSS
$custom: #1c1171;
$custom-light: #68529b;
$custom-dark: #000000;
JSON
{
  "hex": "#1c1171",
  "rgb": {
    "r": 28,
    "g": 17,
    "b": 113
  },
  "hsl": {
    "h": 246.875,
    "s": 73.846,
    "l": 25.49
  },
  "oklch": {
    "l": 0.28037,
    "c": 0.15178,
    "h": 275.5
  },
  "luminance": 0.0184
}

Semantic roles & 50–950 ramp

primary
#1C1171
secondary
#9BA836
accent
#F137DB
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#07020E
muted
#7A787E

Preview Lab

Preview with #1C1171

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

Preview Lab → · Contrast checker → · Palette generator →

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