#1B116A#1B116A

#1B116A is a dark, vivid blue. Relative luminance 0.017; OKLCH L 27.1% C 0.143 H 276.0°. Best body text is #FFFFFF at 15.73:1 contrast (WCAG AA passes).

Color values

HEX#1B116A
RGBrgb(27, 17, 106)
HSLhsl(247, 72%, 24%)
HSVhsv(247, 84%, 42%)
CMYKcmyk(74.5%, 84%, 0%, 58.4%)
CIE-LABlab(13.68, 34.43, -49.26)
CIE-LCHlch(13.68, 60.10, 304.95°)
OKLaboklab(27.11% 0.015 -0.1424)
OKLCHoklch(27.11% 0.143 276)
XYZxyz(3.2531, 1.6742, 13.7846)
Luminance0.0168 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B116A #606A11
analogous
#11346A #1B116A #48116A
triadic
#1B116A #6A1B11 #116A1B
tetradic
#1B116A #6A1134 #606A11 #116A48
square
#1B116A #6A1134 #606A11 #116A48
split-complementary
#1B116A #6A4811 #346A11
monochromatic
#07041A #0E0935 #1B116A #28199F #3622D3

Accessibility & contrast

On white

15.73
#1B116A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#1B116A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B116A
15.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B116A#FFFFFF#000000##FFFFFF
##1B116A1.0015.731.3415.73
#FFFFFF15.731.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00276C
Deuteranopia (green-blind)
#001F68
Tritanopia (blue-blind)
#002C3E
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #1b116a;
/* rgb */ color: rgb(27, 17, 106);
/* oklch */ color: oklch(27.1% 0.143 276.0);
Tailwind
colors: {
  custom: {
    50: '#665296',
    500: '#1b116a',
    950: '#000000',
  },
}
SCSS
$custom: #1b116a;
$custom-light: #665296;
$custom-dark: #000000;
JSON
{
  "hex": "#1b116a",
  "rgb": {
    "r": 27,
    "g": 17,
    "b": 106
  },
  "hsl": {
    "h": 246.742,
    "s": 72.358,
    "l": 24.118
  },
  "oklch": {
    "l": 0.27106,
    "c": 0.14319,
    "h": 276
  },
  "luminance": 0.01675
}

Semantic roles & 50–950 ramp

primary
#1B116A
secondary
#96A235
accent
#EF39DB
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07020D
muted
#7A787E

Preview Lab

Preview with #1B116A

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

Preview Lab → · Contrast checker → · Palette generator →

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