#1B1064#1B1064

#1B1064 is a dark, vivid blue. Relative luminance 0.015; OKLCH L 26.3% C 0.136 H 277.3°. Best body text is #FFFFFF at 16.09:1 contrast (WCAG AA passes).

Color values

HEX#1B1064
RGBrgb(27, 16, 100)
HSLhsl(248, 72%, 23%)
HSVhsv(248, 84%, 39%)
CMYKcmyk(73%, 84%, 0%, 60.8%)
CIE-LABlab(12.76, 32.95, -46.82)
CIE-LCHlch(12.76, 57.25, 305.13°)
OKLaboklab(26.25% 0.0173 -0.1353)
OKLCHoklch(26.25% 0.136 277.3)
XYZxyz(2.9368, 1.5234, 12.1934)
Luminance0.0152 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B1064 #596410
analogous
#102F64 #1B1064 #451064
triadic
#1B1064 #641B10 #10641B
tetradic
#1B1064 #64102F #596410 #106445
square
#1B1064 #64102F #596410 #106445
split-complementary
#1B1064 #644510 #2F6410
monochromatic
#07041A #0D082F #1B1064 #291899 #3721CE

Accessibility & contrast

On white

16.09
#1B1064 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#1B1064 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B1064
16.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B1064#FFFFFF#000000##FFFFFF
##1B10641.0016.091.3016.09
#FFFFFF16.091.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002466
Deuteranopia (green-blind)
#001D63
Tritanopia (blue-blind)
#002A3A
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #1b1064;
/* rgb */ color: rgb(27, 16, 100);
/* oklch */ color: oklch(26.3% 0.136 277.3);
Tailwind
colors: {
  custom: {
    50: '#645191',
    500: '#1b1064',
    950: '#000000',
  },
}
SCSS
$custom: #1b1064;
$custom-light: #645191;
$custom-dark: #000000;
JSON
{
  "hex": "#1b1064",
  "rgb": {
    "r": 27,
    "g": 16,
    "b": 100
  },
  "hsl": {
    "h": 247.857,
    "s": 72.414,
    "l": 22.745
  },
  "oklch": {
    "l": 0.26251,
    "c": 0.1364,
    "h": 277.3
  },
  "luminance": 0.01524
}

Semantic roles & 50–950 ramp

primary
#1B1064
secondary
#8F9D33
accent
#EF39D7
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#06020D
muted
#7A787E

Preview Lab

Preview with #1B1064

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

Preview Lab → · Contrast checker → · Palette generator →

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