#1C118C#1C118C

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

Color values

HEX#1C118C
RGBrgb(28, 17, 140)
HSLhsl(245, 78%, 31%)
HSVhsv(245, 88%, 55%)
CMYKcmyk(80%, 87.9%, 0%, 45.1%)
CIE-LABlab(18.10, 45.36, -63.69)
CIE-LCHlch(18.10, 78.19, 305.46°)
OKLaboklab(31.43% 0.0066 -0.1842)
OKLCHoklch(31.43% 0.184 272)
XYZxyz(5.4114, 2.5406, 25.0111)
Luminance0.0254 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C118C #818C11
analogous
#11438C #1C118C #59118C
triadic
#1C118C #8C1C11 #118C1C
tetradic
#1C118C #8C1143 #818C11 #118C59
square
#1C118C #8C1143 #818C11 #118C59
split-complementary
#1C118C #8C5911 #438C11
monochromatic
#06041F #110A55 #1C118C #2718C3 #4231E6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1C118C#FFFFFF#000000##FFFFFF
##1C118C1.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)
#00328F
Deuteranopia (green-blind)
#00268A
Tritanopia (blue-blind)
#003A52
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #1c118c;
/* rgb */ color: rgb(28, 17, 140);
/* oklch */ color: oklch(31.4% 0.184 272.0);
Tailwind
colors: {
  custom: {
    50: '#6f55af',
    500: '#1c118c',
    950: '#000000',
  },
}
SCSS
$custom: #1c118c;
$custom-light: #6f55af;
$custom-dark: #000000;
JSON
{
  "hex": "#1c118c",
  "rgb": {
    "r": 28,
    "g": 17,
    "b": 140
  },
  "hsl": {
    "h": 245.366,
    "s": 78.344,
    "l": 30.784
  },
  "oklch": {
    "l": 0.31429,
    "c": 0.18431,
    "h": 272
  },
  "luminance": 0.02541
}

Semantic roles & 50–950 ramp

primary
#1C118C
secondary
#B4C138
accent
#F533E3
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090311
muted
#7B7880

Preview Lab

Preview with #1C118C

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

Preview Lab → · Contrast checker → · Palette generator →

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