#1B165A#1B165A

#1B165A is a dark, moderate blue. Relative luminance 0.015; OKLCH L 26.0% C 0.116 H 277.8°. Best body text is #FFFFFF at 16.04:1 contrast (WCAG AA passes).

Color values

HEX#1B165A
RGBrgb(27, 22, 90)
HSLhsl(244, 61%, 22%)
HSVhsv(244, 76%, 35%)
CMYKcmyk(70%, 75.6%, 0%, 64.7%)
CIE-LABlab(12.89, 25.81, -39.92)
CIE-LCHlch(12.89, 47.54, 302.89°)
OKLaboklab(26.01% 0.0159 -0.1152)
OKLCHoklch(26.01% 0.116 277.8)
XYZxyz(2.5838, 1.5448, 9.8329)
Luminance0.0155 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B165A #555A16
analogous
#16335A #1B165A #3D165A
triadic
#1B165A #5A1B16 #165A1B
tetradic
#1B165A #5A1633 #555A16 #165A3D
square
#1B165A #5A1633 #555A16 #165A3D
split-complementary
#1B165A #5A3D16 #335A16
monochromatic
#070619 #0C0A29 #1B165A #2A228B #392EBC

Accessibility & contrast

On white

16.04
#1B165A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B165A
16.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B165A#FFFFFF#000000##FFFFFF
##1B165A1.0016.041.3116.04
#FFFFFF16.041.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00245C
Deuteranopia (green-blind)
#001E59
Tritanopia (blue-blind)
#002936
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #1b165a;
/* rgb */ color: rgb(27, 22, 90);
/* oklch */ color: oklch(26.0% 0.116 277.8);
Tailwind
colors: {
  custom: {
    50: '#615489',
    500: '#1b165a',
    950: '#000000',
  },
}
SCSS
$custom: #1b165a;
$custom-light: #615489;
$custom-dark: #000000;
JSON
{
  "hex": "#1b165a",
  "rgb": {
    "r": 27,
    "g": 22,
    "b": 90
  },
  "hsl": {
    "h": 244.412,
    "s": 60.714,
    "l": 21.961
  },
  "oklch": {
    "l": 0.26005,
    "c": 0.11631,
    "h": 277.8
  },
  "luminance": 0.01545
}

Semantic roles & 50–950 ramp

primary
#1B165A
secondary
#8B913B
accent
#E444D8
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#05020C
muted
#7A787D

Preview Lab

Preview with #1B165A

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

Preview Lab → · Contrast checker → · Palette generator →

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