#1C1980#1C1980

#1C1980 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.9% C 0.163 H 272.6°. Best body text is #FFFFFF at 14.00:1 contrast (WCAG AA passes).

Color values

HEX#1C1980
RGBrgb(28, 25, 128)
HSLhsl(242, 67%, 30%)
HSVhsv(242, 80%, 50%)
CMYKcmyk(78.1%, 80.5%, 0%, 49.8%)
CIE-LABlab(17.92, 37.60, -56.43)
CIE-LCHlch(17.92, 67.81, 303.68°)
OKLaboklab(30.87% 0.0073 -0.1633)
OKLCHoklch(30.87% 0.163 272.6)
XYZxyz(4.7215, 2.5001, 20.6516)
Luminance0.0250 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C1980 #7D8019
analogous
#194980 #1C1980 #501980
triadic
#1C1980 #801C19 #19801C
tetradic
#1C1980 #801949 #7D8019 #198050
square
#1C1980 #801949 #7D8019 #198050
split-complementary
#1C1980 #805019 #498019
monochromatic
#06051A #110F4D #1C1980 #2723B3 #3F3BD9

Accessibility & contrast

On white

14.00
#1C1980 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#1C1980 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C1980
14.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C1980#FFFFFF#000000##FFFFFF
##1C19801.0014.001.5014.00
#FFFFFF14.001.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003183
Deuteranopia (green-blind)
#00277E
Tritanopia (blue-blind)
#00384C
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #1c1980;
/* rgb */ color: rgb(28, 25, 128);
/* oklch */ color: oklch(30.9% 0.163 272.6);
Tailwind
colors: {
  custom: {
    50: '#6b58a6',
    500: '#1c1980',
    950: '#000000',
  },
}
SCSS
$custom: #1c1980;
$custom-light: #6b58a6;
$custom-dark: #000000;
JSON
{
  "hex": "#1c1980",
  "rgb": {
    "r": 28,
    "g": 25,
    "b": 128
  },
  "hsl": {
    "h": 241.748,
    "s": 67.32,
    "l": 30
  },
  "oklch": {
    "l": 0.30869,
    "c": 0.16347,
    "h": 272.6
  },
  "luminance": 0.02501
}

Semantic roles & 50–950 ramp

primary
#1C1980
secondary
#B1B441
accent
#EA3EE5
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #1C1980

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

Preview Lab → · Contrast checker → · Palette generator →

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