#1B0F5E#1B0F5E

#1B0F5E is a dark, vivid blue. Relative luminance 0.014; OKLCH L 25.4% C 0.130 H 278.7°. Best body text is #FFFFFF at 16.45:1 contrast (WCAG AA passes).

Color values

HEX#1B0F5E
RGBrgb(27, 15, 94)
HSLhsl(249, 72%, 21%)
HSVhsv(249, 84%, 37%)
CMYKcmyk(71.3%, 84%, 0%, 63.1%)
CIE-LABlab(11.84, 31.46, -44.33)
CIE-LCHlch(11.84, 54.37, 305.36°)
OKLaboklab(25.4% 0.0197 -0.128)
OKLCHoklch(25.4% 0.13 278.7)
XYZxyz(2.6425, 1.3826, 10.7151)
Luminance0.0138 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B0F5E #525E0F
analogous
#0F2B5E #1B0F5E #430F5E
triadic
#1B0F5E #5E1B0F #0F5E1B
tetradic
#1B0F5E #5E0F2B #525E0F #0F5E43
square
#1B0F5E #5E0F2B #525E0F #0F5E43
split-complementary
#1B0F5E #5E430F #2B5E0F
monochromatic
#08041A #0C0729 #1B0F5E #2A1793 #3920C8

Accessibility & contrast

On white

16.45
#1B0F5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#1B0F5E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B0F5E
16.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B0F5E#FFFFFF#000000##FFFFFF
##1B0F5E1.0016.451.2816.45
#FFFFFF16.451.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002260
Deuteranopia (green-blind)
#001C5D
Tritanopia (blue-blind)
#002736
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #1b0f5e;
/* rgb */ color: rgb(27, 15, 94);
/* oklch */ color: oklch(25.4% 0.130 278.7);
Tailwind
colors: {
  custom: {
    50: '#63508d',
    500: '#1b0f5e',
    950: '#000000',
  },
}
SCSS
$custom: #1b0f5e;
$custom-light: #63508d;
$custom-dark: #000000;
JSON
{
  "hex": "#1b0f5e",
  "rgb": {
    "r": 27,
    "g": 15,
    "b": 94
  },
  "hsl": {
    "h": 249.114,
    "s": 72.477,
    "l": 21.373
  },
  "oklch": {
    "l": 0.25399,
    "c": 0.12955,
    "h": 278.7
  },
  "luminance": 0.01383
}

Semantic roles & 50–950 ramp

primary
#1B0F5E
secondary
#889731
accent
#EF39D3
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #1B0F5E

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

Preview Lab → · Contrast checker → · Palette generator →

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