#1C1C97#1C1C97

#1C1C97 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 34.0% C 0.189 H 270.4°. Best body text is #FFFFFF at 12.63:1 contrast (WCAG AA passes).

Color values

HEX#1C1C97
RGBrgb(28, 28, 151)
HSLhsl(240, 69%, 35%)
HSVhsv(240, 81%, 59%)
CMYKcmyk(81.5%, 81.5%, 0%, 40.8%)
CIE-LABlab(21.25, 43.69, -65.29)
CIE-LCHlch(21.25, 78.56, 303.78°)
OKLaboklab(34% 0.0013 -0.1891)
OKLCHoklch(34% 0.189 270.4)
XYZxyz(6.4782, 3.3110, 29.5698)
Luminance0.0331 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C1C97 #97971C
analogous
#1C5997 #1C1C97 #591C97
triadic
#1C1C97 #971C1C #1C971C
tetradic
#1C1C97 #971C59 #97971C #1C9759
square
#1C1C97 #971C59 #97971C #1C9759
split-complementary
#1C1C97 #97591C #59971C
monochromatic
#090930 #121263 #1C1C97 #2626CB #4F4FDE

Accessibility & contrast

On white

12.63
#1C1C97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#1C1C97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C1C97
12.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C1C97#FFFFFF#000000##FFFFFF
##1C1C971.0012.631.6612.63
#FFFFFF12.631.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00399A
Deuteranopia (green-blind)
#002D95
Tritanopia (blue-blind)
#00435A
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #1c1c97;
/* rgb */ color: rgb(28, 28, 151);
/* oklch */ color: oklch(34.0% 0.189 270.4);
Tailwind
colors: {
  custom: {
    50: '#715bb7',
    500: '#1c1c97',
    950: '#000000',
  },
}
SCSS
$custom: #1c1c97;
$custom-light: #715bb7;
$custom-dark: #000000;
JSON
{
  "hex": "#1c1c97",
  "rgb": {
    "r": 28,
    "g": 28,
    "b": 151
  },
  "hsl": {
    "h": 240,
    "s": 68.715,
    "l": 35.098
  },
  "oklch": {
    "l": 0.34003,
    "c": 0.18906,
    "h": 270.4
  },
  "luminance": 0.03312
}

Semantic roles & 50–950 ramp

primary
#1C1C97
secondary
#C1C14E
accent
#EC3CEC
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #1C1C97

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

Preview Lab → · Contrast checker → · Palette generator →

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