#1C104B#1C104B

#1C104B is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.5% C 0.102 H 284.6°. Best body text is #FFFFFF at 17.14:1 contrast (WCAG AA passes).

Color values

HEX#1C104B
RGBrgb(28, 16, 75)
HSLhsl(252, 65%, 18%)
HSVhsv(252, 79%, 29%)
CMYKcmyk(62.7%, 78.7%, 0%, 70.6%)
CIE-LABlab(9.99, 24.45, -34.42)
CIE-LCHlch(9.99, 42.22, 305.39°)
OKLaboklab(23.48% 0.0259 -0.0991)
OKLCHoklch(23.48% 0.102 284.6)
XYZxyz(1.9338, 1.1253, 6.7706)
Luminance0.0112 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C104B #3F4B10
analogous
#10224B #1C104B #39104B
triadic
#1C104B #4B1C10 #104B1C
tetradic
#1C104B #4B1022 #3F4B10 #104B39
square
#1C104B #4B1022 #3F4B10 #104B39
split-complementary
#1C104B #4B3910 #224B10
monochromatic
#090519 #090519 #1C104B #2F1B7D #4226B0

Accessibility & contrast

On white

17.14
#1C104B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#1C104B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C104B
17.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C104B#FFFFFF#000000##FFFFFF
##1C104B1.0017.141.2217.14
#FFFFFF17.141.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D4D
Deuteranopia (green-blind)
#001A4A
Tritanopia (blue-blind)
#05202C
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #1c104b;
/* rgb */ color: rgb(28, 16, 75);
/* oklch */ color: oklch(23.5% 0.102 284.6);
Tailwind
colors: {
  custom: {
    50: '#5f4f7e',
    500: '#1c104b',
    950: '#000000',
  },
}
SCSS
$custom: #1c104b;
$custom-light: #5f4f7e;
$custom-dark: #000000;
JSON
{
  "hex": "#1c104b",
  "rgb": {
    "r": 28,
    "g": 16,
    "b": 75
  },
  "hsl": {
    "h": 252.203,
    "s": 64.835,
    "l": 17.843
  },
  "oklch": {
    "l": 0.23477,
    "c": 0.10238,
    "h": 284.6
  },
  "luminance": 0.01125
}

Semantic roles & 50–950 ramp

primary
#1C104B
secondary
#748532
accent
#E840C6
background
#F5F4F7
surface
#EAE7EE
border
#C6C3C9
text
#05020A
muted
#79787C

Preview Lab

Preview with #1C104B

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

Preview Lab → · Contrast checker → · Palette generator →

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