#1C1561#1C1561

#1C1561 is a dark, vivid blue. Relative luminance 0.016; OKLCH L 26.7% C 0.127 H 277.5°. Best body text is #FFFFFF at 15.80:1 contrast (WCAG AA passes).

Color values

HEX#1C1561
RGBrgb(28, 21, 97)
HSLhsl(246, 64%, 23%)
HSVhsv(246, 78%, 38%)
CMYKcmyk(71.1%, 78.4%, 0%, 62%)
CIE-LABlab(13.51, 29.12, -43.59)
CIE-LCHlch(13.51, 52.42, 303.75°)
OKLaboklab(26.7% 0.0166 -0.1259)
OKLCHoklch(26.7% 0.127 277.5)
XYZxyz(2.9040, 1.6460, 11.4716)
Luminance0.0165 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C1561 #5A6115
analogous
#153461 #1C1561 #421561
triadic
#1C1561 #611C15 #15611C
tetradic
#1C1561 #611534 #5A6115 #156142
square
#1C1561 #611534 #5A6115 #156142
split-complementary
#1C1561 #614215 #346115
monochromatic
#070519 #0D0A2F #1C1561 #2B2093 #392BC6

Accessibility & contrast

On white

15.80
#1C1561 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#1C1561 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C1561
15.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C1561#FFFFFF#000000##FFFFFF
##1C15611.0015.801.3315.80
#FFFFFF15.801.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002663
Deuteranopia (green-blind)
#001F60
Tritanopia (blue-blind)
#002B39
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #1c1561;
/* rgb */ color: rgb(28, 21, 97);
/* oklch */ color: oklch(26.7% 0.127 277.5);
Tailwind
colors: {
  custom: {
    50: '#63548f',
    500: '#1c1561',
    950: '#000000',
  },
}
SCSS
$custom: #1c1561;
$custom-light: #63548f;
$custom-dark: #000000;
JSON
{
  "hex": "#1c1561",
  "rgb": {
    "r": 28,
    "g": 21,
    "b": 97
  },
  "hsl": {
    "h": 245.526,
    "s": 64.407,
    "l": 23.137
  },
  "oklch": {
    "l": 0.26697,
    "c": 0.12699,
    "h": 277.5
  },
  "luminance": 0.01646
}

Semantic roles & 50–950 ramp

primary
#1C1561
secondary
#8F983A
accent
#E740D8
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #1C1561

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

Preview Lab → · Contrast checker → · Palette generator →

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