#1B0F66#1B0F66

#1B0F66 is a dark, vivid blue. Relative luminance 0.015; OKLCH L 26.4% C 0.140 H 277.1°. Best body text is #FFFFFF at 16.07:1 contrast (WCAG AA passes).

Color values

HEX#1B0F66
RGBrgb(27, 15, 102)
HSLhsl(248, 74%, 23%)
HSVhsv(248, 85%, 40%)
CMYKcmyk(73.5%, 85.3%, 0%, 60%)
CIE-LABlab(12.82, 34.14, -48.04)
CIE-LCHlch(12.82, 58.94, 305.40°)
OKLaboklab(26.37% 0.0172 -0.1388)
OKLCHoklch(26.37% 0.14 277.1)
XYZxyz(3.0203, 1.5337, 12.7047)
Luminance0.0153 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B0F66 #5A660F
analogous
#0F2E66 #1B0F66 #460F66
triadic
#1B0F66 #661B0F #0F661B
tetradic
#1B0F66 #660F2E #5A660F #0F6646
square
#1B0F66 #660F2E #5A660F #0F6646
split-complementary
#1B0F66 #66460F #2E660F
monochromatic
#07041B #0D0731 #1B0F66 #29179B #371FD1

Accessibility & contrast

On white

16.07
#1B0F66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#1B0F66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B0F66
16.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B0F66#FFFFFF#000000##FFFFFF
##1B0F661.0016.071.3116.07
#FFFFFF16.071.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002568
Deuteranopia (green-blind)
#001D65
Tritanopia (blue-blind)
#002A3B
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #1b0f66;
/* rgb */ color: rgb(27, 15, 102);
/* oklch */ color: oklch(26.4% 0.140 277.1);
Tailwind
colors: {
  custom: {
    50: '#655093',
    500: '#1b0f66',
    950: '#000000',
  },
}
SCSS
$custom: #1b0f66;
$custom-light: #655093;
$custom-dark: #000000;
JSON
{
  "hex": "#1b0f66",
  "rgb": {
    "r": 27,
    "g": 15,
    "b": 102
  },
  "hsl": {
    "h": 248.276,
    "s": 74.359,
    "l": 22.941
  },
  "oklch": {
    "l": 0.26368,
    "c": 0.13988,
    "h": 277.1
  },
  "luminance": 0.01534
}

Semantic roles & 50–950 ramp

primary
#1B0F66
secondary
#909F32
accent
#F137D7
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#06020D
muted
#7A787E

Preview Lab

Preview with #1B0F66

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

Preview Lab → · Contrast checker → · Palette generator →

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