#1B0E5E#1B0E5E

#1B0E5E is a dark, vivid blue. Relative luminance 0.014; OKLCH L 25.3% C 0.131 H 278.9°. Best body text is #FFFFFF at 16.52:1 contrast (WCAG AA passes).

Color values

HEX#1B0E5E
RGBrgb(27, 14, 94)
HSLhsl(250, 74%, 21%)
HSVhsv(250, 85%, 37%)
CMYKcmyk(71.3%, 85.1%, 0%, 63.1%)
CIE-LABlab(11.65, 32.01, -44.64)
CIE-LCHlch(11.65, 54.93, 305.64°)
OKLaboklab(25.27% 0.0202 -0.1289)
OKLCHoklch(25.27% 0.131 278.9)
XYZxyz(2.6288, 1.3550, 10.7105)
Luminance0.0135 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B0E5E #515E0E
analogous
#0E295E #1B0E5E #430E5E
triadic
#1B0E5E #5E1B0E #0E5E1B
tetradic
#1B0E5E #5E0E29 #515E0E #0E5E43
square
#1B0E5E #5E0E29 #515E0E #0E5E43
split-complementary
#1B0E5E #5E430E #295E0E
monochromatic
#08041B #0C0629 #1B0E5E #2A1693 #3A1EC9

Accessibility & contrast

On white

16.52
#1B0E5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#1B0E5E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B0E5E
16.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B0E5E#FFFFFF#000000##FFFFFF
##1B0E5E1.0016.521.2716.52
#FFFFFF16.521.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002260
Deuteranopia (green-blind)
#001C5D
Tritanopia (blue-blind)
#002636
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #1b0e5e;
/* rgb */ color: rgb(27, 14, 94);
/* oklch */ color: oklch(25.3% 0.131 278.9);
Tailwind
colors: {
  custom: {
    50: '#634f8d',
    500: '#1b0e5e',
    950: '#000000',
  },
}
SCSS
$custom: #1b0e5e;
$custom-light: #634f8d;
$custom-dark: #000000;
JSON
{
  "hex": "#1b0e5e",
  "rgb": {
    "r": 27,
    "g": 14,
    "b": 94
  },
  "hsl": {
    "h": 249.75,
    "s": 74.074,
    "l": 21.176
  },
  "oklch": {
    "l": 0.2527,
    "c": 0.13051,
    "h": 278.9
  },
  "luminance": 0.01355
}

Semantic roles & 50–950 ramp

primary
#1B0E5E
secondary
#879830
accent
#F137D3
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #1B0E5E

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

Preview Lab → · Contrast checker → · Palette generator →

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