#1B1068#1B1068

#1B1068 is a dark, vivid blue. Relative luminance 0.016; OKLCH L 26.7% C 0.142 H 276.5°. Best body text is #FFFFFF at 15.90:1 contrast (WCAG AA passes).

Color values

HEX#1B1068
RGBrgb(27, 16, 104)
HSLhsl(248, 73%, 24%)
HSVhsv(248, 85%, 41%)
CMYKcmyk(74%, 84.6%, 0%, 59.2%)
CIE-LABlab(13.25, 34.29, -48.65)
CIE-LCHlch(13.25, 59.52, 305.17°)
OKLaboklab(26.74% 0.0161 -0.1406)
OKLCHoklch(26.74% 0.142 276.5)
XYZxyz(3.1352, 1.6028, 13.2382)
Luminance0.0160 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B1068 #5D6810
analogous
#103168 #1B1068 #471068
triadic
#1B1068 #681B10 #10681B
tetradic
#1B1068 #681031 #5D6810 #106847
square
#1B1068 #681031 #5D6810 #106847
split-complementary
#1B1068 #684710 #316810
monochromatic
#07041B #0D0833 #1B1068 #29189D #3720D2

Accessibility & contrast

On white

15.90
#1B1068 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#1B1068 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B1068
15.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B1068#FFFFFF#000000##FFFFFF
##1B10681.0015.901.3215.90
#FFFFFF15.901.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00266A
Deuteranopia (green-blind)
#001E66
Tritanopia (blue-blind)
#002B3C
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #1b1068;
/* rgb */ color: rgb(27, 16, 104);
/* oklch */ color: oklch(26.7% 0.142 276.5);
Tailwind
colors: {
  custom: {
    50: '#655194',
    500: '#1b1068',
    950: '#000000',
  },
}
SCSS
$custom: #1b1068;
$custom-light: #655194;
$custom-dark: #000000;
JSON
{
  "hex": "#1b1068",
  "rgb": {
    "r": 27,
    "g": 16,
    "b": 104
  },
  "hsl": {
    "h": 247.5,
    "s": 73.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.26736,
    "c": 0.14154,
    "h": 276.5
  },
  "luminance": 0.01603
}

Semantic roles & 50–950 ramp

primary
#1B1068
secondary
#93A034
accent
#F038D9
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07020D
muted
#7A787E

Preview Lab

Preview with #1B1068

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

Preview Lab → · Contrast checker → · Palette generator →

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