#1C1D97#1C1D97

#1C1D97 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 34.1% C 0.188 H 270.3°. Best body text is #FFFFFF at 12.56:1 contrast (WCAG AA passes).

Color values

HEX#1C1D97
RGBrgb(28, 29, 151)
HSLhsl(240, 69%, 35%)
HSVhsv(240, 81%, 59%)
CMYKcmyk(81.5%, 80.8%, 0%, 40.8%)
CIE-LABlab(21.43, 43.16, -65.00)
CIE-LCHlch(21.43, 78.02, 303.59°)
OKLaboklab(34.13% 0.0011 -0.1882)
OKLCHoklch(34.13% 0.188 270.3)
XYZxyz(6.5023, 3.3592, 29.5779)
Luminance0.0336 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C1D97 #97961C
analogous
#1C5B97 #1C1D97 #581C97
triadic
#1C1D97 #971C1D #1D971C
tetradic
#1C1D97 #971C5B #97961C #1C9758
square
#1C1D97 #971C5B #97961C #1C9758
split-complementary
#1C1D97 #97581C #5B971C
monochromatic
#090930 #121363 #1C1D97 #2627CB #4F50DE

Accessibility & contrast

On white

12.56
#1C1D97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#1C1D97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C1D97
12.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C1D97#FFFFFF#000000##FFFFFF
##1C1D971.0012.561.6712.56
#FFFFFF12.561.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.561.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1c1d97;
/* rgb */ color: rgb(28, 29, 151);
/* oklch */ color: oklch(34.1% 0.188 270.3);
Tailwind
colors: {
  custom: {
    50: '#715cb7',
    500: '#1c1d97',
    950: '#000000',
  },
}
SCSS
$custom: #1c1d97;
$custom-light: #715cb7;
$custom-dark: #000000;
JSON
{
  "hex": "#1c1d97",
  "rgb": {
    "r": 28,
    "g": 29,
    "b": 151
  },
  "hsl": {
    "h": 239.512,
    "s": 68.715,
    "l": 35.098
  },
  "oklch": {
    "l": 0.34129,
    "c": 0.18821,
    "h": 270.3
  },
  "luminance": 0.0336
}

Semantic roles & 50–950 ramp

primary
#1C1D97
secondary
#C1C04E
accent
#EA3CEC
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #1C1D97

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

Preview Lab → · Contrast checker → · Palette generator →

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