#1C1371#1C1371

#1C1371 is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.3% C 0.150 H 275.2°. Best body text is #FFFFFF at 15.21:1 contrast (WCAG AA passes).

Color values

HEX#1C1371
RGBrgb(28, 19, 113)
HSLhsl(246, 71%, 26%)
HSVhsv(246, 83%, 44%)
CMYKcmyk(75.2%, 83.2%, 0%, 55.7%)
CIE-LABlab(14.98, 35.80, -51.67)
CIE-LCHlch(14.98, 62.86, 304.72°)
OKLaboklab(28.28% 0.0136 -0.1494)
OKLCHoklch(28.28% 0.15 275.2)
XYZxyz(3.6914, 1.9045, 15.7927)
Luminance0.0191 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C1371 #687113
analogous
#133971 #1C1371 #4B1371
triadic
#1C1371 #711C13 #13711C
tetradic
#1C1371 #711339 #687113 #13714B
square
#1C1371 #711339 #687113 #13714B
split-complementary
#1C1371 #714B13 #397113
monochromatic
#06041A #0F0A3D #1C1371 #291CA5 #3625DA

Accessibility & contrast

On white

15.21
#1C1371 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#1C1371 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C1371
15.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C1371#FFFFFF#000000##FFFFFF
##1C13711.0015.211.3815.21
#FFFFFF15.211.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A74
Deuteranopia (green-blind)
#00216F
Tritanopia (blue-blind)
#003042
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #1c1371;
/* rgb */ color: rgb(28, 19, 113);
/* oklch */ color: oklch(28.3% 0.150 275.2);
Tailwind
colors: {
  custom: {
    50: '#68539b',
    500: '#1c1371',
    950: '#000000',
  },
}
SCSS
$custom: #1c1371;
$custom-light: #68539b;
$custom-dark: #000000;
JSON
{
  "hex": "#1c1371",
  "rgb": {
    "r": 28,
    "g": 19,
    "b": 113
  },
  "hsl": {
    "h": 245.745,
    "s": 71.212,
    "l": 25.882
  },
  "oklch": {
    "l": 0.28284,
    "c": 0.15003,
    "h": 275.2
  },
  "luminance": 0.01905
}

Semantic roles & 50–950 ramp

primary
#1C1371
secondary
#9DA838
accent
#EE3ADD
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #1C1371

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

Preview Lab → · Contrast checker → · Palette generator →

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