#1C1996#1C1996

#1C1996 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.5% C 0.190 H 270.7°. Best body text is #FFFFFF at 12.89:1 contrast (WCAG AA passes).

Color values

HEX#1C1996
RGBrgb(28, 25, 150)
HSLhsl(241, 71%, 34%)
HSVhsv(241, 83%, 59%)
CMYKcmyk(81.3%, 83.3%, 0%, 41.2%)
CIE-LABlab(20.61, 44.87, -65.74)
CIE-LCHlch(20.61, 79.59, 304.31°)
OKLaboklab(33.52% 0.0023 -0.1903)
OKLCHoklch(33.52% 0.19 270.7)
XYZxyz(6.3297, 3.1434, 29.1214)
Luminance0.0314 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C1996 #939619
analogous
#195596 #1C1996 #5B1996
triadic
#1C1996 #961C19 #19961C
tetradic
#1C1996 #961955 #939619 #19965B
square
#1C1996 #961955 #939619 #19965B
split-complementary
#1C1996 #965B19 #559619
monochromatic
#08082D #121062 #1C1996 #2622CA #4C49E1

Accessibility & contrast

On white

12.89
#1C1996 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#1C1996 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C1996
12.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C1996#FFFFFF#000000##FFFFFF
##1C19961.0012.891.6312.89
#FFFFFF12.891.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003899
Deuteranopia (green-blind)
#002B94
Tritanopia (blue-blind)
#004159
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1c1996;
/* rgb */ color: rgb(28, 25, 150);
/* oklch */ color: oklch(33.5% 0.190 270.7);
Tailwind
colors: {
  custom: {
    50: '#715ab6',
    500: '#1c1996',
    950: '#000000',
  },
}
SCSS
$custom: #1c1996;
$custom-light: #715ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#1c1996",
  "rgb": {
    "r": 28,
    "g": 25,
    "b": 150
  },
  "hsl": {
    "h": 241.44,
    "s": 71.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.33523,
    "c": 0.1903,
    "h": 270.7
  },
  "luminance": 0.03144
}

Semantic roles & 50–950 ramp

primary
#1C1996
secondary
#BFC249
accent
#EE3AEA
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #1C1996

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

Preview Lab → · Contrast checker → · Palette generator →

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