#1C115B#1C115B

#1C115B is a dark, vivid blue. Relative luminance 0.014; OKLCH L 25.4% C 0.123 H 279.8°. Best body text is #FFFFFF at 16.40:1 contrast (WCAG AA passes).

Color values

HEX#1C115B
RGBrgb(28, 17, 91)
HSLhsl(249, 69%, 21%)
HSVhsv(249, 81%, 36%)
CMYKcmyk(69.2%, 81.3%, 0%, 64.3%)
CIE-LABlab(11.98, 29.43, -42.09)
CIE-LCHlch(11.98, 51.36, 304.96°)
OKLaboklab(25.41% 0.0209 -0.1215)
OKLCHoklch(25.41% 0.123 279.8)
XYZxyz(2.5671, 1.4029, 10.0310)
Luminance0.0140 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C115B #505B11
analogous
#112B5B #1C115B #41115B
triadic
#1C115B #5B1C11 #115B1C
tetradic
#1C115B #5B112B #505B11 #115B41
square
#1C115B #5B112B #505B11 #115B41
split-complementary
#1C115B #5B4111 #2B5B11
monochromatic
#08051A #0C0727 #1C115B #2C1B8F #3C24C2

Accessibility & contrast

On white

16.40
#1C115B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C115B
16.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C115B#FFFFFF#000000##FFFFFF
##1C115B1.0016.401.2816.40
#FFFFFF16.401.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00225D
Deuteranopia (green-blind)
#001D5A
Tritanopia (blue-blind)
#002635
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #1c115b;
/* rgb */ color: rgb(28, 17, 91);
/* oklch */ color: oklch(25.4% 0.123 279.8);
Tailwind
colors: {
  custom: {
    50: '#62518a',
    500: '#1c115b',
    950: '#000000',
  },
}
SCSS
$custom: #1c115b;
$custom-light: #62518a;
$custom-dark: #000000;
JSON
{
  "hex": "#1c115b",
  "rgb": {
    "r": 28,
    "g": 17,
    "b": 91
  },
  "hsl": {
    "h": 248.919,
    "s": 68.519,
    "l": 21.176
  },
  "oklch": {
    "l": 0.25413,
    "c": 0.12329,
    "h": 279.8
  },
  "luminance": 0.01403
}

Semantic roles & 50–950 ramp

primary
#1C115B
secondary
#869434
accent
#EB3CD1
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #1C115B

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

Preview Lab → · Contrast checker → · Palette generator →

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