#1B116E#1B116E

#1B116E is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.6% C 0.148 H 275.4°. Best body text is #FFFFFF at 15.53:1 contrast (WCAG AA passes).

Color values

HEX#1B116E
RGBrgb(27, 17, 110)
HSLhsl(246, 73%, 25%)
HSVhsv(246, 85%, 43%)
CMYKcmyk(75.5%, 84.5%, 0%, 56.9%)
CIE-LABlab(14.17, 35.76, -51.06)
CIE-LCHlch(14.17, 62.34, 305.01°)
OKLaboklab(27.59% 0.0139 -0.1476)
OKLCHoklch(27.59% 0.148 275.4)
XYZxyz(3.4660, 1.7594, 14.9058)
Luminance0.0176 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B116E #646E11
analogous
#11356E #1B116E #4A116E
triadic
#1B116E #6E1B11 #116E1B
tetradic
#1B116E #6E1135 #646E11 #116E4A
square
#1B116E #6E1135 #646E11 #116E4A
split-complementary
#1B116E #6E4A11 #356E11
monochromatic
#07041B #0E0939 #1B116E #2819A3 #3521D8

Accessibility & contrast

On white

15.53
#1B116E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#1B116E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B116E
15.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B116E#FFFFFF#000000##FFFFFF
##1B116E1.0015.531.3515.53
#FFFFFF15.531.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002871
Deuteranopia (green-blind)
#00206C
Tritanopia (blue-blind)
#002E40
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #1b116e;
/* rgb */ color: rgb(27, 17, 110);
/* oklch */ color: oklch(27.6% 0.148 275.4);
Tailwind
colors: {
  custom: {
    50: '#675299',
    500: '#1b116e',
    950: '#000000',
  },
}
SCSS
$custom: #1b116e;
$custom-light: #675299;
$custom-dark: #000000;
JSON
{
  "hex": "#1b116e",
  "rgb": {
    "r": 27,
    "g": 17,
    "b": 110
  },
  "hsl": {
    "h": 246.452,
    "s": 73.228,
    "l": 24.902
  },
  "oklch": {
    "l": 0.27594,
    "c": 0.14827,
    "h": 275.4
  },
  "luminance": 0.0176
}

Semantic roles & 50–950 ramp

primary
#1B116E
secondary
#99A535
accent
#F038DC
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07020E
muted
#7A787E

Preview Lab

Preview with #1B116E

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

Preview Lab → · Contrast checker → · Palette generator →

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