#1C115C#1C115C

#1C115C is a dark, vivid blue. Relative luminance 0.014; OKLCH L 25.5% C 0.125 H 279.5°. Best body text is #FFFFFF at 16.36:1 contrast (WCAG AA passes).

Color values

HEX#1C115C
RGBrgb(28, 17, 92)
HSLhsl(249, 69%, 21%)
HSVhsv(249, 82%, 36%)
CMYKcmyk(69.6%, 81.5%, 0%, 63.9%)
CIE-LABlab(12.09, 29.77, -42.58)
CIE-LCHlch(12.09, 51.95, 304.96°)
OKLaboklab(25.53% 0.0206 -0.1229)
OKLCHoklch(25.53% 0.125 279.5)
XYZxyz(2.6105, 1.4203, 10.2597)
Luminance0.0142 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C115C #515C11
analogous
#112C5C #1C115C #42115C
triadic
#1C115C #5C1C11 #115C1C
tetradic
#1C115C #5C112C #515C11 #115C42
square
#1C115C #5C112C #515C11 #115C42
split-complementary
#1C115C #5C4211 #2C5C11
monochromatic
#08051A #0C0728 #1C115C #2C1B90 #3B24C3

Accessibility & contrast

On white

16.36
#1C115C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#1C115C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C115C
16.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C115C#FFFFFF#000000##FFFFFF
##1C115C1.0016.361.2816.36
#FFFFFF16.361.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00225E
Deuteranopia (green-blind)
#001D5B
Tritanopia (blue-blind)
#002736
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #1c115c;
/* rgb */ color: rgb(28, 17, 92);
/* oklch */ color: oklch(25.5% 0.125 279.5);
Tailwind
colors: {
  custom: {
    50: '#63518b',
    500: '#1c115c',
    950: '#000000',
  },
}
SCSS
$custom: #1c115c;
$custom-light: #63518b;
$custom-dark: #000000;
JSON
{
  "hex": "#1c115c",
  "rgb": {
    "r": 28,
    "g": 17,
    "b": 92
  },
  "hsl": {
    "h": 248.8,
    "s": 68.807,
    "l": 21.373
  },
  "oklch": {
    "l": 0.25528,
    "c": 0.12464,
    "h": 279.5
  },
  "luminance": 0.0142
}

Semantic roles & 50–950 ramp

primary
#1C115C
secondary
#879534
accent
#EC3CD2
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #1C115C

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

Preview Lab → · Contrast checker → · Palette generator →

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