#1B1C8D#1B1C8D

#1B1C8D is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.8% C 0.177 H 270.7°. Best body text is #FFFFFF at 13.15:1 contrast (WCAG AA passes).

Color values

HEX#1B1C8D
RGBrgb(27, 28, 141)
HSLhsl(239, 68%, 33%)
HSVhsv(239, 81%, 55%)
CMYKcmyk(80.9%, 80.1%, 0%, 44.7%)
CIE-LABlab(19.99, 40.29, -61.19)
CIE-LCHlch(19.99, 73.26, 303.36°)
OKLaboklab(32.76% 0.0023 -0.1772)
OKLCHoklch(32.76% 0.177 270.7)
XYZxyz(5.6733, 2.9860, 25.4715)
Luminance0.0299 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B1C8D #8D8C1B
analogous
#1B558D #1B1C8D #531B8D
triadic
#1B1C8D #8D1B1C #1C8D1B
tetradic
#1B1C8D #8D1B55 #8D8C1B #1B8D53
square
#1B1C8D #8D1B55 #8D8C1B #1B8D53
split-complementary
#1B1C8D #8D531B #558D1B
monochromatic
#070826 #11125A #1B1C8D #2526C0 #4748DC

Accessibility & contrast

On white

13.15
#1B1C8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#1B1C8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B1C8D
13.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B1C8D#FFFFFF#000000##FFFFFF
##1B1C8D1.0013.151.6013.15
#FFFFFF13.151.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003690
Deuteranopia (green-blind)
#002A8B
Tritanopia (blue-blind)
#003F54
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1b1c8d;
/* rgb */ color: rgb(27, 28, 141);
/* oklch */ color: oklch(32.8% 0.177 270.7);
Tailwind
colors: {
  custom: {
    50: '#6e5ab0',
    500: '#1b1c8d',
    950: '#000000',
  },
}
SCSS
$custom: #1b1c8d;
$custom-light: #6e5ab0;
$custom-dark: #000000;
JSON
{
  "hex": "#1b1c8d",
  "rgb": {
    "r": 27,
    "g": 28,
    "b": 141
  },
  "hsl": {
    "h": 239.474,
    "s": 67.857,
    "l": 32.941
  },
  "oklch": {
    "l": 0.32756,
    "c": 0.17718,
    "h": 270.7
  },
  "luminance": 0.02987
}

Semantic roles & 50–950 ramp

primary
#1B1C8D
secondary
#BDBC46
accent
#E93DEB
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #1B1C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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