#1C1577#1C1577

#1C1577 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.3% C 0.156 H 274.1°. Best body text is #FFFFFF at 14.76:1 contrast (WCAG AA passes).

Color values

HEX#1C1577
RGBrgb(28, 21, 119)
HSLhsl(244, 70%, 27%)
HSVhsv(244, 82%, 47%)
CMYKcmyk(76.5%, 82.4%, 0%, 53.3%)
CIE-LABlab(16.08, 36.74, -53.73)
CIE-LCHlch(16.08, 65.09, 304.37°)
OKLaboklab(29.26% 0.0111 -0.1554)
OKLCHoklch(29.26% 0.156 274.1)
XYZxyz(4.0757, 2.1147, 17.6426)
Luminance0.0211 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C1577 #707715
analogous
#153F77 #1C1577 #4D1577
triadic
#1C1577 #771C15 #15771C
tetradic
#1C1577 #77153F #707715 #15774D
square
#1C1577 #77153F #707715 #15774D
split-complementary
#1C1577 #774D15 #3F7715
monochromatic
#06051A #100C43 #1C1577 #281EAB #392DDA

Accessibility & contrast

On white

14.76
#1C1577 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#1C1577 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C1577
14.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C1577#FFFFFF#000000##FFFFFF
##1C15771.0014.761.4214.76
#FFFFFF14.761.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C7A
Deuteranopia (green-blind)
#002375
Tritanopia (blue-blind)
#003346
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #1c1577;
/* rgb */ color: rgb(28, 21, 119);
/* oklch */ color: oklch(29.3% 0.156 274.1);
Tailwind
colors: {
  custom: {
    50: '#69559f',
    500: '#1c1577',
    950: '#000000',
  },
}
SCSS
$custom: #1c1577;
$custom-light: #69559f;
$custom-dark: #000000;
JSON
{
  "hex": "#1c1577",
  "rgb": {
    "r": 28,
    "g": 21,
    "b": 119
  },
  "hsl": {
    "h": 244.286,
    "s": 70,
    "l": 27.451
  },
  "oklch": {
    "l": 0.29264,
    "c": 0.15581,
    "h": 274.1
  },
  "luminance": 0.02115
}

Semantic roles & 50–950 ramp

primary
#1C1577
secondary
#A5AD3B
accent
#ED3BE0
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030F
muted
#7A787E

Preview Lab

Preview with #1C1577

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

Preview Lab → · Contrast checker → · Palette generator →

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