#1C107E#1C107E

#1C107E is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.5% C 0.168 H 273.7°. Best body text is #FFFFFF at 14.74:1 contrast (WCAG AA passes).

Color values

HEX#1C107E
RGBrgb(28, 16, 126)
HSLhsl(247, 77%, 28%)
HSVhsv(247, 87%, 49%)
CMYKcmyk(77.8%, 87.3%, 0%, 50.6%)
CIE-LABlab(16.12, 41.47, -58.14)
CIE-LCHlch(16.12, 71.41, 305.50°)
OKLaboklab(29.55% 0.0109 -0.1681)
OKLCHoklch(29.55% 0.168 273.7)
XYZxyz(4.4288, 2.1234, 19.9111)
Luminance0.0212 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C107E #727E10
analogous
#103B7E #1C107E #53107E
triadic
#1C107E #7E1C10 #107E1C
tetradic
#1C107E #7E103B #727E10 #107E53
square
#1C107E #7E103B #727E10 #107E53
split-complementary
#1C107E #7E5310 #3B7E10
monochromatic
#06031B #100948 #1C107E #2817B4 #3A25E3

Accessibility & contrast

On white

14.74
#1C107E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#1C107E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C107E
14.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C107E#FFFFFF#000000##FFFFFF
##1C107E1.0014.741.4214.74
#FFFFFF14.741.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D81
Deuteranopia (green-blind)
#00237C
Tritanopia (blue-blind)
#003449
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #1c107e;
/* rgb */ color: rgb(28, 16, 126);
/* oklch */ color: oklch(29.5% 0.168 273.7);
Tailwind
colors: {
  custom: {
    50: '#6c53a5',
    500: '#1c107e',
    950: '#000000',
  },
}
SCSS
$custom: #1c107e;
$custom-light: #6c53a5;
$custom-dark: #000000;
JSON
{
  "hex": "#1c107e",
  "rgb": {
    "r": 28,
    "g": 16,
    "b": 126
  },
  "hsl": {
    "h": 246.545,
    "s": 77.465,
    "l": 27.843
  },
  "oklch": {
    "l": 0.29549,
    "c": 0.16845,
    "h": 273.7
  },
  "luminance": 0.02124
}

Semantic roles & 50–950 ramp

primary
#1C107E
secondary
#A6B436
accent
#F434DF
background
#F7F4FA
surface
#EDE7F4
border
#C8C3CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #1C107E

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

Preview Lab → · Contrast checker → · Palette generator →

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