#1C1F86#1C1F86

#1C1F86 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.4% C 0.165 H 271.3°. Best body text is #FFFFFF at 13.21:1 contrast (WCAG AA passes).

Color values

HEX#1C1F86
RGBrgb(28, 31, 134)
HSLhsl(238, 65%, 32%)
HSVhsv(238, 79%, 53%)
CMYKcmyk(79.1%, 76.9%, 0%, 47.5%)
CIE-LABlab(19.83, 36.22, -57.06)
CIE-LCHlch(19.83, 67.58, 302.41°)
OKLaboklab(32.42% 0.0037 -0.1652)
OKLCHoklch(32.42% 0.165 271.3)
XYZxyz(5.2705, 2.9475, 22.8408)
Luminance0.0295 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C1F86 #86831C
analogous
#1C5486 #1C1F86 #4E1C86
triadic
#1C1F86 #861C1F #1F861C
tetradic
#1C1F86 #861C54 #86831C #1C864E
square
#1C1F86 #861C54 #86831C #1C864E
split-complementary
#1C1F86 #864E1C #54861C
monochromatic
#070821 #111353 #1C1F86 #272BB9 #4449D8

Accessibility & contrast

On white

13.21
#1C1F86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#1C1F86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C1F86
13.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C1F86#FFFFFF#000000##FFFFFF
##1C1F861.0013.211.5913.21
#FFFFFF13.211.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003589
Deuteranopia (green-blind)
#002B84
Tritanopia (blue-blind)
#003D51
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1c1f86;
/* rgb */ color: rgb(28, 31, 134);
/* oklch */ color: oklch(32.4% 0.165 271.3);
Tailwind
colors: {
  custom: {
    50: '#6c5caa',
    500: '#1c1f86',
    950: '#000000',
  },
}
SCSS
$custom: #1c1f86;
$custom-light: #6c5caa;
$custom-dark: #000000;
JSON
{
  "hex": "#1c1f86",
  "rgb": {
    "r": 28,
    "g": 31,
    "b": 134
  },
  "hsl": {
    "h": 238.302,
    "s": 65.432,
    "l": 31.765
  },
  "oklch": {
    "l": 0.32423,
    "c": 0.16524,
    "h": 271.3
  },
  "luminance": 0.02948
}

Semantic roles & 50–950 ramp

primary
#1C1F86
secondary
#B9B645
accent
#E43FE8
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1C1F86

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

Preview Lab → · Contrast checker → · Palette generator →

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