#1C158D#1C158D

#1C158D is a dark, vivid blue. Relative luminance 0.027; OKLCH L 32.0% C 0.183 H 271.7°. Best body text is #FFFFFF at 13.63:1 contrast (WCAG AA passes).

Color values

HEX#1C158D
RGBrgb(28, 21, 141)
HSLhsl(244, 74%, 32%)
HSVhsv(244, 85%, 55%)
CMYKcmyk(80.1%, 85.1%, 0%, 44.7%)
CIE-LABlab(18.82, 43.91, -63.11)
CIE-LCHlch(18.82, 76.89, 304.83°)
OKLaboklab(31.96% 0.0054 -0.1826)
OKLCHoklch(31.96% 0.183 271.7)
XYZxyz(5.5532, 2.7057, 25.4237)
Luminance0.0271 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C158D #868D15
analogous
#154A8D #1C158D #58158D
triadic
#1C158D #8D1C15 #158D1C
tetradic
#1C158D #8D154A #868D15 #158D58
square
#1C158D #8D154A #868D15 #158D58
split-complementary
#1C158D #8D5815 #4A8D15
monochromatic
#070522 #110D58 #1C158D #271DC2 #443BE2

Accessibility & contrast

On white

13.63
#1C158D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#1C158D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C158D
13.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C158D#FFFFFF#000000##FFFFFF
##1C158D1.0013.631.5413.63
#FFFFFF13.631.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003390
Deuteranopia (green-blind)
#00288B
Tritanopia (blue-blind)
#003C53
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1c158d;
/* rgb */ color: rgb(28, 21, 141);
/* oklch */ color: oklch(32.0% 0.183 271.7);
Tailwind
colors: {
  custom: {
    50: '#6f57b0',
    500: '#1c158d',
    950: '#000000',
  },
}
SCSS
$custom: #1c158d;
$custom-light: #6f57b0;
$custom-dark: #000000;
JSON
{
  "hex": "#1c158d",
  "rgb": {
    "r": 28,
    "g": 21,
    "b": 141
  },
  "hsl": {
    "h": 243.5,
    "s": 74.074,
    "l": 31.765
  },
  "oklch": {
    "l": 0.31963,
    "c": 0.18269,
    "h": 271.7
  },
  "luminance": 0.02706
}

Semantic roles & 50–950 ramp

primary
#1C158D
secondary
#B9C13D
accent
#F137E6
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090311
muted
#7B7880

Preview Lab

Preview with #1C158D

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

Preview Lab → · Contrast checker → · Palette generator →

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