#1C158E#1C158E

#1C158E is a dark, vivid blue. Relative luminance 0.027; OKLCH L 32.1% C 0.184 H 271.6°. Best body text is #FFFFFF at 13.57:1 contrast (WCAG AA passes).

Color values

HEX#1C158E
RGBrgb(28, 21, 142)
HSLhsl(243, 74%, 32%)
HSVhsv(243, 85%, 56%)
CMYKcmyk(80.3%, 85.2%, 0%, 44.3%)
CIE-LABlab(18.95, 44.23, -63.53)
CIE-LCHlch(18.95, 77.40, 304.85°)
OKLaboklab(32.09% 0.0052 -0.1838)
OKLCHoklch(32.09% 0.184 271.6)
XYZxyz(5.6279, 2.7356, 25.8173)
Luminance0.0274 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C158E #878E15
analogous
#154B8E #1C158E #59158E
triadic
#1C158E #8E1C15 #158E1C
tetradic
#1C158E #8E154B #878E15 #158E59
square
#1C158E #8E154B #878E15 #158E59
split-complementary
#1C158E #8E5915 #4B8E15
monochromatic
#070523 #110D59 #1C158E #271DC3 #453BE2

Accessibility & contrast

On white

13.57
#1C158E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C158E
13.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C158E#FFFFFF#000000##FFFFFF
##1C158E1.0013.571.5513.57
#FFFFFF13.571.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003491
Deuteranopia (green-blind)
#00288C
Tritanopia (blue-blind)
#003D53
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1c158e;
/* rgb */ color: rgb(28, 21, 142);
/* oklch */ color: oklch(32.1% 0.184 271.6);
Tailwind
colors: {
  custom: {
    50: '#6f57b0',
    500: '#1c158e',
    950: '#000000',
  },
}
SCSS
$custom: #1c158e;
$custom-light: #6f57b0;
$custom-dark: #000000;
JSON
{
  "hex": "#1c158e",
  "rgb": {
    "r": 28,
    "g": 21,
    "b": 142
  },
  "hsl": {
    "h": 243.471,
    "s": 74.233,
    "l": 31.961
  },
  "oklch": {
    "l": 0.32087,
    "c": 0.18387,
    "h": 271.6
  },
  "luminance": 0.02736
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1C158E

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

Preview Lab → · Contrast checker → · Palette generator →

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