#1B0E8D#1B0E8D

#1B0E8D is a dark, vivid blue. Relative luminance 0.025; OKLCH L 31.2% C 0.188 H 271.7°. Best body text is #FFFFFF at 14.06:1 contrast (WCAG AA passes).

Color values

HEX#1B0E8D
RGBrgb(27, 14, 141)
HSLhsl(246, 82%, 30%)
HSVhsv(246, 90%, 55%)
CMYKcmyk(80.9%, 90.1%, 0%, 44.7%)
CIE-LABlab(17.78, 46.79, -64.85)
CIE-LCHlch(17.78, 79.97, 305.81°)
OKLaboklab(31.23% 0.0055 -0.1875)
OKLCHoklch(31.23% 0.188 271.7)
XYZxyz(5.4151, 2.4696, 25.3854)
Luminance0.0247 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B0E8D #808D0E
analogous
#0E408D #1B0E8D #5B0E8D
triadic
#1B0E8D #8D1B0E #0E8D1B
tetradic
#1B0E8D #8D0E40 #808D0E #0E8D5B
square
#1B0E8D #8D0E40 #808D0E #0E8D5B
split-complementary
#1B0E8D #8D5B0E #408D0E
monochromatic
#06031E #100855 #1B0E8D #2614C5 #3F2BEA

Accessibility & contrast

On white

14.06
#1B0E8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#1B0E8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B0E8D
14.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B0E8D#FFFFFF#000000##FFFFFF
##1B0E8D1.0014.061.4914.06
#FFFFFF14.061.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003190
Deuteranopia (green-blind)
#00258B
Tritanopia (blue-blind)
#003A52
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #1b0e8d;
/* rgb */ color: rgb(27, 14, 141);
/* oklch */ color: oklch(31.2% 0.188 271.7);
Tailwind
colors: {
  custom: {
    50: '#6f54b0',
    500: '#1b0e8d',
    950: '#000000',
  },
}
SCSS
$custom: #1b0e8d;
$custom-light: #6f54b0;
$custom-dark: #000000;
JSON
{
  "hex": "#1b0e8d",
  "rgb": {
    "r": 27,
    "g": 14,
    "b": 141
  },
  "hsl": {
    "h": 246.142,
    "s": 81.935,
    "l": 30.392
  },
  "oklch": {
    "l": 0.31231,
    "c": 0.18758,
    "h": 271.7
  },
  "luminance": 0.0247
}

Semantic roles & 50–950 ramp

primary
#1B0E8D
secondary
#B4C235
accent
#F830E4
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090311
muted
#7B7880

Preview Lab

Preview with #1B0E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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