#1B1072#1B1072

#1B1072 is a dark, vivid blue. Relative luminance 0.018; OKLCH L 28.0% C 0.154 H 274.9°. Best body text is #FFFFFF at 15.40:1 contrast (WCAG AA passes).

Color values

HEX#1B1072
RGBrgb(27, 16, 114)
HSLhsl(247, 75%, 25%)
HSVhsv(247, 86%, 45%)
CMYKcmyk(76.3%, 86%, 0%, 55.3%)
CIE-LABlab(14.50, 37.58, -53.11)
CIE-LCHlch(14.50, 65.06, 305.28°)
OKLaboklab(27.97% 0.0131 -0.1536)
OKLCHoklch(27.97% 0.154 274.9)
XYZxyz(3.6735, 1.8181, 16.0737)
Luminance0.0182 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B1072 #677210
analogous
#103672 #1B1072 #4C1072
triadic
#1B1072 #721B10 #10721B
tetradic
#1B1072 #721036 #677210 #10724C
square
#1B1072 #721036 #677210 #10724C
split-complementary
#1B1072 #724C10 #367210
monochromatic
#06041B #0E083C #1B1072 #2818A8 #341FDD

Accessibility & contrast

On white

15.40
#1B1072 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B1072
15.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B1072#FFFFFF#000000##FFFFFF
##1B10721.0015.401.3615.40
#FFFFFF15.401.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002975
Deuteranopia (green-blind)
#002070
Tritanopia (blue-blind)
#002F42
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #1b1072;
/* rgb */ color: rgb(27, 16, 114);
/* oklch */ color: oklch(28.0% 0.154 274.9);
Tailwind
colors: {
  custom: {
    50: '#68529c',
    500: '#1b1072',
    950: '#000000',
  },
}
SCSS
$custom: #1b1072;
$custom-light: #68529c;
$custom-dark: #000000;
JSON
{
  "hex": "#1b1072",
  "rgb": {
    "r": 27,
    "g": 16,
    "b": 114
  },
  "hsl": {
    "h": 246.735,
    "s": 75.385,
    "l": 25.49
  },
  "oklch": {
    "l": 0.27971,
    "c": 0.15411,
    "h": 274.9
  },
  "luminance": 0.01818
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1B1072

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

Preview Lab → · Contrast checker → · Palette generator →

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