#1C108D#1C108D

#1C108D is a dark, vivid blue. Relative luminance 0.025; OKLCH L 31.5% C 0.186 H 272.0°. Best body text is #FFFFFF at 13.92:1 contrast (WCAG AA passes).

Color values

HEX#1C108D
RGBrgb(28, 16, 141)
HSLhsl(246, 80%, 31%)
HSVhsv(246, 89%, 55%)
CMYKcmyk(80.1%, 88.7%, 0%, 44.7%)
CIE-LABlab(18.10, 46.07, -64.32)
CIE-LCHlch(18.10, 79.12, 305.61°)
OKLaboklab(31.46% 0.0065 -0.186)
OKLCHoklch(31.46% 0.186 272)
XYZxyz(5.4703, 2.5399, 25.3961)
Luminance0.0254 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C108D #818D10
analogous
#10428D #1C108D #5A108D
triadic
#1C108D #8D1C10 #108D1C
tetradic
#1C108D #8D1042 #818D10 #108D5A
square
#1C108D #8D1042 #818D10 #108D5A
split-complementary
#1C108D #8D5A10 #428D10
monochromatic
#06041F #110A56 #1C108D #2716C4 #4230E7

Accessibility & contrast

On white

13.92
#1C108D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C108D
13.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C108D#FFFFFF#000000##FFFFFF
##1C108D1.0013.921.5113.92
#FFFFFF13.921.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003290
Deuteranopia (green-blind)
#00268B
Tritanopia (blue-blind)
#003B52
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #1c108d;
/* rgb */ color: rgb(28, 16, 141);
/* oklch */ color: oklch(31.5% 0.186 272.0);
Tailwind
colors: {
  custom: {
    50: '#6f54b0',
    500: '#1c108d',
    950: '#000000',
  },
}
SCSS
$custom: #1c108d;
$custom-light: #6f54b0;
$custom-dark: #000000;
JSON
{
  "hex": "#1c108d",
  "rgb": {
    "r": 28,
    "g": 16,
    "b": 141
  },
  "hsl": {
    "h": 245.76,
    "s": 79.618,
    "l": 30.784
  },
  "oklch": {
    "l": 0.31464,
    "c": 0.18611,
    "h": 272
  },
  "luminance": 0.02541
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1C108D

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

Preview Lab → · Contrast checker → · Palette generator →

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