#1B1058#1B1058

#1B1058 is a very dark, vivid blue. Relative luminance 0.013; OKLCH L 24.8% C 0.121 H 279.9°. Best body text is #FFFFFF at 16.65:1 contrast (WCAG AA passes).

Color values

HEX#1B1058
RGBrgb(27, 16, 88)
HSLhsl(249, 69%, 20%)
HSVhsv(249, 82%, 35%)
CMYKcmyk(69.3%, 81.8%, 0%, 65.5%)
CIE-LABlab(11.33, 28.84, -41.13)
CIE-LCHlch(11.33, 50.24, 305.04°)
OKLaboklab(24.83% 0.0208 -0.1187)
OKLCHoklch(24.83% 0.121 279.9)
XYZxyz(2.3982, 1.3080, 9.3567)
Luminance0.0131 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B1058 #4D5810
analogous
#102958 #1B1058 #3F1058
triadic
#1B1058 #581B10 #10581B
tetradic
#1B1058 #581029 #4D5810 #10583F
square
#1B1058 #581029 #4D5810 #10583F
split-complementary
#1B1058 #583F10 #295810
monochromatic
#08051A #0B0724 #1B1058 #2B198C #3B23C0

Accessibility & contrast

On white

16.65
#1B1058 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#1B1058 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B1058
16.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B1058#FFFFFF#000000##FFFFFF
##1B10581.0016.651.2616.65
#FFFFFF16.651.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00215A
Deuteranopia (green-blind)
#001B57
Tritanopia (blue-blind)
#002533
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #1b1058;
/* rgb */ color: rgb(27, 16, 88);
/* oklch */ color: oklch(24.8% 0.121 279.9);
Tailwind
colors: {
  custom: {
    50: '#615088',
    500: '#1b1058',
    950: '#000000',
  },
}
SCSS
$custom: #1b1058;
$custom-light: #615088;
$custom-dark: #000000;
JSON
{
  "hex": "#1b1058",
  "rgb": {
    "r": 27,
    "g": 16,
    "b": 88
  },
  "hsl": {
    "h": 249.167,
    "s": 69.231,
    "l": 20.392
  },
  "oklch": {
    "l": 0.24832,
    "c": 0.12055,
    "h": 279.9
  },
  "luminance": 0.01308
}

Semantic roles & 50–950 ramp

primary
#1B1058
secondary
#839132
accent
#EC3CD1
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020B
muted
#7A787C

Preview Lab

Preview with #1B1058

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

Preview Lab → · Contrast checker → · Palette generator →

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