#1B0E71#1B0E71

#1B0E71 is a dark, vivid blue. Relative luminance 0.017; OKLCH L 27.6% C 0.154 H 275.2°. Best body text is #FFFFFF at 15.58:1 contrast (WCAG AA passes).

Color values

HEX#1B0E71
RGBrgb(27, 14, 113)
HSLhsl(248, 78%, 25%)
HSVhsv(248, 88%, 44%)
CMYKcmyk(76.1%, 87.6%, 0%, 55.7%)
CIE-LABlab(14.05, 38.20, -53.21)
CIE-LCHlch(14.05, 65.50, 305.68°)
OKLaboklab(27.62% 0.0141 -0.1538)
OKLCHoklch(27.62% 0.154 275.2)
XYZxyz(3.5887, 1.7390, 15.7661)
Luminance0.0174 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B0E71 #64710E
analogous
#0E3271 #1B0E71 #4D0E71
triadic
#1B0E71 #711B0E #0E711B
tetradic
#1B0E71 #710E32 #64710E #0E714D
square
#1B0E71 #710E32 #64710E #0E714D
split-complementary
#1B0E71 #714D0E #32710E
monochromatic
#07031B #0E073B #1B0E71 #2815A7 #351BDE

Accessibility & contrast

On white

15.58
#1B0E71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#1B0E71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B0E71
15.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B0E71#FFFFFF#000000##FFFFFF
##1B0E711.0015.581.3515.58
#FFFFFF15.581.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002874
Deuteranopia (green-blind)
#001F6F
Tritanopia (blue-blind)
#002E41
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #1b0e71;
/* rgb */ color: rgb(27, 14, 113);
/* oklch */ color: oklch(27.6% 0.154 275.2);
Tailwind
colors: {
  custom: {
    50: '#68519b',
    500: '#1b0e71',
    950: '#000000',
  },
}
SCSS
$custom: #1b0e71;
$custom-light: #68519b;
$custom-dark: #000000;
JSON
{
  "hex": "#1b0e71",
  "rgb": {
    "r": 27,
    "g": 14,
    "b": 113
  },
  "hsl": {
    "h": 247.879,
    "s": 77.953,
    "l": 24.902
  },
  "oklch": {
    "l": 0.27624,
    "c": 0.15444,
    "h": 275.2
  },
  "luminance": 0.01739
}

Semantic roles & 50–950 ramp

primary
#1B0E71
secondary
#99A932
accent
#F433DB
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#07020E
muted
#7A787E

Preview Lab

Preview with #1B0E71

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

Preview Lab → · Contrast checker → · Palette generator →

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