#1C1571#1C1571

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

Color values

HEX#1C1571
RGBrgb(28, 21, 113)
HSLhsl(245, 69%, 26%)
HSVhsv(245, 81%, 44%)
CMYKcmyk(75.2%, 81.4%, 0%, 55.7%)
CIE-LABlab(15.36, 34.71, -51.05)
CIE-LCHlch(15.36, 61.73, 304.21°)
OKLaboklab(28.55% 0.0127 -0.1476)
OKLCHoklch(28.55% 0.148 274.9)
XYZxyz(3.7267, 1.9751, 15.8044)
Luminance0.0198 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C1571 #6A7115
analogous
#153C71 #1C1571 #4A1571
triadic
#1C1571 #711C15 #15711C
tetradic
#1C1571 #71153C #6A7115 #15714A
square
#1C1571 #71153C #6A7115 #15714A
split-complementary
#1C1571 #714A15 #3C7115
monochromatic
#06051A #0F0B3D #1C1571 #291FA5 #3629D7

Accessibility & contrast

On white

15.05
#1C1571 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C1571
15.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C1571#FFFFFF#000000##FFFFFF
##1C15711.0015.051.4015.05
#FFFFFF15.051.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.051.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1c1571;
/* rgb */ color: rgb(28, 21, 113);
/* oklch */ color: oklch(28.5% 0.148 274.9);
Tailwind
colors: {
  custom: {
    50: '#68559b',
    500: '#1c1571',
    950: '#000000',
  },
}
SCSS
$custom: #1c1571;
$custom-light: #68559b;
$custom-dark: #000000;
JSON
{
  "hex": "#1c1571",
  "rgb": {
    "r": 28,
    "g": 21,
    "b": 113
  },
  "hsl": {
    "h": 244.565,
    "s": 68.657,
    "l": 26.275
  },
  "oklch": {
    "l": 0.28548,
    "c": 0.14816,
    "h": 274.9
  },
  "luminance": 0.01975
}

Semantic roles & 50–950 ramp

primary
#1C1571
secondary
#9FA73B
accent
#EB3CDE
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #1C1571

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

Preview Lab → · Contrast checker → · Palette generator →

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