#1B1070#1B1070

#1B1070 is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.7% C 0.152 H 275.2°. Best body text is #FFFFFF at 15.50:1 contrast (WCAG AA passes).

Color values

HEX#1B1070
RGBrgb(27, 16, 112)
HSLhsl(247, 75%, 25%)
HSVhsv(247, 86%, 44%)
CMYKcmyk(75.9%, 85.7%, 0%, 56.1%)
CIE-LABlab(14.25, 36.93, -52.23)
CIE-LCHlch(14.25, 63.97, 305.26°)
OKLaboklab(27.72% 0.0137 -0.151)
OKLCHoklch(27.72% 0.152 275.2)
XYZxyz(3.5610, 1.7731, 15.4807)
Luminance0.0177 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B1070 #657010
analogous
#103570 #1B1070 #4B1070
triadic
#1B1070 #701B10 #10701B
tetradic
#1B1070 #701035 #657010 #10704B
square
#1B1070 #701035 #657010 #10704B
split-complementary
#1B1070 #704B10 #357010
monochromatic
#06041B #0E083A #1B1070 #2818A6 #351FDB

Accessibility & contrast

On white

15.50
#1B1070 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#1B1070 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B1070
15.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B1070#FFFFFF#000000##FFFFFF
##1B10701.0015.501.3515.50
#FFFFFF15.501.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002873
Deuteranopia (green-blind)
#00206E
Tritanopia (blue-blind)
#002F41
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #1b1070;
/* rgb */ color: rgb(27, 16, 112);
/* oklch */ color: oklch(27.7% 0.152 275.2);
Tailwind
colors: {
  custom: {
    50: '#67529a',
    500: '#1b1070',
    950: '#000000',
  },
}
SCSS
$custom: #1b1070;
$custom-light: #67529a;
$custom-dark: #000000;
JSON
{
  "hex": "#1b1070",
  "rgb": {
    "r": 27,
    "g": 16,
    "b": 112
  },
  "hsl": {
    "h": 246.875,
    "s": 75,
    "l": 25.098
  },
  "oklch": {
    "l": 0.27722,
    "c": 0.15163,
    "h": 275.2
  },
  "luminance": 0.01773
}

Semantic roles & 50–950 ramp

primary
#1B1070
secondary
#9AA834
accent
#F236DC
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#07020E
muted
#7A787E

Preview Lab

Preview with #1B1070

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

Preview Lab → · Contrast checker → · Palette generator →

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