#1B0F5D#1B0F5D

#1B0F5D is a dark, vivid blue. Relative luminance 0.014; OKLCH L 25.3% C 0.128 H 279.0°. Best body text is #FFFFFF at 16.50:1 contrast (WCAG AA passes).

Color values

HEX#1B0F5D
RGBrgb(27, 15, 93)
HSLhsl(249, 72%, 21%)
HSVhsv(249, 84%, 36%)
CMYKcmyk(71%, 83.9%, 0%, 63.5%)
CIE-LABlab(11.72, 31.13, -43.86)
CIE-LCHlch(11.72, 53.78, 305.36°)
OKLaboklab(25.28% 0.02 -0.1267)
OKLCHoklch(25.28% 0.128 279)
XYZxyz(2.5980, 1.3648, 10.4803)
Luminance0.0137 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B0F5D #515D0F
analogous
#0F2A5D #1B0F5D #420F5D
triadic
#1B0F5D #5D1B0F #0F5D1B
tetradic
#1B0F5D #5D0F2A #515D0F #0F5D42
square
#1B0F5D #5D0F2A #515D0F #0F5D42
split-complementary
#1B0F5D #5D420F #2A5D0F
monochromatic
#08041A #0C0628 #1B0F5D #2A1792 #3A20C6

Accessibility & contrast

On white

16.50
#1B0F5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B0F5D
16.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B0F5D#FFFFFF#000000##FFFFFF
##1B0F5D1.0016.501.2716.50
#FFFFFF16.501.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00225F
Deuteranopia (green-blind)
#001C5C
Tritanopia (blue-blind)
#002636
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #1b0f5d;
/* rgb */ color: rgb(27, 15, 93);
/* oklch */ color: oklch(25.3% 0.128 279.0);
Tailwind
colors: {
  custom: {
    50: '#63508c',
    500: '#1b0f5d',
    950: '#000000',
  },
}
SCSS
$custom: #1b0f5d;
$custom-light: #63508c;
$custom-dark: #000000;
JSON
{
  "hex": "#1b0f5d",
  "rgb": {
    "r": 27,
    "g": 15,
    "b": 93
  },
  "hsl": {
    "h": 249.231,
    "s": 72.222,
    "l": 21.176
  },
  "oklch": {
    "l": 0.2528,
    "c": 0.12823,
    "h": 279
  },
  "luminance": 0.01365
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1B0F5D

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

Preview Lab → · Contrast checker → · Palette generator →

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