#1C117C#1C117C

#1C117C is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.4% C 0.165 H 273.9°. Best body text is #FFFFFF at 14.78:1 contrast (WCAG AA passes).

Color values

HEX#1C117C
RGBrgb(28, 17, 124)
HSLhsl(246, 76%, 28%)
HSVhsv(246, 86%, 49%)
CMYKcmyk(77.4%, 86.3%, 0%, 51.4%)
CIE-LABlab(16.02, 40.38, -57.04)
CIE-LCHlch(16.02, 69.88, 305.30°)
OKLaboklab(29.4% 0.0112 -0.1649)
OKLCHoklch(29.4% 0.165 273.9)
XYZxyz(4.3162, 2.1026, 19.2432)
Luminance0.0210 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C117C #717C11
analogous
#113C7C #1C117C #51117C
triadic
#1C117C #7C1C11 #117C1C
tetradic
#1C117C #7C113C #717C11 #117C51
square
#1C117C #7C113C #717C11 #117C51
split-complementary
#1C117C #7C5111 #3C7C11
monochromatic
#06041B #100A46 #1C117C #2818B2 #3926E1

Accessibility & contrast

On white

14.78
#1C117C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C117C
14.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C117C#FFFFFF#000000##FFFFFF
##1C117C1.0014.781.4214.78
#FFFFFF14.781.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D7F
Deuteranopia (green-blind)
#00237A
Tritanopia (blue-blind)
#003448
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #1c117c;
/* rgb */ color: rgb(28, 17, 124);
/* oklch */ color: oklch(29.4% 0.165 273.9);
Tailwind
colors: {
  custom: {
    50: '#6b53a3',
    500: '#1c117c',
    950: '#000000',
  },
}
SCSS
$custom: #1c117c;
$custom-light: #6b53a3;
$custom-dark: #000000;
JSON
{
  "hex": "#1c117c",
  "rgb": {
    "r": 28,
    "g": 17,
    "b": 124
  },
  "hsl": {
    "h": 246.168,
    "s": 75.887,
    "l": 27.647
  },
  "oklch": {
    "l": 0.29403,
    "c": 0.16531,
    "h": 273.9
  },
  "luminance": 0.02103
}

Semantic roles & 50–950 ramp

primary
#1C117C
secondary
#A6B237
accent
#F235DF
background
#F7F4FA
surface
#EDE7F4
border
#C8C3CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #1C117C

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

Preview Lab → · Contrast checker → · Palette generator →

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