#1B0F59#1B0F59

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

Color values

HEX#1B0F59
RGBrgb(27, 15, 89)
HSLhsl(250, 71%, 20%)
HSVhsv(250, 83%, 35%)
CMYKcmyk(69.7%, 83.1%, 0%, 65.1%)
CIE-LABlab(11.25, 29.77, -41.95)
CIE-LCHlch(11.25, 51.44, 305.36°)
OKLaboklab(24.81% 0.0212 -0.1211)
OKLCHoklch(24.81% 0.123 279.9)
XYZxyz(2.4254, 1.2957, 9.5715)
Luminance0.0130 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B0F59 #4D590F
analogous
#0F2859 #1B0F59 #400F59
triadic
#1B0F59 #591B0F #0F591B
tetradic
#1B0F59 #590F28 #4D590F #0F5940
square
#1B0F59 #590F28 #4D590F #0F5940
split-complementary
#1B0F59 #59400F #28590F
monochromatic
#08041A #0B0625 #1B0F59 #2B188D #3B21C2

Accessibility & contrast

On white

16.68
#1B0F59 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B0F59
16.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B0F59#FFFFFF#000000##FFFFFF
##1B0F591.0016.681.2616.68
#FFFFFF16.681.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.681.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1b0f59;
/* rgb */ color: rgb(27, 15, 89);
/* oklch */ color: oklch(24.8% 0.123 279.9);
Tailwind
colors: {
  custom: {
    50: '#624f89',
    500: '#1b0f59',
    950: '#000000',
  },
}
SCSS
$custom: #1b0f59;
$custom-light: #624f89;
$custom-dark: #000000;
JSON
{
  "hex": "#1b0f59",
  "rgb": {
    "r": 27,
    "g": 15,
    "b": 89
  },
  "hsl": {
    "h": 249.73,
    "s": 71.154,
    "l": 20.392
  },
  "oklch": {
    "l": 0.24807,
    "c": 0.12295,
    "h": 279.9
  },
  "luminance": 0.01296
}

Semantic roles & 50–950 ramp

primary
#1B0F59
secondary
#839331
accent
#EE3AD1
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020B
muted
#7A787C

Preview Lab

Preview with #1B0F59

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

Preview Lab → · Contrast checker → · Palette generator →

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