#1C1E97#1C1E97

#1C1E97 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 34.3% C 0.187 H 270.2°. Best body text is #FFFFFF at 12.49:1 contrast (WCAG AA passes).

Color values

HEX#1C1E97
RGBrgb(28, 30, 151)
HSLhsl(239, 69%, 35%)
HSVhsv(239, 81%, 59%)
CMYKcmyk(81.5%, 80.1%, 0%, 40.8%)
CIE-LABlab(21.61, 42.63, -64.69)
CIE-LCHlch(21.61, 77.47, 303.38°)
OKLaboklab(34.26% 0.0008 -0.1873)
OKLCHoklch(34.26% 0.187 270.2)
XYZxyz(6.5272, 3.4090, 29.5862)
Luminance0.0341 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C1E97 #97951C
analogous
#1C5C97 #1C1E97 #571C97
triadic
#1C1E97 #971C1E #1E971C
tetradic
#1C1E97 #971C5C #97951C #1C9757
square
#1C1E97 #971C5C #97951C #1C9757
split-complementary
#1C1E97 #97571C #5C971C
monochromatic
#090930 #121463 #1C1E97 #2628CB #4F51DE

Accessibility & contrast

On white

12.49
#1C1E97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#1C1E97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C1E97
12.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C1E97#FFFFFF#000000##FFFFFF
##1C1E971.0012.491.6812.49
#FFFFFF12.491.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A9A
Deuteranopia (green-blind)
#002D95
Tritanopia (blue-blind)
#00435A
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1c1e97;
/* rgb */ color: rgb(28, 30, 151);
/* oklch */ color: oklch(34.3% 0.187 270.2);
Tailwind
colors: {
  custom: {
    50: '#715cb7',
    500: '#1c1e97',
    950: '#000000',
  },
}
SCSS
$custom: #1c1e97;
$custom-light: #715cb7;
$custom-dark: #000000;
JSON
{
  "hex": "#1c1e97",
  "rgb": {
    "r": 28,
    "g": 30,
    "b": 151
  },
  "hsl": {
    "h": 239.024,
    "s": 68.715,
    "l": 35.098
  },
  "oklch": {
    "l": 0.34258,
    "c": 0.18734,
    "h": 270.2
  },
  "luminance": 0.0341
}

Semantic roles & 50–950 ramp

primary
#1C1E97
secondary
#C1BF4E
accent
#E93CEC
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #1C1E97

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

Preview Lab → · Contrast checker → · Palette generator →

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