#1B0F61#1B0F61

#1B0F61 is a dark, vivid blue. Relative luminance 0.014; OKLCH L 25.8% C 0.133 H 278.1°. Best body text is #FFFFFF at 16.31:1 contrast (WCAG AA passes).

Color values

HEX#1B0F61
RGBrgb(27, 15, 97)
HSLhsl(249, 73%, 22%)
HSVhsv(249, 85%, 38%)
CMYKcmyk(72.2%, 84.5%, 0%, 62%)
CIE-LABlab(12.21, 32.48, -45.74)
CIE-LCHlch(12.21, 56.10, 305.38°)
OKLaboklab(25.76% 0.0187 -0.1321)
OKLCHoklch(25.76% 0.133 278.1)
XYZxyz(2.7798, 1.4375, 11.4379)
Luminance0.0144 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B0F61 #55610F
analogous
#0F2C61 #1B0F61 #440F61
triadic
#1B0F61 #611B0F #0F611B
tetradic
#1B0F61 #610F2C #55610F #0F6144
square
#1B0F61 #610F2C #55610F #0F6144
split-complementary
#1B0F61 #61440F #2C610F
monochromatic
#07041B #0C072C #1B0F61 #2A1796 #391FCB

Accessibility & contrast

On white

16.31
#1B0F61 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#1B0F61 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B0F61
16.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B0F61#FFFFFF#000000##FFFFFF
##1B0F611.0016.311.2916.31
#FFFFFF16.311.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002363
Deuteranopia (green-blind)
#001D60
Tritanopia (blue-blind)
#002838
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #1b0f61;
/* rgb */ color: rgb(27, 15, 97);
/* oklch */ color: oklch(25.8% 0.133 278.1);
Tailwind
colors: {
  custom: {
    50: '#64508f',
    500: '#1b0f61',
    950: '#000000',
  },
}
SCSS
$custom: #1b0f61;
$custom-light: #64508f;
$custom-dark: #000000;
JSON
{
  "hex": "#1b0f61",
  "rgb": {
    "r": 27,
    "g": 15,
    "b": 97
  },
  "hsl": {
    "h": 248.78,
    "s": 73.214,
    "l": 21.961
  },
  "oklch": {
    "l": 0.2576,
    "c": 0.13345,
    "h": 278.1
  },
  "luminance": 0.01438
}

Semantic roles & 50–950 ramp

primary
#1B0F61
secondary
#8B9A32
accent
#F038D5
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #1B0F61

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

Preview Lab → · Contrast checker → · Palette generator →

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