#1B0E5D#1B0E5D

#1B0E5D is a dark, vivid blue. Relative luminance 0.013; OKLCH L 25.1% C 0.129 H 279.2°. Best body text is #FFFFFF at 16.57:1 contrast (WCAG AA passes).

Color values

HEX#1B0E5D
RGBrgb(27, 14, 93)
HSLhsl(250, 74%, 21%)
HSVhsv(250, 85%, 36%)
CMYKcmyk(71%, 84.9%, 0%, 63.5%)
CIE-LABlab(11.53, 31.67, -44.17)
CIE-LCHlch(11.53, 54.35, 305.64°)
OKLaboklab(25.15% 0.0206 -0.1276)
OKLCHoklch(25.15% 0.129 279.2)
XYZxyz(2.5842, 1.3372, 10.4757)
Luminance0.0134 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B0E5D #505D0E
analogous
#0E285D #1B0E5D #420E5D
triadic
#1B0E5D #5D1B0E #0E5D1B
tetradic
#1B0E5D #5D0E28 #505D0E #0E5D42
square
#1B0E5D #5D0E28 #505D0E #0E5D42
split-complementary
#1B0E5D #5D420E #285D0E
monochromatic
#08041B #0C0628 #1B0E5D #2A1692 #3A1EC7

Accessibility & contrast

On white

16.57
#1B0E5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B0E5D
16.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B0E5D#FFFFFF#000000##FFFFFF
##1B0E5D1.0016.571.2716.57
#FFFFFF16.571.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00215F
Deuteranopia (green-blind)
#001B5C
Tritanopia (blue-blind)
#002636
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #1b0e5d;
/* rgb */ color: rgb(27, 14, 93);
/* oklch */ color: oklch(25.1% 0.129 279.2);
Tailwind
colors: {
  custom: {
    50: '#634f8c',
    500: '#1b0e5d',
    950: '#000000',
  },
}
SCSS
$custom: #1b0e5d;
$custom-light: #634f8c;
$custom-dark: #000000;
JSON
{
  "hex": "#1b0e5d",
  "rgb": {
    "r": 27,
    "g": 14,
    "b": 93
  },
  "hsl": {
    "h": 249.873,
    "s": 73.832,
    "l": 20.98
  },
  "oklch": {
    "l": 0.25149,
    "c": 0.1292,
    "h": 279.2
  },
  "luminance": 0.01337
}

Semantic roles & 50–950 ramp

primary
#1B0E5D
secondary
#869730
accent
#F037D2
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #1B0E5D

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

Preview Lab → · Contrast checker → · Palette generator →

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