#1C1180#1C1180

#1C1180 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.9% C 0.170 H 273.4°. Best body text is #FFFFFF at 14.57:1 contrast (WCAG AA passes).

Color values

HEX#1C1180
RGBrgb(28, 17, 128)
HSLhsl(246, 77%, 28%)
HSVhsv(246, 87%, 50%)
CMYKcmyk(78.1%, 86.7%, 0%, 49.8%)
CIE-LABlab(16.53, 41.65, -58.73)
CIE-LCHlch(16.53, 72.00, 305.34°)
OKLaboklab(29.9% 0.01 -0.1698)
OKLCHoklch(29.9% 0.17 273.4)
XYZxyz(4.5743, 2.2058, 20.6026)
Luminance0.0221 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C1180 #758011
analogous
#113D80 #1C1180 #531180
triadic
#1C1180 #801C11 #11801C
tetradic
#1C1180 #80113D #758011 #118053
square
#1C1180 #80113D #758011 #118053
split-complementary
#1C1180 #805311 #3D8011
monochromatic
#06041B #100A4A #1C1180 #2818B6 #3B29E3

Accessibility & contrast

On white

14.57
#1C1180 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#1C1180 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C1180
14.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C1180#FFFFFF#000000##FFFFFF
##1C11801.0014.571.4414.57
#FFFFFF14.571.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E83
Deuteranopia (green-blind)
#00247E
Tritanopia (blue-blind)
#00354B
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #1c1180;
/* rgb */ color: rgb(28, 17, 128);
/* oklch */ color: oklch(29.9% 0.170 273.4);
Tailwind
colors: {
  custom: {
    50: '#6c54a6',
    500: '#1c1180',
    950: '#000000',
  },
}
SCSS
$custom: #1c1180;
$custom-light: #6c54a6;
$custom-dark: #000000;
JSON
{
  "hex": "#1c1180",
  "rgb": {
    "r": 28,
    "g": 17,
    "b": 128
  },
  "hsl": {
    "h": 245.946,
    "s": 76.552,
    "l": 28.431
  },
  "oklch": {
    "l": 0.29905,
    "c": 0.17013,
    "h": 273.4
  },
  "luminance": 0.02206
}

Semantic roles & 50–950 ramp

primary
#1C1180
secondary
#A9B637
accent
#F335E0
background
#F7F5FA
surface
#EDE8F4
border
#C8C4CE
text
#080310
muted
#7B787F

Preview Lab

Preview with #1C1180

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

Preview Lab → · Contrast checker → · Palette generator →

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