#1B0F64#1B0F64

#1B0F64 is a dark, vivid blue. Relative luminance 0.015; OKLCH L 26.1% C 0.137 H 277.4°. Best body text is #FFFFFF at 16.17:1 contrast (WCAG AA passes).

Color values

HEX#1B0F64
RGBrgb(27, 15, 100)
HSLhsl(248, 74%, 23%)
HSVhsv(248, 85%, 39%)
CMYKcmyk(73%, 85%, 0%, 60.8%)
CIE-LABlab(12.57, 33.48, -47.13)
CIE-LCHlch(12.57, 57.81, 305.39°)
OKLaboklab(26.12% 0.0178 -0.1362)
OKLCHoklch(26.12% 0.137 277.4)
XYZxyz(2.9223, 1.4945, 12.1886)
Luminance0.0149 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B0F64 #58640F
analogous
#0F2D64 #1B0F64 #460F64
triadic
#1B0F64 #641B0F #0F641B
tetradic
#1B0F64 #640F2D #58640F #0F6446
square
#1B0F64 #640F2D #58640F #0F6446
split-complementary
#1B0F64 #64460F #2D640F
monochromatic
#07041B #0D072F #1B0F64 #291799 #381FCE

Accessibility & contrast

On white

16.17
#1B0F64 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B0F64
16.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B0F64#FFFFFF#000000##FFFFFF
##1B0F641.0016.171.3016.17
#FFFFFF16.171.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002466
Deuteranopia (green-blind)
#001D63
Tritanopia (blue-blind)
#00293A
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #1b0f64;
/* rgb */ color: rgb(27, 15, 100);
/* oklch */ color: oklch(26.1% 0.137 277.4);
Tailwind
colors: {
  custom: {
    50: '#645091',
    500: '#1b0f64',
    950: '#000000',
  },
}
SCSS
$custom: #1b0f64;
$custom-light: #645091;
$custom-dark: #000000;
JSON
{
  "hex": "#1b0f64",
  "rgb": {
    "r": 27,
    "g": 15,
    "b": 100
  },
  "hsl": {
    "h": 248.471,
    "s": 73.913,
    "l": 22.549
  },
  "oklch": {
    "l": 0.26124,
    "c": 0.13732,
    "h": 277.4
  },
  "luminance": 0.01495
}

Semantic roles & 50–950 ramp

primary
#1B0F64
secondary
#8E9D32
accent
#F137D6
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#06020D
muted
#7A787E

Preview Lab

Preview with #1B0F64

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

Preview Lab → · Contrast checker → · Palette generator →

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