#1B116C#1B116C

#1B116C is a dark, vivid blue. Relative luminance 0.017; OKLCH L 27.4% C 0.146 H 275.7°. Best body text is #FFFFFF at 15.63:1 contrast (WCAG AA passes).

Color values

HEX#1B116C
RGBrgb(27, 17, 108)
HSLhsl(247, 73%, 25%)
HSVhsv(247, 84%, 42%)
CMYKcmyk(75%, 84.3%, 0%, 57.6%)
CIE-LABlab(13.92, 35.10, -50.16)
CIE-LCHlch(13.92, 61.22, 304.98°)
OKLaboklab(27.35% 0.0144 -0.145)
OKLCHoklch(27.35% 0.146 275.7)
XYZxyz(3.3583, 1.7163, 14.3387)
Luminance0.0172 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B116C #626C11
analogous
#11356C #1B116C #48116C
triadic
#1B116C #6C1B11 #116C1B
tetradic
#1B116C #6C1135 #626C11 #116C48
square
#1B116C #6C1135 #626C11 #116C48
split-complementary
#1B116C #6C4811 #356C11
monochromatic
#07041A #0E0937 #1B116C #2819A1 #3522D6

Accessibility & contrast

On white

15.63
#1B116C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B116C
15.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B116C#FFFFFF#000000##FFFFFF
##1B116C1.0015.631.3415.63
#FFFFFF15.631.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00276F
Deuteranopia (green-blind)
#001F6A
Tritanopia (blue-blind)
#002D3F
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #1b116c;
/* rgb */ color: rgb(27, 17, 108);
/* oklch */ color: oklch(27.4% 0.146 275.7);
Tailwind
colors: {
  custom: {
    50: '#665297',
    500: '#1b116c',
    950: '#000000',
  },
}
SCSS
$custom: #1b116c;
$custom-light: #665297;
$custom-dark: #000000;
JSON
{
  "hex": "#1b116c",
  "rgb": {
    "r": 27,
    "g": 17,
    "b": 108
  },
  "hsl": {
    "h": 246.593,
    "s": 72.8,
    "l": 24.51
  },
  "oklch": {
    "l": 0.2735,
    "c": 0.14574,
    "h": 275.7
  },
  "luminance": 0.01717
}

Semantic roles & 50–950 ramp

primary
#1B116C
secondary
#98A435
accent
#EF38DB
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07020E
muted
#7A787E

Preview Lab

Preview with #1B116C

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

Preview Lab → · Contrast checker → · Palette generator →

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