#1C1280#1C1280

#1C1280 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 30.0% C 0.169 H 273.3°. Best body text is #FFFFFF at 14.51:1 contrast (WCAG AA passes).

Color values

HEX#1C1280
RGBrgb(28, 18, 128)
HSLhsl(245, 75%, 29%)
HSVhsv(245, 86%, 50%)
CMYKcmyk(78.1%, 85.9%, 0%, 49.8%)
CIE-LABlab(16.69, 41.19, -58.47)
CIE-LCHlch(16.69, 71.52, 305.16°)
OKLaboklab(30.01% 0.0097 -0.1691)
OKLCHoklch(30.01% 0.169 273.3)
XYZxyz(4.5902, 2.2375, 20.6079)
Luminance0.0224 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C1280 #768012
analogous
#123F80 #1C1280 #531280
triadic
#1C1280 #801C12 #12801C
tetradic
#1C1280 #80123F #768012 #128053
square
#1C1280 #80123F #768012 #128053
split-complementary
#1C1280 #805312 #3F8012
monochromatic
#06041B #100A4A #1C1280 #281AB6 #3C2BE1

Accessibility & contrast

On white

14.51
#1C1280 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#1C1280 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C1280
14.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C1280#FFFFFF#000000##FFFFFF
##1C12801.0014.511.4514.51
#FFFFFF14.511.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.511.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1c1280;
/* rgb */ color: rgb(28, 18, 128);
/* oklch */ color: oklch(30.0% 0.169 273.3);
Tailwind
colors: {
  custom: {
    50: '#6c54a6',
    500: '#1c1280',
    950: '#000000',
  },
}
SCSS
$custom: #1c1280;
$custom-light: #6c54a6;
$custom-dark: #000000;
JSON
{
  "hex": "#1c1280",
  "rgb": {
    "r": 28,
    "g": 18,
    "b": 128
  },
  "hsl": {
    "h": 245.455,
    "s": 75.342,
    "l": 28.627
  },
  "oklch": {
    "l": 0.30012,
    "c": 0.16939,
    "h": 273.3
  },
  "luminance": 0.02238
}

Semantic roles & 50–950 ramp

primary
#1C1280
secondary
#AAB638
accent
#F236E1
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F

Preview Lab

Preview with #1C1280

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

Preview Lab → · Contrast checker → · Palette generator →

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