#1B1063#1B1063

#1B1063 is a dark, vivid blue. Relative luminance 0.015; OKLCH L 26.1% C 0.135 H 277.5°. Best body text is #FFFFFF at 16.14:1 contrast (WCAG AA passes).

Color values

HEX#1B1063
RGBrgb(27, 16, 99)
HSLhsl(248, 72%, 23%)
HSVhsv(248, 84%, 39%)
CMYKcmyk(72.7%, 83.8%, 0%, 61.2%)
CIE-LABlab(12.63, 32.61, -46.36)
CIE-LCHlch(12.63, 56.68, 305.12°)
OKLaboklab(26.13% 0.0176 -0.134)
OKLCHoklch(26.13% 0.135 277.5)
XYZxyz(2.8887, 1.5042, 11.9401)
Luminance0.0150 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B1063 #586310
analogous
#102E63 #1B1063 #451063
triadic
#1B1063 #631B10 #10631B
tetradic
#1B1063 #63102E #586310 #106345
square
#1B1063 #63102E #586310 #106345
split-complementary
#1B1063 #634510 #2E6310
monochromatic
#07041A #0D072E #1B1063 #291998 #3821CC

Accessibility & contrast

On white

16.14
#1B1063 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#1B1063 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B1063
16.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B1063#FFFFFF#000000##FFFFFF
##1B10631.0016.141.3016.14
#FFFFFF16.141.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002465
Deuteranopia (green-blind)
#001D62
Tritanopia (blue-blind)
#002939
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #1b1063;
/* rgb */ color: rgb(27, 16, 99);
/* oklch */ color: oklch(26.1% 0.135 277.5);
Tailwind
colors: {
  custom: {
    50: '#645190',
    500: '#1b1063',
    950: '#000000',
  },
}
SCSS
$custom: #1b1063;
$custom-light: #645190;
$custom-dark: #000000;
JSON
{
  "hex": "#1b1063",
  "rgb": {
    "r": 27,
    "g": 16,
    "b": 99
  },
  "hsl": {
    "h": 247.952,
    "s": 72.174,
    "l": 22.549
  },
  "oklch": {
    "l": 0.26131,
    "c": 0.1351,
    "h": 277.5
  },
  "luminance": 0.01504
}

Semantic roles & 50–950 ramp

primary
#1B1063
secondary
#8E9C33
accent
#EF39D7
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#06020D
muted
#7A787E

Preview Lab

Preview with #1B1063

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

Preview Lab → · Contrast checker → · Palette generator →

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