#1C1C99#1C1C99

#1C1C99 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 34.2% C 0.191 H 270.3°. Best body text is #FFFFFF at 12.53:1 contrast (WCAG AA passes).

Color values

HEX#1C1C99
RGBrgb(28, 28, 153)
HSLhsl(240, 69%, 35%)
HSVhsv(240, 82%, 60%)
CMYKcmyk(81.7%, 81.7%, 0%, 40%)
CIE-LABlab(21.49, 44.34, -66.12)
CIE-LCHlch(21.49, 79.61, 303.85°)
OKLaboklab(34.24% 0.0009 -0.1914)
OKLCHoklch(34.24% 0.191 270.3)
XYZxyz(6.6420, 3.3765, 30.4325)
Luminance0.0338 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C1C99 #99991C
analogous
#1C5A99 #1C1C99 #5A1C99
triadic
#1C1C99 #991C1C #1C991C
tetradic
#1C1C99 #991C5A #99991C #1C995A
square
#1C1C99 #991C5A #99991C #1C995A
split-complementary
#1C1C99 #995A1C #5A991C
monochromatic
#090932 #131365 #1C1C99 #2525CD #5050DF

Accessibility & contrast

On white

12.53
#1C1C99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#1C1C99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C1C99
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C1C99#FFFFFF#000000##FFFFFF
##1C1C991.0012.531.6812.53
#FFFFFF12.531.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A9C
Deuteranopia (green-blind)
#002D97
Tritanopia (blue-blind)
#00435B
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1c1c99;
/* rgb */ color: rgb(28, 28, 153);
/* oklch */ color: oklch(34.2% 0.191 270.3);
Tailwind
colors: {
  custom: {
    50: '#725bb8',
    500: '#1c1c99',
    950: '#000000',
  },
}
SCSS
$custom: #1c1c99;
$custom-light: #725bb8;
$custom-dark: #000000;
JSON
{
  "hex": "#1c1c99",
  "rgb": {
    "r": 28,
    "g": 28,
    "b": 153
  },
  "hsl": {
    "h": 240,
    "s": 69.061,
    "l": 35.49
  },
  "oklch": {
    "l": 0.34244,
    "c": 0.19145,
    "h": 270.3
  },
  "luminance": 0.03377
}

Semantic roles & 50–950 ramp

primary
#1C1C99
secondary
#C2C24F
accent
#EC3CEC
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090412
muted
#7B7981

Preview Lab

Preview with #1C1C99

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

Preview Lab → · Contrast checker → · Palette generator →

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