#1B1066#1B1066

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

Color values

HEX#1B1066
RGBrgb(27, 16, 102)
HSLhsl(248, 73%, 23%)
HSVhsv(248, 84%, 40%)
CMYKcmyk(73.5%, 84.3%, 0%, 60%)
CIE-LABlab(13.00, 33.62, -47.74)
CIE-LCHlch(13.00, 58.39, 305.15°)
OKLaboklab(26.49% 0.0167 -0.138)
OKLCHoklch(26.49% 0.139 276.9)
XYZxyz(3.0348, 1.5626, 12.7095)
Luminance0.0156 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B1066 #5B6610
analogous
#103066 #1B1066 #461066
triadic
#1B1066 #661B10 #10661B
tetradic
#1B1066 #661030 #5B6610 #106646
square
#1B1066 #661030 #5B6610 #106646
split-complementary
#1B1066 #664610 #306610
monochromatic
#07041A #0D0831 #1B1066 #29189B #3721D0

Accessibility & contrast

On white

16.00
#1B1066 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B1066
16.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B1066#FFFFFF#000000##FFFFFF
##1B10661.0016.001.3116.00
#FFFFFF16.001.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.001.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1b1066;
/* rgb */ color: rgb(27, 16, 102);
/* oklch */ color: oklch(26.5% 0.139 276.9);
Tailwind
colors: {
  custom: {
    50: '#655193',
    500: '#1b1066',
    950: '#000000',
  },
}
SCSS
$custom: #1b1066;
$custom-light: #655193;
$custom-dark: #000000;
JSON
{
  "hex": "#1b1066",
  "rgb": {
    "r": 27,
    "g": 16,
    "b": 102
  },
  "hsl": {
    "h": 247.674,
    "s": 72.881,
    "l": 23.137
  },
  "oklch": {
    "l": 0.26493,
    "c": 0.13898,
    "h": 276.9
  },
  "luminance": 0.01563
}

Semantic roles & 50–950 ramp

primary
#1B1066
secondary
#919E33
accent
#F038D8
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#06020D
muted
#7A787E

Preview Lab

Preview with #1B1066

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

Preview Lab → · Contrast checker → · Palette generator →

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