#1C108E#1C108E

#1C108E is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.6% C 0.187 H 271.9°. Best body text is #FFFFFF at 13.87:1 contrast (WCAG AA passes).

Color values

HEX#1C108E
RGBrgb(28, 16, 142)
HSLhsl(246, 80%, 31%)
HSVhsv(246, 89%, 56%)
CMYKcmyk(80.3%, 88.7%, 0%, 44.3%)
CIE-LABlab(18.23, 46.37, -64.72)
CIE-LCHlch(18.23, 79.62, 305.62°)
OKLaboklab(31.59% 0.0062 -0.1872)
OKLCHoklch(31.59% 0.187 271.9)
XYZxyz(5.5450, 2.5698, 25.7897)
Luminance0.0257 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C108E #828E10
analogous
#10438E #1C108E #5B108E
triadic
#1C108E #8E1C10 #108E1C
tetradic
#1C108E #8E1043 #828E10 #108E5B
square
#1C108E #8E1043 #828E10 #108E5B
split-complementary
#1C108E #8E5B10 #438E10
monochromatic
#060420 #110A57 #1C108E #2716C5 #4231E8

Accessibility & contrast

On white

13.87
#1C108E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#1C108E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C108E
13.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C108E#FFFFFF#000000##FFFFFF
##1C108E1.0013.871.5113.87
#FFFFFF13.871.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003291
Deuteranopia (green-blind)
#00268C
Tritanopia (blue-blind)
#003B53
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #1c108e;
/* rgb */ color: rgb(28, 16, 142);
/* oklch */ color: oklch(31.6% 0.187 271.9);
Tailwind
colors: {
  custom: {
    50: '#7054b1',
    500: '#1c108e',
    950: '#000000',
  },
}
SCSS
$custom: #1c108e;
$custom-light: #7054b1;
$custom-dark: #000000;
JSON
{
  "hex": "#1c108e",
  "rgb": {
    "r": 28,
    "g": 16,
    "b": 142
  },
  "hsl": {
    "h": 245.714,
    "s": 79.747,
    "l": 30.98
  },
  "oklch": {
    "l": 0.31593,
    "c": 0.18726,
    "h": 271.9
  },
  "luminance": 0.0257
}

Semantic roles & 50–950 ramp

primary
#1C108E
secondary
#B5C337
accent
#F632E3
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090311
muted
#7B7880

Preview Lab

Preview with #1C108E

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

Preview Lab → · Contrast checker → · Palette generator →

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