#1C1C8B#1C1C8B

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

Color values

HEX#1C1C8B
RGBrgb(28, 28, 139)
HSLhsl(240, 66%, 33%)
HSVhsv(240, 80%, 55%)
CMYKcmyk(79.9%, 79.9%, 0%, 45.5%)
CIE-LABlab(19.81, 39.68, -60.24)
CIE-LCHlch(19.81, 72.13, 303.37°)
OKLaboklab(32.57% 0.0039 -0.1744)
OKLCHoklch(32.57% 0.174 271.3)
XYZxyz(5.5528, 2.9408, 24.6961)
Luminance0.0294 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C1C8B #8B8B1C
analogous
#1C538B #1C1C8B #531C8B
triadic
#1C1C8B #8B1C1C #1C8B1C
tetradic
#1C1C8B #8B1C53 #8B8B1C #1C8B53
square
#1C1C8B #8B1C53 #8B8B1C #1C8B53
split-complementary
#1C1C8B #8B531C #538B1C
monochromatic
#070725 #121258 #1C1C8B #2626BE #4747DA

Accessibility & contrast

On white

13.22
#1C1C8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#1C1C8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C1C8B
13.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C1C8B#FFFFFF#000000##FFFFFF
##1C1C8B1.0013.221.5913.22
#FFFFFF13.221.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00358E
Deuteranopia (green-blind)
#002A89
Tritanopia (blue-blind)
#003E53
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1c1c8b;
/* rgb */ color: rgb(28, 28, 139);
/* oklch */ color: oklch(32.6% 0.174 271.3);
Tailwind
colors: {
  custom: {
    50: '#6e5aae',
    500: '#1c1c8b',
    950: '#000000',
  },
}
SCSS
$custom: #1c1c8b;
$custom-light: #6e5aae;
$custom-dark: #000000;
JSON
{
  "hex": "#1c1c8b",
  "rgb": {
    "r": 28,
    "g": 28,
    "b": 139
  },
  "hsl": {
    "h": 240,
    "s": 66.467,
    "l": 32.745
  },
  "oklch": {
    "l": 0.32574,
    "c": 0.17444,
    "h": 271.3
  },
  "luminance": 0.02941
}

Semantic roles & 50–950 ramp

primary
#1C1C8B
secondary
#BCBC47
accent
#E93EE9
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090410
muted
#7B797F

Preview Lab

Preview with #1C1C8B

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

Preview Lab → · Contrast checker → · Palette generator →

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