#1C1D84#1C1D84

#1C1D84 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.9% C 0.165 H 271.7°. Best body text is #FFFFFF at 13.48:1 contrast (WCAG AA passes).

Color values

HEX#1C1D84
RGBrgb(28, 29, 132)
HSLhsl(239, 65%, 31%)
HSVhsv(239, 79%, 52%)
CMYKcmyk(78.8%, 78%, 0%, 48.2%)
CIE-LABlab(19.19, 36.70, -56.86)
CIE-LCHlch(19.19, 67.68, 302.84°)
OKLaboklab(31.9% 0.0049 -0.1646)
OKLCHoklch(31.9% 0.165 271.7)
XYZxyz(5.0817, 2.7910, 22.0962)
Luminance0.0279 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C1D84 #84831C
analogous
#1C5184 #1C1D84 #4F1C84
triadic
#1C1D84 #841C1D #1D841C
tetradic
#1C1D84 #841C51 #84831C #1C844F
square
#1C1D84 #841C51 #84831C #1C844F
split-complementary
#1C1D84 #844F1C #51841C
monochromatic
#07071F #111252 #1C1D84 #2728B6 #4345D7

Accessibility & contrast

On white

13.48
#1C1D84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#1C1D84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C1D84
13.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C1D84#FFFFFF#000000##FFFFFF
##1C1D841.0013.481.5613.48
#FFFFFF13.481.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003487
Deuteranopia (green-blind)
#002982
Tritanopia (blue-blind)
#003C4F
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #1c1d84;
/* rgb */ color: rgb(28, 29, 132);
/* oklch */ color: oklch(31.9% 0.165 271.7);
Tailwind
colors: {
  custom: {
    50: '#6c5ba9',
    500: '#1c1d84',
    950: '#000000',
  },
}
SCSS
$custom: #1c1d84;
$custom-light: #6c5ba9;
$custom-dark: #000000;
JSON
{
  "hex": "#1c1d84",
  "rgb": {
    "r": 28,
    "g": 29,
    "b": 132
  },
  "hsl": {
    "h": 239.423,
    "s": 65,
    "l": 31.373
  },
  "oklch": {
    "l": 0.31899,
    "c": 0.16469,
    "h": 271.7
  },
  "luminance": 0.02792
}

Semantic roles & 50–950 ramp

primary
#1C1D84
secondary
#B7B645
accent
#E640E8
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1C1D84

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

Preview Lab → · Contrast checker → · Palette generator →

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