#1C117E#1C117E

#1C117E is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.7% C 0.168 H 273.6°. Best body text is #FFFFFF at 14.68:1 contrast (WCAG AA passes).

Color values

HEX#1C117E
RGBrgb(28, 17, 126)
HSLhsl(246, 76%, 28%)
HSVhsv(246, 87%, 49%)
CMYKcmyk(77.8%, 86.5%, 0%, 50.6%)
CIE-LABlab(16.27, 41.02, -57.89)
CIE-LCHlch(16.27, 70.94, 305.32°)
OKLaboklab(29.65% 0.0106 -0.1674)
OKLCHoklch(29.65% 0.168 273.6)
XYZxyz(4.4440, 2.1537, 19.9161)
Luminance0.0215 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C117E #737E11
analogous
#113C7E #1C117E #52117E
triadic
#1C117E #7E1C11 #117E1C
tetradic
#1C117E #7E113C #737E11 #117E52
square
#1C117E #7E113C #737E11 #117E52
split-complementary
#1C117E #7E5211 #3C7E11
monochromatic
#06041B #100A48 #1C117E #2818B4 #3A27E2

Accessibility & contrast

On white

14.68
#1C117E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C117E
14.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C117E#FFFFFF#000000##FFFFFF
##1C117E1.0014.681.4314.68
#FFFFFF14.681.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.681.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1c117e;
/* rgb */ color: rgb(28, 17, 126);
/* oklch */ color: oklch(29.7% 0.168 273.6);
Tailwind
colors: {
  custom: {
    50: '#6b53a5',
    500: '#1c117e',
    950: '#000000',
  },
}
SCSS
$custom: #1c117e;
$custom-light: #6b53a5;
$custom-dark: #000000;
JSON
{
  "hex": "#1c117e",
  "rgb": {
    "r": 28,
    "g": 17,
    "b": 126
  },
  "hsl": {
    "h": 246.055,
    "s": 76.224,
    "l": 28.039
  },
  "oklch": {
    "l": 0.29654,
    "c": 0.16772,
    "h": 273.6
  },
  "luminance": 0.02154
}

Semantic roles & 50–950 ramp

primary
#1C117E
secondary
#A7B437
accent
#F335E0
background
#F7F4FA
surface
#EDE8F4
border
#C8C4CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #1C117E

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

Preview Lab → · Contrast checker → · Palette generator →

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