#1B0F68#1B0F68

#1B0F68 is a dark, vivid blue. Relative luminance 0.016; OKLCH L 26.6% C 0.142 H 276.7°. Best body text is #FFFFFF at 15.97:1 contrast (WCAG AA passes).

Color values

HEX#1B0F68
RGBrgb(27, 15, 104)
HSLhsl(248, 75%, 23%)
HSVhsv(248, 86%, 41%)
CMYKcmyk(74%, 85.6%, 0%, 59.2%)
CIE-LABlab(13.07, 34.81, -48.95)
CIE-LCHlch(13.07, 60.06, 305.42°)
OKLaboklab(26.61% 0.0165 -0.1415)
OKLCHoklch(26.61% 0.142 276.7)
XYZxyz(3.1207, 1.5738, 13.2333)
Luminance0.0157 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B0F68 #5C680F
analogous
#0F2F68 #1B0F68 #470F68
triadic
#1B0F68 #681B0F #0F681B
tetradic
#1B0F68 #680F2F #5C680F #0F6847
square
#1B0F68 #680F2F #5C680F #0F6847
split-complementary
#1B0F68 #68470F #2F680F
monochromatic
#07041B #0D0733 #1B0F68 #29179D #371ED3

Accessibility & contrast

On white

15.97
#1B0F68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B0F68
15.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B0F68#FFFFFF#000000##FFFFFF
##1B0F681.0015.971.3115.97
#FFFFFF15.971.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF15.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00256A
Deuteranopia (green-blind)
#001E66
Tritanopia (blue-blind)
#002B3C
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #1b0f68;
/* rgb */ color: rgb(27, 15, 104);
/* oklch */ color: oklch(26.6% 0.142 276.7);
Tailwind
colors: {
  custom: {
    50: '#665094',
    500: '#1b0f68',
    950: '#000000',
  },
}
SCSS
$custom: #1b0f68;
$custom-light: #665094;
$custom-dark: #000000;
JSON
{
  "hex": "#1b0f68",
  "rgb": {
    "r": 27,
    "g": 15,
    "b": 104
  },
  "hsl": {
    "h": 248.09,
    "s": 74.79,
    "l": 23.333
  },
  "oklch": {
    "l": 0.26614,
    "c": 0.14242,
    "h": 276.7
  },
  "luminance": 0.01574
}

Semantic roles & 50–950 ramp

primary
#1B0F68
secondary
#92A132
accent
#F136D8
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07020D
muted
#7A787E

Preview Lab

Preview with #1B0F68

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

Preview Lab → · Contrast checker → · Palette generator →

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