#1C117D#1C117D

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

Color values

HEX#1C117D
RGBrgb(28, 17, 125)
HSLhsl(246, 76%, 28%)
HSVhsv(246, 86%, 49%)
CMYKcmyk(77.6%, 86.4%, 0%, 51%)
CIE-LABlab(16.15, 40.70, -57.46)
CIE-LCHlch(16.15, 70.42, 305.31°)
OKLaboklab(29.53% 0.0109 -0.1662)
OKLCHoklch(29.53% 0.167 273.7)
XYZxyz(4.3798, 2.1280, 19.5780)
Luminance0.0213 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C117D #727D11
analogous
#113C7D #1C117D #52117D
triadic
#1C117D #7D1C11 #117D1C
tetradic
#1C117D #7D113C #727D11 #117D52
square
#1C117D #7D113C #727D11 #117D52
split-complementary
#1C117D #7D5211 #3C7D11
monochromatic
#06041B #100A47 #1C117D #2818B3 #3A27E2

Accessibility & contrast

On white

14.73
#1C117D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#1C117D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C117D
14.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C117D#FFFFFF#000000##FFFFFF
##1C117D1.0014.731.4314.73
#FFFFFF14.731.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1c117d;
/* rgb */ color: rgb(28, 17, 125);
/* oklch */ color: oklch(29.5% 0.167 273.7);
Tailwind
colors: {
  custom: {
    50: '#6b53a4',
    500: '#1c117d',
    950: '#000000',
  },
}
SCSS
$custom: #1c117d;
$custom-light: #6b53a4;
$custom-dark: #000000;
JSON
{
  "hex": "#1c117d",
  "rgb": {
    "r": 28,
    "g": 17,
    "b": 125
  },
  "hsl": {
    "h": 246.111,
    "s": 76.056,
    "l": 27.843
  },
  "oklch": {
    "l": 0.29528,
    "c": 0.16652,
    "h": 273.7
  },
  "luminance": 0.02128
}

Semantic roles & 50–950 ramp

primary
#1C117D
secondary
#A6B337
accent
#F335DF
background
#F7F4FA
surface
#EDE8F4
border
#C8C4CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #1C117D

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

Preview Lab → · Contrast checker → · Palette generator →

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