#1B116F#1B116F

#1B116F is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.7% C 0.150 H 275.2°. Best body text is #FFFFFF at 15.48:1 contrast (WCAG AA passes).

Color values

HEX#1B116F
RGBrgb(27, 17, 111)
HSLhsl(246, 73%, 25%)
HSVhsv(246, 85%, 44%)
CMYKcmyk(75.7%, 84.7%, 0%, 56.5%)
CIE-LABlab(14.29, 36.09, -51.50)
CIE-LCHlch(14.29, 62.89, 305.02°)
OKLaboklab(27.72% 0.0136 -0.1489)
OKLCHoklch(27.72% 0.15 275.2)
XYZxyz(3.5207, 1.7813, 15.1941)
Luminance0.0178 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B116F #656F11
analogous
#11366F #1B116F #4A116F
triadic
#1B116F #6F1B11 #116F1B
tetradic
#1B116F #6F1136 #656F11 #116F4A
square
#1B116F #6F1136 #656F11 #116F4A
split-complementary
#1B116F #6F4A11 #366F11
monochromatic
#06041B #0E093A #1B116F #2819A4 #3521D9

Accessibility & contrast

On white

15.48
#1B116F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#1B116F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B116F
15.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B116F#FFFFFF#000000##FFFFFF
##1B116F1.0015.481.3615.48
#FFFFFF15.481.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002872
Deuteranopia (green-blind)
#00206D
Tritanopia (blue-blind)
#002E41
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #1b116f;
/* rgb */ color: rgb(27, 17, 111);
/* oklch */ color: oklch(27.7% 0.150 275.2);
Tailwind
colors: {
  custom: {
    50: '#675299',
    500: '#1b116f',
    950: '#000000',
  },
}
SCSS
$custom: #1b116f;
$custom-light: #675299;
$custom-dark: #000000;
JSON
{
  "hex": "#1b116f",
  "rgb": {
    "r": 27,
    "g": 17,
    "b": 111
  },
  "hsl": {
    "h": 246.383,
    "s": 73.438,
    "l": 25.098
  },
  "oklch": {
    "l": 0.27717,
    "c": 0.14954,
    "h": 275.2
  },
  "luminance": 0.01782
}

Semantic roles & 50–950 ramp

primary
#1B116F
secondary
#9AA635
accent
#F038DC
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07020E
muted
#7A787E

Preview Lab

Preview with #1B116F

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

Preview Lab → · Contrast checker → · Palette generator →

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