#1C1D9D#1C1D9D

#1C1D9D is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.8% C 0.195 H 270.0°. Best body text is #FFFFFF at 12.27:1 contrast (WCAG AA passes).

Color values

HEX#1C1D9D
RGBrgb(28, 29, 157)
HSLhsl(240, 70%, 36%)
HSVhsv(240, 82%, 62%)
CMYKcmyk(82.2%, 81.5%, 0%, 38.4%)
CIE-LABlab(22.16, 45.13, -67.47)
CIE-LCHlch(22.16, 81.18, 303.78°)
OKLaboklab(34.85% -0.0002 -0.1954)
OKLCHoklch(34.85% 0.195 270)
XYZxyz(7.0020, 3.5591, 32.2097)
Luminance0.0356 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C1D9D #9D9C1C
analogous
#1C5E9D #1C1D9D #5C1C9D
triadic
#1C1D9D #9D1C1D #1D9D1C
tetradic
#1C1D9D #9D1C5E #9D9C1C #1C9D5C
square
#1C1D9D #9D1C5E #9D9C1C #1C9D5C
split-complementary
#1C1D9D #9D5C1C #5E9D1C
monochromatic
#090A35 #131369 #1C1D9D #2527D1 #5354E0

Accessibility & contrast

On white

12.27
#1C1D9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#1C1D9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C1D9D
12.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C1D9D#FFFFFF#000000##FFFFFF
##1C1D9D1.0012.271.7112.27
#FFFFFF12.271.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003BA1
Deuteranopia (green-blind)
#002E9B
Tritanopia (blue-blind)
#00455E
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1c1d9d;
/* rgb */ color: rgb(28, 29, 157);
/* oklch */ color: oklch(34.8% 0.195 270.0);
Tailwind
colors: {
  custom: {
    50: '#735cbb',
    500: '#1c1d9d',
    950: '#000000',
  },
}
SCSS
$custom: #1c1d9d;
$custom-light: #735cbb;
$custom-dark: #000000;
JSON
{
  "hex": "#1c1d9d",
  "rgb": {
    "r": 28,
    "g": 29,
    "b": 157
  },
  "hsl": {
    "h": 239.535,
    "s": 69.73,
    "l": 36.275
  },
  "oklch": {
    "l": 0.34848,
    "c": 0.19538,
    "h": 270
  },
  "luminance": 0.0356
}

Semantic roles & 50–950 ramp

primary
#1C1D9D
secondary
#C3C251
accent
#EB3BED
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #1C1D9D

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

Preview Lab → · Contrast checker → · Palette generator →

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