#1B0F5B#1B0F5B

#1B0F5B is a dark, vivid blue. Relative luminance 0.013; OKLCH L 25.0% C 0.126 H 279.4°. Best body text is #FFFFFF at 16.59:1 contrast (WCAG AA passes).

Color values

HEX#1B0F5B
RGBrgb(27, 15, 91)
HSLhsl(249, 72%, 21%)
HSVhsv(249, 84%, 36%)
CMYKcmyk(70.3%, 83.5%, 0%, 64.3%)
CIE-LABlab(11.48, 30.45, -42.91)
CIE-LCHlch(11.48, 52.62, 305.36°)
OKLaboklab(25.04% 0.0206 -0.1239)
OKLCHoklch(25.04% 0.126 279.4)
XYZxyz(2.5105, 1.3298, 10.0199)
Luminance0.0133 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B0F5B #4F5B0F
analogous
#0F295B #1B0F5B #410F5B
triadic
#1B0F5B #5B1B0F #0F5B1B
tetradic
#1B0F5B #5B0F29 #4F5B0F #0F5B41
square
#1B0F5B #5B0F29 #4F5B0F #0F5B41
split-complementary
#1B0F5B #5B410F #295B0F
monochromatic
#08041A #0B0626 #1B0F5B #2B1890 #3A20C4

Accessibility & contrast

On white

16.59
#1B0F5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#1B0F5B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B0F5B
16.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B0F5B#FFFFFF#000000##FFFFFF
##1B0F5B1.0016.591.2716.59
#FFFFFF16.591.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00215D
Deuteranopia (green-blind)
#001B5A
Tritanopia (blue-blind)
#002635
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #1b0f5b;
/* rgb */ color: rgb(27, 15, 91);
/* oklch */ color: oklch(25.0% 0.126 279.4);
Tailwind
colors: {
  custom: {
    50: '#624f8a',
    500: '#1b0f5b',
    950: '#000000',
  },
}
SCSS
$custom: #1b0f5b;
$custom-light: #624f8a;
$custom-dark: #000000;
JSON
{
  "hex": "#1b0f5b",
  "rgb": {
    "r": 27,
    "g": 15,
    "b": 91
  },
  "hsl": {
    "h": 249.474,
    "s": 71.698,
    "l": 20.784
  },
  "oklch": {
    "l": 0.25043,
    "c": 0.1256,
    "h": 279.4
  },
  "luminance": 0.0133
}

Semantic roles & 50–950 ramp

primary
#1B0F5B
secondary
#859531
accent
#EE39D2
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #1B0F5B

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

Preview Lab → · Contrast checker → · Palette generator →

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