#1C1B8A#1C1B8A

#1C1B8A is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.3% C 0.174 H 271.5°. Best body text is #FFFFFF at 13.35:1 contrast (WCAG AA passes).

Color values

HEX#1C1B8A
RGBrgb(28, 27, 138)
HSLhsl(241, 67%, 32%)
HSVhsv(241, 80%, 54%)
CMYKcmyk(79.7%, 80.4%, 0%, 45.9%)
CIE-LABlab(19.50, 39.89, -60.12)
CIE-LCHlch(19.50, 72.15, 303.56°)
OKLaboklab(32.32% 0.0044 -0.1741)
OKLCHoklch(32.32% 0.174 271.5)
XYZxyz(5.4567, 2.8651, 24.3053)
Luminance0.0287 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C1B8A #898A1B
analogous
#1B518A #1C1B8A #541B8A
triadic
#1C1B8A #8A1C1B #1B8A1C
tetradic
#1C1B8A #8A1B51 #898A1B #1B8A54
square
#1C1B8A #8A1B51 #898A1B #1B8A54
split-complementary
#1C1B8A #8A541B #518A1B
monochromatic
#070724 #121157 #1C1B8A #2625BD #4645DB

Accessibility & contrast

On white

13.35
#1C1B8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#1C1B8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C1B8A
13.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C1B8A#FFFFFF#000000##FFFFFF
##1C1B8A1.0013.351.5713.35
#FFFFFF13.351.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00358D
Deuteranopia (green-blind)
#002A88
Tritanopia (blue-blind)
#003D52
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #1c1b8a;
/* rgb */ color: rgb(28, 27, 138);
/* oklch */ color: oklch(32.3% 0.174 271.5);
Tailwind
colors: {
  custom: {
    50: '#6e5aad',
    500: '#1c1b8a',
    950: '#000000',
  },
}
SCSS
$custom: #1c1b8a;
$custom-light: #6e5aad;
$custom-dark: #000000;
JSON
{
  "hex": "#1c1b8a",
  "rgb": {
    "r": 28,
    "g": 27,
    "b": 138
  },
  "hsl": {
    "h": 240.541,
    "s": 67.273,
    "l": 32.353
  },
  "oklch": {
    "l": 0.32322,
    "c": 0.17412,
    "h": 271.5
  },
  "luminance": 0.02866
}

Semantic roles & 50–950 ramp

primary
#1C1B8A
secondary
#BBBC45
accent
#EA3EE9
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1C1B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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