#1C1B82#1C1B82

#1C1B82 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.4% C 0.164 H 272.1°. Best body text is #FFFFFF at 13.74:1 contrast (WCAG AA passes).

Color values

HEX#1C1B82
RGBrgb(28, 27, 130)
HSLhsl(241, 66%, 31%)
HSVhsv(241, 79%, 51%)
CMYKcmyk(78.5%, 79.2%, 0%, 49%)
CIE-LABlab(18.55, 37.16, -56.66)
CIE-LCHlch(18.55, 67.75, 303.26°)
OKLaboklab(31.38% 0.0061 -0.164)
OKLCHoklch(31.38% 0.164 272.1)
XYZxyz(4.8987, 2.6419, 21.3665)
Luminance0.0264 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C1B82 #81821B
analogous
#1B4D82 #1C1B82 #501B82
triadic
#1C1B82 #821C1B #1B821C
tetradic
#1C1B82 #821B4D #81821B #1B8250
square
#1C1B82 #821B4D #81821B #1B8250
split-complementary
#1C1B82 #82501B #4D821B
monochromatic
#06061D #11104F #1C1B82 #2726B5 #4240D7

Accessibility & contrast

On white

13.74
#1C1B82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#1C1B82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C1B82
13.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C1B82#FFFFFF#000000##FFFFFF
##1C1B821.0013.741.5313.74
#FFFFFF13.741.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003285
Deuteranopia (green-blind)
#002880
Tritanopia (blue-blind)
#003A4E
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #1c1b82;
/* rgb */ color: rgb(28, 27, 130);
/* oklch */ color: oklch(31.4% 0.164 272.1);
Tailwind
colors: {
  custom: {
    50: '#6c59a7',
    500: '#1c1b82',
    950: '#000000',
  },
}
SCSS
$custom: #1c1b82;
$custom-light: #6c59a7;
$custom-dark: #000000;
JSON
{
  "hex": "#1c1b82",
  "rgb": {
    "r": 28,
    "g": 27,
    "b": 130
  },
  "hsl": {
    "h": 240.583,
    "s": 65.605,
    "l": 30.784
  },
  "oklch": {
    "l": 0.3138,
    "c": 0.1641,
    "h": 272.1
  },
  "luminance": 0.02642
}

Semantic roles & 50–950 ramp

primary
#1C1B82
secondary
#B4B643
accent
#E93FE7
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1C1B82

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

Preview Lab → · Contrast checker → · Palette generator →

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