#1B1C4E#1B1C4E

#1B1C4E is a dark, moderate blue. Relative luminance 0.016; OKLCH L 26.0% C 0.090 H 277.2°. Best body text is #FFFFFF at 15.88:1 contrast (WCAG AA passes).

Color values

HEX#1B1C4E
RGBrgb(27, 28, 78)
HSLhsl(239, 49%, 21%)
HSVhsv(239, 65%, 31%)
CMYKcmyk(65.4%, 64.1%, 0%, 69.4%)
CIE-LABlab(13.31, 17.05, -31.08)
CIE-LCHlch(13.31, 35.45, 298.75°)
OKLaboklab(25.95% 0.0113 -0.0893)
OKLCHoklch(25.95% 0.09 277.2)
XYZxyz(2.2420, 1.6134, 7.3995)
Luminance0.0161 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B1C4E #4E4D1B
analogous
#1B354E #1B1C4E #331B4E
triadic
#1B1C4E #4E1B1C #1C4E1B
tetradic
#1B1C4E #4E1B35 #4E4D1B #1B4E33
square
#1B1C4E #4E1B35 #4E4D1B #1B4E33
split-complementary
#1B1C4E #4E331B #354E1B
monochromatic
#080817 #0B0C21 #1B1C4E #2B2C7B #3A3DA9

Accessibility & contrast

On white

15.88
#1B1C4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#1B1C4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B1C4E
15.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B1C4E#FFFFFF#000000##FFFFFF
##1B1C4E1.0015.881.3215.88
#FFFFFF15.881.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002450
Deuteranopia (green-blind)
#00204D
Tritanopia (blue-blind)
#002831
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #1b1c4e;
/* rgb */ color: rgb(27, 28, 78);
/* oklch */ color: oklch(26.0% 0.090 277.2);
Tailwind
colors: {
  custom: {
    50: '#5e5880',
    500: '#1b1c4e',
    950: '#000000',
  },
}
SCSS
$custom: #1b1c4e;
$custom-light: #5e5880;
$custom-dark: #000000;
JSON
{
  "hex": "#1b1c4e",
  "rgb": {
    "r": 27,
    "g": 28,
    "b": 78
  },
  "hsl": {
    "h": 238.824,
    "s": 48.571,
    "l": 20.588
  },
  "oklch": {
    "l": 0.25954,
    "c": 0.08998,
    "h": 277.2
  },
  "luminance": 0.01614
}

Semantic roles & 50–950 ramp

primary
#1B1C4E
secondary
#848341
accent
#D550D8
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#05030A
muted
#79787C

Preview Lab

Preview with #1B1C4E

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

Preview Lab → · Contrast checker → · Palette generator →

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