#1B1380#1B1380

#1B1380 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.1% C 0.169 H 272.7°. Best body text is #FFFFFF at 14.47:1 contrast (WCAG AA passes).

Color values

HEX#1B1380
RGBrgb(27, 19, 128)
HSLhsl(244, 74%, 29%)
HSVhsv(244, 85%, 50%)
CMYKcmyk(78.9%, 85.2%, 0%, 49.8%)
CIE-LABlab(16.78, 40.65, -58.32)
CIE-LCHlch(16.78, 71.09, 304.88°)
OKLaboklab(30.06% 0.0081 -0.1687)
OKLCHoklch(30.06% 0.169 272.7)
XYZxyz(4.5798, 2.2568, 20.6121)
Luminance0.0226 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B1380 #788013
analogous
#134280 #1B1380 #521380
triadic
#1B1380 #801B13 #13801B
tetradic
#1B1380 #801342 #788013 #138052
square
#1B1380 #801342 #788013 #138052
split-complementary
#1B1380 #805213 #428013
monochromatic
#06041B #100B4B #1B1380 #261BB5 #3B2DE0

Accessibility & contrast

On white

14.47
#1B1380 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#1B1380 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B1380
14.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B1380#FFFFFF#000000##FFFFFF
##1B13801.0014.471.4514.47
#FFFFFF14.471.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E83
Deuteranopia (green-blind)
#00247E
Tritanopia (blue-blind)
#00364B
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #1b1380;
/* rgb */ color: rgb(27, 19, 128);
/* oklch */ color: oklch(30.1% 0.169 272.7);
Tailwind
colors: {
  custom: {
    50: '#6b55a6',
    500: '#1b1380',
    950: '#000000',
  },
}
SCSS
$custom: #1b1380;
$custom-light: #6b55a6;
$custom-dark: #000000;
JSON
{
  "hex": "#1b1380",
  "rgb": {
    "r": 27,
    "g": 19,
    "b": 128
  },
  "hsl": {
    "h": 244.404,
    "s": 74.15,
    "l": 28.824
  },
  "oklch": {
    "l": 0.30059,
    "c": 0.1689,
    "h": 272.7
  },
  "luminance": 0.02257
}

Semantic roles & 50–950 ramp

primary
#1B1380
secondary
#ACB539
accent
#F137E3
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F

Preview Lab

Preview with #1B1380

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

Preview Lab → · Contrast checker → · Palette generator →

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