#1C1C8F#1C1C8F

#1C1C8F is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.0% C 0.179 H 271.0°. Best body text is #FFFFFF at 13.03:1 contrast (WCAG AA passes).

Color values

HEX#1C1C8F
RGBrgb(28, 28, 143)
HSLhsl(240, 67%, 34%)
HSVhsv(240, 80%, 56%)
CMYKcmyk(80.4%, 80.4%, 0%, 43.9%)
CIE-LABlab(20.28, 41.03, -61.94)
CIE-LCHlch(20.28, 74.30, 303.52°)
OKLaboklab(33.05% 0.003 -0.1793)
OKLCHoklch(33.05% 0.179 271)
XYZxyz(5.8504, 3.0599, 26.2636)
Luminance0.0306 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C1C8F #8F8F1C
analogous
#1C558F #1C1C8F #551C8F
triadic
#1C1C8F #8F1C1C #1C8F1C
tetradic
#1C1C8F #8F1C55 #8F8F1C #1C8F55
square
#1C1C8F #8F1C55 #8F8F1C #1C8F55
split-complementary
#1C1C8F #8F551C #558F1C
monochromatic
#080829 #12125C #1C1C8F #2626C2 #4A4ADC

Accessibility & contrast

On white

13.03
#1C1C8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#1C1C8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C1C8F
13.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C1C8F#FFFFFF#000000##FFFFFF
##1C1C8F1.0013.031.6113.03
#FFFFFF13.031.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003792
Deuteranopia (green-blind)
#002B8D
Tritanopia (blue-blind)
#003F55
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1c1c8f;
/* rgb */ color: rgb(28, 28, 143);
/* oklch */ color: oklch(33.0% 0.179 271.0);
Tailwind
colors: {
  custom: {
    50: '#6f5bb1',
    500: '#1c1c8f',
    950: '#000000',
  },
}
SCSS
$custom: #1c1c8f;
$custom-light: #6f5bb1;
$custom-dark: #000000;
JSON
{
  "hex": "#1c1c8f",
  "rgb": {
    "r": 28,
    "g": 28,
    "b": 143
  },
  "hsl": {
    "h": 240,
    "s": 67.251,
    "l": 33.529
  },
  "oklch": {
    "l": 0.33048,
    "c": 0.17937,
    "h": 271
  },
  "luminance": 0.03061
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1C1C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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