#1C1E83#1C1E83

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

Color values

HEX#1C1E83
RGBrgb(28, 30, 131)
HSLhsl(239, 65%, 31%)
HSVhsv(239, 79%, 51%)
CMYKcmyk(78.6%, 77.1%, 0%, 48.6%)
CIE-LABlab(19.28, 35.75, -56.08)
CIE-LCHlch(19.28, 66.50, 302.52°)
OKLaboklab(31.93% 0.0047 -0.1623)
OKLCHoklch(31.93% 0.162 271.6)
XYZxyz(5.0385, 2.8136, 21.7459)
Luminance0.0281 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C1E83 #83811C
analogous
#1C5183 #1C1E83 #4D1C83
triadic
#1C1E83 #831C1E #1E831C
tetradic
#1C1E83 #831C51 #83811C #1C834D
square
#1C1E83 #831C51 #83811C #1C834D
split-complementary
#1C1E83 #834D1C #51831C
monochromatic
#06071E #111251 #1C1E83 #272AB5 #4346D7

Accessibility & contrast

On white

13.44
#1C1E83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C1E83
13.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C1E83#FFFFFF#000000##FFFFFF
##1C1E831.0013.441.5613.44
#FFFFFF13.441.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003486
Deuteranopia (green-blind)
#002A81
Tritanopia (blue-blind)
#003C4F
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #1c1e83;
/* rgb */ color: rgb(28, 30, 131);
/* oklch */ color: oklch(31.9% 0.162 271.6);
Tailwind
colors: {
  custom: {
    50: '#6c5ba8',
    500: '#1c1e83',
    950: '#000000',
  },
}
SCSS
$custom: #1c1e83;
$custom-light: #6c5ba8;
$custom-dark: #000000;
JSON
{
  "hex": "#1c1e83",
  "rgb": {
    "r": 28,
    "g": 30,
    "b": 131
  },
  "hsl": {
    "h": 238.835,
    "s": 64.78,
    "l": 31.176
  },
  "oklch": {
    "l": 0.31932,
    "c": 0.16241,
    "h": 271.6
  },
  "luminance": 0.02814
}

Semantic roles & 50–950 ramp

primary
#1C1E83
secondary
#B6B445
accent
#E540E8
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1C1E83

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

Preview Lab → · Contrast checker → · Palette generator →

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