#1B1678#1B1678

#1B1678 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.4% C 0.156 H 273.3°. Best body text is #FFFFFF at 14.66:1 contrast (WCAG AA passes).

Color values

HEX#1B1678
RGBrgb(27, 22, 120)
HSLhsl(243, 69%, 28%)
HSVhsv(243, 82%, 47%)
CMYKcmyk(77.5%, 81.7%, 0%, 52.9%)
CIE-LABlab(16.32, 36.45, -53.98)
CIE-LCHlch(16.32, 65.13, 304.03°)
OKLaboklab(29.45% 0.0091 -0.1562)
OKLCHoklch(29.45% 0.156 273.3)
XYZxyz(4.1279, 2.1625, 17.9655)
Luminance0.0216 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B1678 #737816
analogous
#164278 #1B1678 #4C1678
triadic
#1B1678 #781B16 #16781B
tetradic
#1B1678 #781642 #737816 #16784C
square
#1B1678 #781642 #737816 #16784C
split-complementary
#1B1678 #784C16 #427816
monochromatic
#06051A #0F0D44 #1B1678 #271FAC #382FD9

Accessibility & contrast

On white

14.66
#1B1678 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#1B1678 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B1678
14.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B1678#FFFFFF#000000##FFFFFF
##1B16781.0014.661.4314.66
#FFFFFF14.661.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D7B
Deuteranopia (green-blind)
#002476
Tritanopia (blue-blind)
#003447
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #1b1678;
/* rgb */ color: rgb(27, 22, 120);
/* oklch */ color: oklch(29.4% 0.156 273.3);
Tailwind
colors: {
  custom: {
    50: '#6956a0',
    500: '#1b1678',
    950: '#000000',
  },
}
SCSS
$custom: #1b1678;
$custom-light: #6956a0;
$custom-dark: #000000;
JSON
{
  "hex": "#1b1678",
  "rgb": {
    "r": 27,
    "g": 22,
    "b": 120
  },
  "hsl": {
    "h": 243.061,
    "s": 69.014,
    "l": 27.843
  },
  "oklch": {
    "l": 0.29449,
    "c": 0.15644,
    "h": 273.3
  },
  "luminance": 0.02163
}

Semantic roles & 50–950 ramp

primary
#1B1678
secondary
#A8AD3C
accent
#EC3CE3
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#07030F
muted
#7A787F

Preview Lab

Preview with #1B1678

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

Preview Lab → · Contrast checker → · Palette generator →

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