#1C1B97#1C1B97

#1C1B97 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.9% C 0.190 H 270.5°. Best body text is #FFFFFF at 12.70:1 contrast (WCAG AA passes).

Color values

HEX#1C1B97
RGBrgb(28, 27, 151)
HSLhsl(240, 70%, 35%)
HSVhsv(240, 82%, 59%)
CMYKcmyk(81.5%, 82.1%, 0%, 40.8%)
CIE-LABlab(21.07, 44.20, -65.59)
CIE-LCHlch(21.07, 79.09, 303.97°)
OKLaboklab(33.88% 0.0016 -0.1899)
OKLCHoklch(33.88% 0.19 270.5)
XYZxyz(6.4548, 3.2644, 29.5620)
Luminance0.0326 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C1B97 #96971B
analogous
#1B5897 #1C1B97 #5A1B97
triadic
#1C1B97 #971C1B #1B971C
tetradic
#1C1B97 #971B58 #96971B #1B975A
square
#1C1B97 #971B58 #96971B #1B975A
split-complementary
#1C1B97 #975A1B #58971B
monochromatic
#09082F #121263 #1C1B97 #2624CB #4E4DDF

Accessibility & contrast

On white

12.70
#1C1B97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#1C1B97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C1B97
12.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C1B97#FFFFFF#000000##FFFFFF
##1C1B971.0012.701.6512.70
#FFFFFF12.701.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1c1b97;
/* rgb */ color: rgb(28, 27, 151);
/* oklch */ color: oklch(33.9% 0.190 270.5);
Tailwind
colors: {
  custom: {
    50: '#715bb7',
    500: '#1c1b97',
    950: '#000000',
  },
}
SCSS
$custom: #1c1b97;
$custom-light: #715bb7;
$custom-dark: #000000;
JSON
{
  "hex": "#1c1b97",
  "rgb": {
    "r": 28,
    "g": 27,
    "b": 151
  },
  "hsl": {
    "h": 240.484,
    "s": 69.663,
    "l": 34.902
  },
  "oklch": {
    "l": 0.33881,
    "c": 0.18989,
    "h": 270.5
  },
  "luminance": 0.03265
}

Semantic roles & 50–950 ramp

primary
#1C1B97
secondary
#C1C14C
accent
#EC3BEB
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #1C1B97

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

Preview Lab → · Contrast checker → · Palette generator →

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