#1B1165#1B1165

#1B1165 is a dark, vivid blue. Relative luminance 0.016; OKLCH L 26.5% C 0.137 H 276.9°. Best body text is #FFFFFF at 15.97:1 contrast (WCAG AA passes).

Color values

HEX#1B1165
RGBrgb(27, 17, 101)
HSLhsl(247, 71%, 23%)
HSVhsv(247, 83%, 40%)
CMYKcmyk(73.3%, 83.2%, 0%, 60.4%)
CIE-LABlab(13.07, 32.74, -46.97)
CIE-LCHlch(13.07, 57.26, 304.88°)
OKLaboklab(26.5% 0.0165 -0.1357)
OKLCHoklch(26.5% 0.137 276.9)
XYZxyz(3.0006, 1.5732, 12.4549)
Luminance0.0157 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B1165 #5B6511
analogous
#113165 #1B1165 #451165
triadic
#1B1165 #651B11 #11651B
tetradic
#1B1165 #651131 #5B6511 #116545
square
#1B1165 #651131 #5B6511 #116545
split-complementary
#1B1165 #654511 #316511
monochromatic
#07041A #0D0831 #1B1165 #291A99 #3723CE

Accessibility & contrast

On white

15.97
#1B1165 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#1B1165 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B1165
15.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B1165#FFFFFF#000000##FFFFFF
##1B11651.0015.971.3115.97
#FFFFFF15.971.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF15.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002567
Deuteranopia (green-blind)
#001E64
Tritanopia (blue-blind)
#002A3B
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #1b1165;
/* rgb */ color: rgb(27, 17, 101);
/* oklch */ color: oklch(26.5% 0.137 276.9);
Tailwind
colors: {
  custom: {
    50: '#655192',
    500: '#1b1165',
    950: '#000000',
  },
}
SCSS
$custom: #1b1165;
$custom-light: #655192;
$custom-dark: #000000;
JSON
{
  "hex": "#1b1165",
  "rgb": {
    "r": 27,
    "g": 17,
    "b": 101
  },
  "hsl": {
    "h": 247.143,
    "s": 71.186,
    "l": 23.137
  },
  "oklch": {
    "l": 0.26503,
    "c": 0.13675,
    "h": 276.9
  },
  "luminance": 0.01573
}

Semantic roles & 50–950 ramp

primary
#1B1165
secondary
#919D35
accent
#EE3AD8
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#06020D
muted
#7A787E

Preview Lab

Preview with #1B1165

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

Preview Lab → · Contrast checker → · Palette generator →

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