#1B159E#1B159E

#1B159E is a dark, highly saturated blue. Relative luminance 0.032; OKLCH L 34.0% C 0.203 H 270.0°. Best body text is #FFFFFF at 12.75:1 contrast (WCAG AA passes).

Color values

HEX#1B159E
RGBrgb(27, 21, 158)
HSLhsl(243, 77%, 35%)
HSVhsv(243, 87%, 62%)
CMYKcmyk(82.9%, 86.7%, 0%, 38%)
CIE-LABlab(20.97, 49.12, -70.06)
CIE-LCHlch(20.97, 85.57, 305.04°)
OKLaboklab(34.05% 0 -0.2027)
OKLCHoklch(34.05% 0.203 270)
XYZxyz(6.8896, 3.2372, 32.6028)
Luminance0.0324 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B159E #989E15
analogous
#15539E #1B159E #60159E
triadic
#1B159E #9E1B15 #159E1B
tetradic
#1B159E #9E1553 #989E15 #159E60
square
#1B159E #9E1553 #989E15 #159E60
split-complementary
#1B159E #9E6015 #539E15
monochromatic
#090732 #120E68 #1B159E #241CD4 #4E47E7

Accessibility & contrast

On white

12.75
#1B159E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#1B159E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B159E
12.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B159E#FFFFFF#000000##FFFFFF
##1B159E1.0012.751.6512.75
#FFFFFF12.751.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0039A2
Deuteranopia (green-blind)
#002B9C
Tritanopia (blue-blind)
#00435D
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1b159e;
/* rgb */ color: rgb(27, 21, 158);
/* oklch */ color: oklch(34.0% 0.203 270.0);
Tailwind
colors: {
  custom: {
    50: '#7358bc',
    500: '#1b159e',
    950: '#000000',
  },
}
SCSS
$custom: #1b159e;
$custom-light: #7358bc;
$custom-dark: #000000;
JSON
{
  "hex": "#1b159e",
  "rgb": {
    "r": 27,
    "g": 21,
    "b": 158
  },
  "hsl": {
    "h": 242.628,
    "s": 76.536,
    "l": 35.098
  },
  "oklch": {
    "l": 0.34049,
    "c": 0.20271,
    "h": 270
  },
  "luminance": 0.03238
}

Semantic roles & 50–950 ramp

primary
#1B159E
secondary
#C2C747
accent
#F335EB
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #1B159E

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

Preview Lab → · Contrast checker → · Palette generator →

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