#1B1C83#1B1C83

#1B1C83 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.6% C 0.165 H 271.5°. Best body text is #FFFFFF at 13.63:1 contrast (WCAG AA passes).

Color values

HEX#1B1C83
RGBrgb(27, 28, 131)
HSLhsl(239, 66%, 31%)
HSVhsv(239, 79%, 51%)
CMYKcmyk(79.4%, 78.6%, 0%, 48.6%)
CIE-LABlab(18.81, 36.85, -56.86)
CIE-LCHlch(18.81, 67.76, 302.94°)
OKLaboklab(31.58% 0.0043 -0.1646)
OKLCHoklch(31.58% 0.165 271.5)
XYZxyz(4.9626, 2.7017, 21.7283)
Luminance0.0270 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B1C83 #83821B
analogous
#1B5083 #1B1C83 #4E1B83
triadic
#1B1C83 #831B1C #1C831B
tetradic
#1B1C83 #831B50 #83821B #1B834E
square
#1B1C83 #831B50 #83821B #1B834E
split-complementary
#1B1C83 #834E1B #50831B
monochromatic
#06061E #111150 #1B1C83 #2527B6 #4142D8

Accessibility & contrast

On white

13.63
#1B1C83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B1C83
13.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B1C83#FFFFFF#000000##FFFFFF
##1B1C831.0013.631.5413.63
#FFFFFF13.631.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003386
Deuteranopia (green-blind)
#002881
Tritanopia (blue-blind)
#003B4E
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1b1c83;
/* rgb */ color: rgb(27, 28, 131);
/* oklch */ color: oklch(31.6% 0.165 271.5);
Tailwind
colors: {
  custom: {
    50: '#6b5aa8',
    500: '#1b1c83',
    950: '#000000',
  },
}
SCSS
$custom: #1b1c83;
$custom-light: #6b5aa8;
$custom-dark: #000000;
JSON
{
  "hex": "#1b1c83",
  "rgb": {
    "r": 27,
    "g": 28,
    "b": 131
  },
  "hsl": {
    "h": 239.423,
    "s": 65.823,
    "l": 30.98
  },
  "oklch": {
    "l": 0.31581,
    "c": 0.16468,
    "h": 271.5
  },
  "luminance": 0.02702
}

Semantic roles & 50–950 ramp

primary
#1B1C83
secondary
#B6B543
accent
#E73FE9
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1B1C83

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

Preview Lab → · Contrast checker → · Palette generator →

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