#1C1671#1C1671

#1C1671 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.7% C 0.147 H 274.8°. Best body text is #FFFFFF at 14.97:1 contrast (WCAG AA passes).

Color values

HEX#1C1671
RGBrgb(28, 22, 113)
HSLhsl(244, 67%, 26%)
HSVhsv(244, 81%, 44%)
CMYKcmyk(75.2%, 80.5%, 0%, 55.7%)
CIE-LABlab(15.55, 34.14, -50.72)
CIE-LCHlch(15.55, 61.14, 303.95°)
OKLaboklab(28.69% 0.0122 -0.1467)
OKLCHoklch(28.69% 0.147 274.8)
XYZxyz(3.7454, 2.0126, 15.8107)
Luminance0.0201 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C1671 #6B7116
analogous
#163E71 #1C1671 #4A1671
triadic
#1C1671 #711C16 #16711C
tetradic
#1C1671 #71163E #6B7116 #16714A
square
#1C1671 #71163E #6B7116 #16714A
split-complementary
#1C1671 #714A16 #3E7116
monochromatic
#06051A #0F0C3E #1C1671 #2920A4 #372CD6

Accessibility & contrast

On white

14.97
#1C1671 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C1671
14.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C1671#FFFFFF#000000##FFFFFF
##1C16711.0014.971.4014.97
#FFFFFF14.971.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B74
Deuteranopia (green-blind)
#00236F
Tritanopia (blue-blind)
#003143
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #1c1671;
/* rgb */ color: rgb(28, 22, 113);
/* oklch */ color: oklch(28.7% 0.147 274.8);
Tailwind
colors: {
  custom: {
    50: '#68559b',
    500: '#1c1671',
    950: '#000000',
  },
}
SCSS
$custom: #1c1671;
$custom-light: #68559b;
$custom-dark: #000000;
JSON
{
  "hex": "#1c1671",
  "rgb": {
    "r": 28,
    "g": 22,
    "b": 113
  },
  "hsl": {
    "h": 243.956,
    "s": 67.407,
    "l": 26.471
  },
  "oklch": {
    "l": 0.28686,
    "c": 0.1472,
    "h": 274.8
  },
  "luminance": 0.02013
}

Semantic roles & 50–950 ramp

primary
#1C1671
secondary
#A0A73C
accent
#EA3EDF
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #1C1671

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

Preview Lab → · Contrast checker → · Palette generator →

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