#1C1480#1C1480

#1C1480 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.2% C 0.168 H 273.1°. Best body text is #FFFFFF at 14.37:1 contrast (WCAG AA passes).

Color values

HEX#1C1480
RGBrgb(28, 20, 128)
HSLhsl(244, 73%, 29%)
HSVhsv(244, 84%, 50%)
CMYKcmyk(78.1%, 84.4%, 0%, 49.8%)
CIE-LABlab(17.01, 40.23, -57.93)
CIE-LCHlch(17.01, 70.53, 304.78°)
OKLaboklab(30.24% 0.0091 -0.1676)
OKLCHoklch(30.24% 0.168 273.1)
XYZxyz(4.6240, 2.3052, 20.6191)
Luminance0.0231 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C1480 #788014
analogous
#144280 #1C1480 #521480
triadic
#1C1480 #801C14 #14801C
tetradic
#1C1480 #801442 #788014 #148052
square
#1C1480 #801442 #788014 #148052
split-complementary
#1C1480 #805214 #428014
monochromatic
#06041A #100C4B #1C1480 #281CB5 #3D30DF

Accessibility & contrast

On white

14.37
#1C1480 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#1C1480 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C1480
14.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C1480#FFFFFF#000000##FFFFFF
##1C14801.0014.371.4614.37
#FFFFFF14.371.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F83
Deuteranopia (green-blind)
#00257E
Tritanopia (blue-blind)
#00364B
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #1c1480;
/* rgb */ color: rgb(28, 20, 128);
/* oklch */ color: oklch(30.2% 0.168 273.1);
Tailwind
colors: {
  custom: {
    50: '#6c55a6',
    500: '#1c1480',
    950: '#000000',
  },
}
SCSS
$custom: #1c1480;
$custom-light: #6c55a6;
$custom-dark: #000000;
JSON
{
  "hex": "#1c1480",
  "rgb": {
    "r": 28,
    "g": 20,
    "b": 128
  },
  "hsl": {
    "h": 244.444,
    "s": 72.973,
    "l": 29.02
  },
  "oklch": {
    "l": 0.30238,
    "c": 0.16783,
    "h": 273.1
  },
  "luminance": 0.02306
}

Semantic roles & 50–950 ramp

primary
#1C1480
secondary
#ACB53B
accent
#F038E2
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #1C1480

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

Preview Lab → · Contrast checker → · Palette generator →

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