#1C159E#1C159E

#1C159E is a dark, highly saturated blue. Relative luminance 0.033; OKLCH L 34.1% C 0.202 H 270.3°. Best body text is #FFFFFF at 12.72:1 contrast (WCAG AA passes).

Color values

HEX#1C159E
RGBrgb(28, 21, 158)
HSLhsl(243, 77%, 35%)
HSVhsv(243, 87%, 62%)
CMYKcmyk(82.3%, 86.7%, 0%, 38%)
CIE-LABlab(21.02, 49.17, -69.97)
CIE-LCHlch(21.02, 85.52, 305.09°)
OKLaboklab(34.1% 0.0011 -0.2024)
OKLCHoklch(34.1% 0.202 270.3)
XYZxyz(6.9165, 3.2510, 32.6041)
Luminance0.0325 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C159E #979E15
analogous
#15529E #1C159E #61159E
triadic
#1C159E #9E1C15 #159E1C
tetradic
#1C159E #9E1552 #979E15 #159E61
square
#1C159E #9E1552 #979E15 #159E61
split-complementary
#1C159E #9E6115 #529E15
monochromatic
#090732 #120E68 #1C159E #261CD4 #4F47E7

Accessibility & contrast

On white

12.72
#1C159E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#1C159E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C159E
12.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C159E#FFFFFF#000000##FFFFFF
##1C159E1.0012.721.6512.72
#FFFFFF12.721.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0039A2
Deuteranopia (green-blind)
#002B9C
Tritanopia (blue-blind)
#00435D
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #1c159e;
/* rgb */ color: rgb(28, 21, 158);
/* oklch */ color: oklch(34.1% 0.202 270.3);
Tailwind
colors: {
  custom: {
    50: '#7458bc',
    500: '#1c159e',
    950: '#000000',
  },
}
SCSS
$custom: #1c159e;
$custom-light: #7458bc;
$custom-dark: #000000;
JSON
{
  "hex": "#1c159e",
  "rgb": {
    "r": 28,
    "g": 21,
    "b": 158
  },
  "hsl": {
    "h": 243.066,
    "s": 76.536,
    "l": 35.098
  },
  "oklch": {
    "l": 0.34099,
    "c": 0.20244,
    "h": 270.3
  },
  "luminance": 0.03252
}

Semantic roles & 50–950 ramp

primary
#1C159E
secondary
#C1C747
accent
#F335E9
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #1C159E

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

Preview Lab → · Contrast checker → · Palette generator →

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