#1C1B85#1C1B85

#1C1B85 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.7% C 0.168 H 271.9°. Best body text is #FFFFFF at 13.59:1 contrast (WCAG AA passes).

Color values

HEX#1C1B85
RGBrgb(28, 27, 133)
HSLhsl(241, 66%, 31%)
HSVhsv(241, 80%, 52%)
CMYKcmyk(78.9%, 79.7%, 0%, 47.8%)
CIE-LABlab(18.90, 38.19, -57.97)
CIE-LCHlch(18.90, 69.42, 303.38°)
OKLaboklab(31.73% 0.0055 -0.1678)
OKLCHoklch(31.73% 0.168 271.9)
XYZxyz(5.1030, 2.7236, 22.4425)
Luminance0.0272 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C1B85 #84851B
analogous
#1B4F85 #1C1B85 #511B85
triadic
#1C1B85 #851C1B #1B851C
tetradic
#1C1B85 #851B4F #84851B #1B8551
square
#1C1B85 #851B4F #84851B #1B8551
split-complementary
#1C1B85 #85511B #4F851B
monochromatic
#07061F #111152 #1C1B85 #2725B8 #4342D9

Accessibility & contrast

On white

13.59
#1C1B85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#1C1B85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C1B85
13.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C1B85#FFFFFF#000000##FFFFFF
##1C1B851.0013.591.5413.59
#FFFFFF13.591.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003388
Deuteranopia (green-blind)
#002983
Tritanopia (blue-blind)
#003B4F
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1c1b85;
/* rgb */ color: rgb(28, 27, 133);
/* oklch */ color: oklch(31.7% 0.168 271.9);
Tailwind
colors: {
  custom: {
    50: '#6c59aa',
    500: '#1c1b85',
    950: '#000000',
  },
}
SCSS
$custom: #1c1b85;
$custom-light: #6c59aa;
$custom-dark: #000000;
JSON
{
  "hex": "#1c1b85",
  "rgb": {
    "r": 28,
    "g": 27,
    "b": 133
  },
  "hsl": {
    "h": 240.566,
    "s": 66.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.31732,
    "c": 0.16789,
    "h": 271.9
  },
  "luminance": 0.02724
}

Semantic roles & 50–950 ramp

primary
#1C1B85
secondary
#B7B844
accent
#E93FE8
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1C1B85

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

Preview Lab → · Contrast checker → · Palette generator →

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