#1C1578#1C1578

#1C1578 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.4% C 0.157 H 274.0°. Best body text is #FFFFFF at 14.71:1 contrast (WCAG AA passes).

Color values

HEX#1C1578
RGBrgb(28, 21, 120)
HSLhsl(244, 70%, 28%)
HSVhsv(244, 83%, 47%)
CMYKcmyk(76.7%, 82.5%, 0%, 52.9%)
CIE-LABlab(16.20, 37.08, -54.17)
CIE-LCHlch(16.20, 65.64, 304.39°)
OKLaboklab(29.39% 0.0109 -0.1567)
OKLCHoklch(29.39% 0.157 274)
XYZxyz(4.1361, 2.1389, 17.9605)
Luminance0.0214 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C1578 #717815
analogous
#154078 #1C1578 #4D1578
triadic
#1C1578 #781C15 #15781C
tetradic
#1C1578 #781540 #717815 #15784D
square
#1C1578 #781540 #717815 #15784D
split-complementary
#1C1578 #784D15 #407815
monochromatic
#06051A #100C44 #1C1578 #281EAC #392DDA

Accessibility & contrast

On white

14.71
#1C1578 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#1C1578 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C1578
14.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C1578#FFFFFF#000000##FFFFFF
##1C15781.0014.711.4314.71
#FFFFFF14.711.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D7B
Deuteranopia (green-blind)
#002376
Tritanopia (blue-blind)
#003447
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #1c1578;
/* rgb */ color: rgb(28, 21, 120);
/* oklch */ color: oklch(29.4% 0.157 274.0);
Tailwind
colors: {
  custom: {
    50: '#6955a0',
    500: '#1c1578',
    950: '#000000',
  },
}
SCSS
$custom: #1c1578;
$custom-light: #6955a0;
$custom-dark: #000000;
JSON
{
  "hex": "#1c1578",
  "rgb": {
    "r": 28,
    "g": 21,
    "b": 120
  },
  "hsl": {
    "h": 244.242,
    "s": 70.213,
    "l": 27.647
  },
  "oklch": {
    "l": 0.29385,
    "c": 0.15707,
    "h": 274
  },
  "luminance": 0.02139
}

Semantic roles & 50–950 ramp

primary
#1C1578
secondary
#A6AE3B
accent
#ED3BE0
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#07030F
muted
#7A787F

Preview Lab

Preview with #1C1578

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

Preview Lab → · Contrast checker → · Palette generator →

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