#1C1771#1C1771

#1C1771 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 28.8% C 0.146 H 274.6°. Best body text is #FFFFFF at 14.89:1 contrast (WCAG AA passes).

Color values

HEX#1C1771
RGBrgb(28, 23, 113)
HSLhsl(243, 66%, 27%)
HSVhsv(243, 80%, 44%)
CMYKcmyk(75.2%, 79.6%, 0%, 55.7%)
CIE-LABlab(15.76, 33.56, -50.39)
CIE-LCHlch(15.76, 60.54, 303.67°)
OKLaboklab(28.83% 0.0117 -0.1457)
OKLCHoklch(28.83% 0.146 274.6)
XYZxyz(3.7649, 2.0516, 15.8172)
Luminance0.0205 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C1771 #6C7117
analogous
#173F71 #1C1771 #491771
triadic
#1C1771 #711C17 #17711C
tetradic
#1C1771 #71173F #6C7117 #177149
square
#1C1771 #71173F #6C7117 #177149
split-complementary
#1C1771 #714917 #3F7117
monochromatic
#060519 #0F0D3E #1C1771 #2921A4 #372ED4

Accessibility & contrast

On white

14.89
#1C1771 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#1C1771 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C1771
14.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C1771#FFFFFF#000000##FFFFFF
##1C17711.0014.891.4114.89
#FFFFFF14.891.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.891.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1c1771;
/* rgb */ color: rgb(28, 23, 113);
/* oklch */ color: oklch(28.8% 0.146 274.6);
Tailwind
colors: {
  custom: {
    50: '#67569b',
    500: '#1c1771',
    950: '#000000',
  },
}
SCSS
$custom: #1c1771;
$custom-light: #67569b;
$custom-dark: #000000;
JSON
{
  "hex": "#1c1771",
  "rgb": {
    "r": 28,
    "g": 23,
    "b": 113
  },
  "hsl": {
    "h": 243.333,
    "s": 66.176,
    "l": 26.667
  },
  "oklch": {
    "l": 0.28829,
    "c": 0.14619,
    "h": 274.6
  },
  "luminance": 0.02052
}

Semantic roles & 50–950 ramp

primary
#1C1771
secondary
#A1A73D
accent
#E93FE0
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #1C1771

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

Preview Lab → · Contrast checker → · Palette generator →

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