#1B0F65#1B0F65

#1B0F65 is a dark, vivid blue. Relative luminance 0.015; OKLCH L 26.2% C 0.139 H 277.2°. Best body text is #FFFFFF at 16.12:1 contrast (WCAG AA passes).

Color values

HEX#1B0F65
RGBrgb(27, 15, 101)
HSLhsl(248, 74%, 23%)
HSVhsv(248, 85%, 40%)
CMYKcmyk(73.3%, 85.1%, 0%, 60.4%)
CIE-LABlab(12.70, 33.81, -47.58)
CIE-LCHlch(12.70, 58.37, 305.40°)
OKLaboklab(26.25% 0.0175 -0.1375)
OKLCHoklch(26.25% 0.139 277.2)
XYZxyz(2.9710, 1.5140, 12.4451)
Luminance0.0151 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B0F65 #59650F
analogous
#0F2E65 #1B0F65 #460F65
triadic
#1B0F65 #651B0F #0F651B
tetradic
#1B0F65 #650F2E #59650F #0F6546
square
#1B0F65 #650F2E #59650F #0F6546
split-complementary
#1B0F65 #65460F #2E650F
monochromatic
#07041B #0D0730 #1B0F65 #29179A #371FD0

Accessibility & contrast

On white

16.12
#1B0F65 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#1B0F65 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B0F65
16.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B0F65#FFFFFF#000000##FFFFFF
##1B0F651.0016.121.3016.12
#FFFFFF16.121.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002467
Deuteranopia (green-blind)
#001D64
Tritanopia (blue-blind)
#002A3A
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #1b0f65;
/* rgb */ color: rgb(27, 15, 101);
/* oklch */ color: oklch(26.2% 0.139 277.2);
Tailwind
colors: {
  custom: {
    50: '#655092',
    500: '#1b0f65',
    950: '#000000',
  },
}
SCSS
$custom: #1b0f65;
$custom-light: #655092;
$custom-dark: #000000;
JSON
{
  "hex": "#1b0f65",
  "rgb": {
    "r": 27,
    "g": 15,
    "b": 101
  },
  "hsl": {
    "h": 248.372,
    "s": 74.138,
    "l": 22.745
  },
  "oklch": {
    "l": 0.26246,
    "c": 0.13861,
    "h": 277.2
  },
  "luminance": 0.01514
}

Semantic roles & 50–950 ramp

primary
#1B0F65
secondary
#8F9E32
accent
#F137D7
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#06020D
muted
#7A787E

Preview Lab

Preview with #1B0F65

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

Preview Lab → · Contrast checker → · Palette generator →

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