#1B1160#1B1160

#1B1160 is a dark, vivid blue. Relative luminance 0.015; OKLCH L 25.9% C 0.130 H 277.9°. Best body text is #FFFFFF at 16.21:1 contrast (WCAG AA passes).

Color values

HEX#1B1160
RGBrgb(27, 17, 96)
HSLhsl(248, 70%, 22%)
HSVhsv(248, 82%, 38%)
CMYKcmyk(71.9%, 82.3%, 0%, 62.4%)
CIE-LABlab(12.47, 31.03, -44.64)
CIE-LCHlch(12.47, 54.36, 304.81°)
OKLaboklab(25.91% 0.0179 -0.1289)
OKLCHoklch(25.91% 0.13 277.9)
XYZxyz(2.7631, 1.4782, 11.2038)
Luminance0.0148 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B1160 #566011
analogous
#112F60 #1B1160 #431160
triadic
#1B1160 #601B11 #11601B
tetradic
#1B1160 #60112F #566011 #116043
square
#1B1160 #60112F #566011 #116043
split-complementary
#1B1160 #604311 #2F6011
monochromatic
#07051A #0C082C #1B1160 #2A1A94 #3823C8

Accessibility & contrast

On white

16.21
#1B1160 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#1B1160 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B1160
16.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B1160#FFFFFF#000000##FFFFFF
##1B11601.0016.211.3016.21
#FFFFFF16.211.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002462
Deuteranopia (green-blind)
#001D5F
Tritanopia (blue-blind)
#002838
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #1b1160;
/* rgb */ color: rgb(27, 17, 96);
/* oklch */ color: oklch(25.9% 0.130 277.9);
Tailwind
colors: {
  custom: {
    50: '#63518e',
    500: '#1b1160',
    950: '#000000',
  },
}
SCSS
$custom: #1b1160;
$custom-light: #63518e;
$custom-dark: #000000;
JSON
{
  "hex": "#1b1160",
  "rgb": {
    "r": 27,
    "g": 17,
    "b": 96
  },
  "hsl": {
    "h": 247.595,
    "s": 69.912,
    "l": 22.157
  },
  "oklch": {
    "l": 0.25909,
    "c": 0.13019,
    "h": 277.9
  },
  "luminance": 0.01478
}

Semantic roles & 50–950 ramp

primary
#1B1160
secondary
#8C9934
accent
#ED3BD6
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #1B1160

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

Preview Lab → · Contrast checker → · Palette generator →

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