#1B1060#1B1060

#1B1060 is a dark, vivid blue. Relative luminance 0.014; OKLCH L 25.8% C 0.131 H 278.1°. Best body text is #FFFFFF at 16.28:1 contrast (WCAG AA passes).

Color values

HEX#1B1060
RGBrgb(27, 16, 96)
HSLhsl(248, 71%, 22%)
HSVhsv(248, 83%, 38%)
CMYKcmyk(71.9%, 83.3%, 0%, 62.4%)
CIE-LABlab(12.27, 31.59, -44.96)
CIE-LCHlch(12.27, 54.95, 305.10°)
OKLaboklab(25.77% 0.0185 -0.1299)
OKLCHoklch(25.77% 0.131 278.1)
XYZxyz(2.7479, 1.4479, 11.1987)
Luminance0.0145 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B1060 #556010
analogous
#102D60 #1B1060 #431060
triadic
#1B1060 #601B10 #10601B
tetradic
#1B1060 #60102D #556010 #106043
square
#1B1060 #60102D #556010 #106043
split-complementary
#1B1060 #604310 #2D6010
monochromatic
#07041A #0C072C #1B1060 #2A1994 #3921C9

Accessibility & contrast

On white

16.28
#1B1060 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#1B1060 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B1060
16.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B1060#FFFFFF#000000##FFFFFF
##1B10601.0016.281.2916.28
#FFFFFF16.281.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.281.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1b1060;
/* rgb */ color: rgb(27, 16, 96);
/* oklch */ color: oklch(25.8% 0.131 278.1);
Tailwind
colors: {
  custom: {
    50: '#63508e',
    500: '#1b1060',
    950: '#000000',
  },
}
SCSS
$custom: #1b1060;
$custom-light: #63508e;
$custom-dark: #000000;
JSON
{
  "hex": "#1b1060",
  "rgb": {
    "r": 27,
    "g": 16,
    "b": 96
  },
  "hsl": {
    "h": 248.25,
    "s": 71.429,
    "l": 21.961
  },
  "oklch": {
    "l": 0.25772,
    "c": 0.13119,
    "h": 278.1
  },
  "luminance": 0.01448
}

Semantic roles & 50–950 ramp

primary
#1B1060
secondary
#8B9933
accent
#EE3AD5
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #1B1060

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

Preview Lab → · Contrast checker → · Palette generator →

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