#1C1E82#1C1E82

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

Color values

HEX#1C1E82
RGBrgb(28, 30, 130)
HSLhsl(239, 65%, 31%)
HSVhsv(239, 78%, 51%)
CMYKcmyk(78.5%, 76.9%, 0%, 49%)
CIE-LABlab(19.17, 35.40, -55.63)
CIE-LCHlch(19.17, 65.94, 302.47°)
OKLaboklab(31.82% 0.0049 -0.161)
OKLCHoklch(31.82% 0.161 271.7)
XYZxyz(4.9711, 2.7866, 21.3906)
Luminance0.0279 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C1E82 #82801C
analogous
#1C5182 #1C1E82 #4D1C82
triadic
#1C1E82 #821C1E #1E821C
tetradic
#1C1E82 #821C51 #82801C #1C824D
square
#1C1E82 #821C51 #82801C #1C824D
split-complementary
#1C1E82 #824D1C #51821C
monochromatic
#06071D #111250 #1C1E82 #272AB4 #4245D6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1C1E82#FFFFFF#000000##FFFFFF
##1C1E821.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)
#003385
Deuteranopia (green-blind)
#002980
Tritanopia (blue-blind)
#003B4E
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #1c1e82;
/* rgb */ color: rgb(28, 30, 130);
/* oklch */ color: oklch(31.8% 0.161 271.7);
Tailwind
colors: {
  custom: {
    50: '#6b5ba7',
    500: '#1c1e82',
    950: '#000000',
  },
}
SCSS
$custom: #1c1e82;
$custom-light: #6b5ba7;
$custom-dark: #000000;
JSON
{
  "hex": "#1c1e82",
  "rgb": {
    "r": 28,
    "g": 30,
    "b": 130
  },
  "hsl": {
    "h": 238.824,
    "s": 64.557,
    "l": 30.98
  },
  "oklch": {
    "l": 0.31818,
    "c": 0.16112,
    "h": 271.7
  },
  "luminance": 0.02787
}

Semantic roles & 50–950 ramp

primary
#1C1E82
secondary
#B5B344
accent
#E440E8
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1C1E82

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

Preview Lab → · Contrast checker → · Palette generator →

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