#1B1056#1B1056

#1B1056 is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 24.6% C 0.118 H 280.4°. Best body text is #FFFFFF at 16.73:1 contrast (WCAG AA passes).

Color values

HEX#1B1056
RGBrgb(27, 16, 86)
HSLhsl(249, 69%, 20%)
HSVhsv(249, 81%, 34%)
CMYKcmyk(68.6%, 81.4%, 0%, 66.3%)
CIE-LABlab(11.10, 28.15, -40.16)
CIE-LCHlch(11.10, 49.04, 305.03°)
OKLaboklab(24.6% 0.0214 -0.1159)
OKLCHoklch(24.6% 0.118 280.4)
XYZxyz(2.3165, 1.2753, 8.9264)
Luminance0.0127 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B1056 #4B5610
analogous
#102856 #1B1056 #3E1056
triadic
#1B1056 #561B10 #10561B
tetradic
#1B1056 #561028 #4B5610 #10563E
square
#1B1056 #561028 #4B5610 #10563E
split-complementary
#1B1056 #563E10 #285610
monochromatic
#08051A #0B0622 #1B1056 #2B1A8A #3B23BD

Accessibility & contrast

On white

16.73
#1B1056 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#1B1056 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B1056
16.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B1056#FFFFFF#000000##FFFFFF
##1B10561.0016.731.2516.73
#FFFFFF16.731.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002058
Deuteranopia (green-blind)
#001B55
Tritanopia (blue-blind)
#002432
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #1b1056;
/* rgb */ color: rgb(27, 16, 86);
/* oklch */ color: oklch(24.6% 0.118 280.4);
Tailwind
colors: {
  custom: {
    50: '#615086',
    500: '#1b1056',
    950: '#000000',
  },
}
SCSS
$custom: #1b1056;
$custom-light: #615086;
$custom-dark: #000000;
JSON
{
  "hex": "#1b1056",
  "rgb": {
    "r": 27,
    "g": 16,
    "b": 86
  },
  "hsl": {
    "h": 249.429,
    "s": 68.627,
    "l": 20
  },
  "oklch": {
    "l": 0.24602,
    "c": 0.11783,
    "h": 280.4
  },
  "luminance": 0.01275
}

Semantic roles & 50–950 ramp

primary
#1B1056
secondary
#818F32
accent
#EB3CD0
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#05020B
muted
#7A787C

Preview Lab

Preview with #1B1056

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

Preview Lab → · Contrast checker → · Palette generator →

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