#1C158F#1C158F

#1C158F is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.2% C 0.185 H 271.5°. Best body text is #FFFFFF at 13.52:1 contrast (WCAG AA passes).

Color values

HEX#1C158F
RGBrgb(28, 21, 143)
HSLhsl(243, 74%, 32%)
HSVhsv(243, 85%, 56%)
CMYKcmyk(80.4%, 85.3%, 0%, 43.9%)
CIE-LABlab(19.08, 44.54, -63.94)
CIE-LCHlch(19.08, 77.92, 304.86°)
OKLaboklab(32.21% 0.0049 -0.185)
OKLCHoklch(32.21% 0.185 271.5)
XYZxyz(5.7033, 2.7657, 26.2145)
Luminance0.0277 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C158F #888F15
analogous
#154B8F #1C158F #59158F
triadic
#1C158F #8F1C15 #158F1C
tetradic
#1C158F #8F154B #888F15 #158F59
square
#1C158F #8F154B #888F15 #158F59
split-complementary
#1C158F #8F5915 #4B8F15
monochromatic
#070524 #120D5A #1C158F #261DC4 #463CE2

Accessibility & contrast

On white

13.52
#1C158F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#1C158F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C158F
13.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C158F#FFFFFF#000000##FFFFFF
##1C158F1.0013.521.5513.52
#FFFFFF13.521.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003492
Deuteranopia (green-blind)
#00288D
Tritanopia (blue-blind)
#003D54
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1c158f;
/* rgb */ color: rgb(28, 21, 143);
/* oklch */ color: oklch(32.2% 0.185 271.5);
Tailwind
colors: {
  custom: {
    50: '#7057b1',
    500: '#1c158f',
    950: '#000000',
  },
}
SCSS
$custom: #1c158f;
$custom-light: #7057b1;
$custom-dark: #000000;
JSON
{
  "hex": "#1c158f",
  "rgb": {
    "r": 28,
    "g": 21,
    "b": 143
  },
  "hsl": {
    "h": 243.443,
    "s": 74.39,
    "l": 32.157
  },
  "oklch": {
    "l": 0.32212,
    "c": 0.18505,
    "h": 271.5
  },
  "luminance": 0.02766
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1C158F

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

Preview Lab → · Contrast checker → · Palette generator →

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