#1B1061#1B1061

#1B1061 is a dark, vivid blue. Relative luminance 0.015; OKLCH L 25.9% C 0.132 H 277.9°. Best body text is #FFFFFF at 16.24:1 contrast (WCAG AA passes).

Color values

HEX#1B1061
RGBrgb(27, 16, 97)
HSLhsl(248, 72%, 22%)
HSVhsv(248, 84%, 38%)
CMYKcmyk(72.2%, 83.5%, 0%, 62%)
CIE-LABlab(12.39, 31.93, -45.43)
CIE-LCHlch(12.39, 55.53, 305.11°)
OKLaboklab(25.89% 0.0182 -0.1312)
OKLCHoklch(25.89% 0.132 277.9)
XYZxyz(2.7943, 1.4664, 11.4427)
Luminance0.0147 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B1061 #566110
analogous
#102E61 #1B1061 #441061
triadic
#1B1061 #611B10 #10611B
tetradic
#1B1061 #61102E #566110 #106144
square
#1B1061 #61102E #566110 #106144
split-complementary
#1B1061 #614410 #2E6110
monochromatic
#07041A #0C072C #1B1061 #2A1996 #3821CA

Accessibility & contrast

On white

16.24
#1B1061 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#1B1061 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B1061
16.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B1061#FFFFFF#000000##FFFFFF
##1B10611.0016.241.2916.24
#FFFFFF16.241.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002363
Deuteranopia (green-blind)
#001D60
Tritanopia (blue-blind)
#002838
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #1b1061;
/* rgb */ color: rgb(27, 16, 97);
/* oklch */ color: oklch(25.9% 0.132 277.9);
Tailwind
colors: {
  custom: {
    50: '#64508f',
    500: '#1b1061',
    950: '#000000',
  },
}
SCSS
$custom: #1b1061;
$custom-light: #64508f;
$custom-dark: #000000;
JSON
{
  "hex": "#1b1061",
  "rgb": {
    "r": 27,
    "g": 16,
    "b": 97
  },
  "hsl": {
    "h": 248.148,
    "s": 71.681,
    "l": 22.157
  },
  "oklch": {
    "l": 0.25891,
    "c": 0.13249,
    "h": 277.9
  },
  "luminance": 0.01467
}

Semantic roles & 50–950 ramp

primary
#1B1061
secondary
#8C9A33
accent
#EE39D6
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #1B1061

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

Preview Lab → · Contrast checker → · Palette generator →

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