#1B1C85#1B1C85

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

Color values

HEX#1B1C85
RGBrgb(27, 28, 133)
HSLhsl(239, 66%, 31%)
HSVhsv(239, 80%, 52%)
CMYKcmyk(79.7%, 78.9%, 0%, 47.8%)
CIE-LABlab(19.04, 37.54, -57.74)
CIE-LCHlch(19.04, 68.87, 303.03°)
OKLaboklab(31.81% 0.0039 -0.1672)
OKLCHoklch(31.81% 0.167 271.3)
XYZxyz(5.0995, 2.7564, 22.4490)
Luminance0.0276 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B1C85 #85841B
analogous
#1B5185 #1B1C85 #4F1B85
triadic
#1B1C85 #851B1C #1C851B
tetradic
#1B1C85 #851B51 #85841B #1B854F
square
#1B1C85 #851B51 #85841B #1B854F
split-complementary
#1B1C85 #854F1B #51851B
monochromatic
#06071F #111152 #1B1C85 #2527B8 #4243D9

Accessibility & contrast

On white

13.54
#1B1C85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#1B1C85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B1C85
13.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B1C85#FFFFFF#000000##FFFFFF
##1B1C851.0013.541.5513.54
#FFFFFF13.541.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.541.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1b1c85;
/* rgb */ color: rgb(27, 28, 133);
/* oklch */ color: oklch(31.8% 0.167 271.3);
Tailwind
colors: {
  custom: {
    50: '#6c5aaa',
    500: '#1b1c85',
    950: '#000000',
  },
}
SCSS
$custom: #1b1c85;
$custom-light: #6c5aaa;
$custom-dark: #000000;
JSON
{
  "hex": "#1b1c85",
  "rgb": {
    "r": 27,
    "g": 28,
    "b": 133
  },
  "hsl": {
    "h": 239.434,
    "s": 66.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.31814,
    "c": 0.16722,
    "h": 271.3
  },
  "luminance": 0.02757
}

Semantic roles & 50–950 ramp

primary
#1B1C85
secondary
#B8B744
accent
#E83FE9
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1B1C85

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

Preview Lab → · Contrast checker → · Palette generator →

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