#1B1071#1B1071

#1B1071 is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.8% C 0.153 H 275.0°. Best body text is #FFFFFF at 15.45:1 contrast (WCAG AA passes).

Color values

HEX#1B1071
RGBrgb(27, 16, 113)
HSLhsl(247, 75%, 25%)
HSVhsv(247, 86%, 44%)
CMYKcmyk(76.1%, 85.8%, 0%, 55.7%)
CIE-LABlab(14.38, 37.25, -52.67)
CIE-LCHlch(14.38, 64.51, 305.27°)
OKLaboklab(27.85% 0.0134 -0.1523)
OKLCHoklch(27.85% 0.153 275)
XYZxyz(3.6169, 1.7955, 15.7755)
Luminance0.0180 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B1071 #667110
analogous
#103571 #1B1071 #4B1071
triadic
#1B1071 #711B10 #10711B
tetradic
#1B1071 #711035 #667110 #10714B
square
#1B1071 #711035 #667110 #10714B
split-complementary
#1B1071 #714B10 #357110
monochromatic
#06041B #0E083B #1B1071 #2818A7 #351FDC

Accessibility & contrast

On white

15.45
#1B1071 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#1B1071 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B1071
15.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B1071#FFFFFF#000000##FFFFFF
##1B10711.0015.451.3615.45
#FFFFFF15.451.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002974
Deuteranopia (green-blind)
#00206F
Tritanopia (blue-blind)
#002F42
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #1b1071;
/* rgb */ color: rgb(27, 16, 113);
/* oklch */ color: oklch(27.8% 0.153 275.0);
Tailwind
colors: {
  custom: {
    50: '#68529b',
    500: '#1b1071',
    950: '#000000',
  },
}
SCSS
$custom: #1b1071;
$custom-light: #68529b;
$custom-dark: #000000;
JSON
{
  "hex": "#1b1071",
  "rgb": {
    "r": 27,
    "g": 16,
    "b": 113
  },
  "hsl": {
    "h": 246.804,
    "s": 75.194,
    "l": 25.294
  },
  "oklch": {
    "l": 0.27846,
    "c": 0.15287,
    "h": 275
  },
  "luminance": 0.01796
}

Semantic roles & 50–950 ramp

primary
#1B1071
secondary
#9BA934
accent
#F236DD
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#07020E
muted
#7A787E

Preview Lab

Preview with #1B1071

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

Preview Lab → · Contrast checker → · Palette generator →

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