#1C1C8D#1C1C8D

#1C1C8D is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.8% C 0.177 H 271.1°. Best body text is #FFFFFF at 13.13:1 contrast (WCAG AA passes).

Color values

HEX#1C1C8D
RGBrgb(28, 28, 141)
HSLhsl(240, 67%, 33%)
HSVhsv(240, 80%, 55%)
CMYKcmyk(80.1%, 80.1%, 0%, 44.7%)
CIE-LABlab(20.04, 40.36, -61.09)
CIE-LCHlch(20.04, 73.22, 303.45°)
OKLaboklab(32.81% 0.0034 -0.1769)
OKLCHoklch(32.81% 0.177 271.1)
XYZxyz(5.7002, 2.9998, 25.4727)
Luminance0.0300 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C1C8D #8D8D1C
analogous
#1C548D #1C1C8D #541C8D
triadic
#1C1C8D #8D1C1C #1C8D1C
tetradic
#1C1C8D #8D1C54 #8D8D1C #1C8D54
square
#1C1C8D #8D1C54 #8D8D1C #1C8D54
split-complementary
#1C1C8D #8D541C #548D1C
monochromatic
#080827 #12125A #1C1C8D #2626C0 #4949DB

Accessibility & contrast

On white

13.13
#1C1C8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#1C1C8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C1C8D
13.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C1C8D#FFFFFF#000000##FFFFFF
##1C1C8D1.0013.131.6013.13
#FFFFFF13.131.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003690
Deuteranopia (green-blind)
#002B8B
Tritanopia (blue-blind)
#003F54
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1c1c8d;
/* rgb */ color: rgb(28, 28, 141);
/* oklch */ color: oklch(32.8% 0.177 271.1);
Tailwind
colors: {
  custom: {
    50: '#6e5bb0',
    500: '#1c1c8d',
    950: '#000000',
  },
}
SCSS
$custom: #1c1c8d;
$custom-light: #6e5bb0;
$custom-dark: #000000;
JSON
{
  "hex": "#1c1c8d",
  "rgb": {
    "r": 28,
    "g": 28,
    "b": 141
  },
  "hsl": {
    "h": 240,
    "s": 66.864,
    "l": 33.137
  },
  "oklch": {
    "l": 0.32811,
    "c": 0.17691,
    "h": 271.1
  },
  "luminance": 0.03
}

Semantic roles & 50–950 ramp

primary
#1C1C8D
secondary
#BDBD48
accent
#EA3EEA
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #1C1C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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