#1B1065#1B1065

#1B1065 is a dark, vivid blue. Relative luminance 0.015; OKLCH L 26.4% C 0.138 H 277.1°. Best body text is #FFFFFF at 16.05:1 contrast (WCAG AA passes).

Color values

HEX#1B1065
RGBrgb(27, 16, 101)
HSLhsl(248, 73%, 23%)
HSVhsv(248, 84%, 40%)
CMYKcmyk(73.3%, 84.2%, 0%, 60.4%)
CIE-LABlab(12.88, 33.28, -47.28)
CIE-LCHlch(12.88, 57.82, 305.14°)
OKLaboklab(26.37% 0.017 -0.1366)
OKLCHoklch(26.37% 0.138 277.1)
XYZxyz(2.9855, 1.5429, 12.4499)
Luminance0.0154 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B1065 #5A6510
analogous
#102F65 #1B1065 #451065
triadic
#1B1065 #651B10 #10651B
tetradic
#1B1065 #65102F #5A6510 #106545
square
#1B1065 #65102F #5A6510 #106545
split-complementary
#1B1065 #654510 #2F6510
monochromatic
#07041A #0D0830 #1B1065 #29189A #3721CF

Accessibility & contrast

On white

16.05
#1B1065 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#1B1065 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B1065
16.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B1065#FFFFFF#000000##FFFFFF
##1B10651.0016.051.3116.05
#FFFFFF16.051.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002567
Deuteranopia (green-blind)
#001E64
Tritanopia (blue-blind)
#002A3B
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #1b1065;
/* rgb */ color: rgb(27, 16, 101);
/* oklch */ color: oklch(26.4% 0.138 277.1);
Tailwind
colors: {
  custom: {
    50: '#655192',
    500: '#1b1065',
    950: '#000000',
  },
}
SCSS
$custom: #1b1065;
$custom-light: #655192;
$custom-dark: #000000;
JSON
{
  "hex": "#1b1065",
  "rgb": {
    "r": 27,
    "g": 16,
    "b": 101
  },
  "hsl": {
    "h": 247.765,
    "s": 72.65,
    "l": 22.941
  },
  "oklch": {
    "l": 0.26372,
    "c": 0.13769,
    "h": 277.1
  },
  "luminance": 0.01543
}

Semantic roles & 50–950 ramp

primary
#1B1065
secondary
#909D33
accent
#EF38D8
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#06020D
muted
#7A787E

Preview Lab

Preview with #1B1065

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

Preview Lab → · Contrast checker → · Palette generator →

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