#1B0F58#1B0F58

#1B0F58 is a very dark, vivid blue. Relative luminance 0.013; OKLCH L 24.7% C 0.122 H 280.2°. Best body text is #FFFFFF at 16.72:1 contrast (WCAG AA passes).

Color values

HEX#1B0F58
RGBrgb(27, 15, 88)
HSLhsl(250, 71%, 20%)
HSVhsv(250, 83%, 35%)
CMYKcmyk(69.3%, 83%, 0%, 65.5%)
CIE-LABlab(11.13, 29.42, -41.47)
CIE-LCHlch(11.13, 50.85, 305.36°)
OKLaboklab(24.69% 0.0215 -0.1197)
OKLCHoklch(24.69% 0.122 280.2)
XYZxyz(2.3837, 1.2791, 9.3519)
Luminance0.0128 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B0F58 #4C580F
analogous
#0F2758 #1B0F58 #3F0F58
triadic
#1B0F58 #581B0F #0F581B
tetradic
#1B0F58 #580F27 #4C580F #0F583F
square
#1B0F58 #580F27 #4C580F #0F583F
split-complementary
#1B0F58 #583F0F #27580F
monochromatic
#08041A #0B0624 #1B0F58 #2B188C #3B21C1

Accessibility & contrast

On white

16.72
#1B0F58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B0F58
16.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B0F58#FFFFFF#000000##FFFFFF
##1B0F581.0016.721.2616.72
#FFFFFF16.721.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.721.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1b0f58;
/* rgb */ color: rgb(27, 15, 88);
/* oklch */ color: oklch(24.7% 0.122 280.2);
Tailwind
colors: {
  custom: {
    50: '#614f88',
    500: '#1b0f58',
    950: '#000000',
  },
}
SCSS
$custom: #1b0f58;
$custom-light: #614f88;
$custom-dark: #000000;
JSON
{
  "hex": "#1b0f58",
  "rgb": {
    "r": 27,
    "g": 15,
    "b": 88
  },
  "hsl": {
    "h": 249.863,
    "s": 70.874,
    "l": 20.196
  },
  "oklch": {
    "l": 0.2469,
    "c": 0.12161,
    "h": 280.2
  },
  "luminance": 0.01279
}

Semantic roles & 50–950 ramp

primary
#1B0F58
secondary
#829231
accent
#EE3AD0
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020B
muted
#7A787C

Preview Lab

Preview with #1B0F58

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

Preview Lab → · Contrast checker → · Palette generator →

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