#1B115A#1B115A

#1B115A is a dark, vivid blue. Relative luminance 0.014; OKLCH L 25.2% C 0.122 H 279.2°. Best body text is #FFFFFF at 16.48:1 contrast (WCAG AA passes).

Color values

HEX#1B115A
RGBrgb(27, 17, 90)
HSLhsl(248, 68%, 21%)
HSVhsv(248, 81%, 35%)
CMYKcmyk(70%, 81.1%, 0%, 64.7%)
CIE-LABlab(11.77, 28.95, -41.76)
CIE-LCHlch(11.77, 50.82, 304.73°)
OKLaboklab(25.21% 0.0196 -0.1206)
OKLCHoklch(25.21% 0.122 279.2)
XYZxyz(2.4973, 1.3719, 9.8041)
Luminance0.0137 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B115A #505A11
analogous
#112B5A #1B115A #3F115A
triadic
#1B115A #5A1B11 #115A1B
tetradic
#1B115A #5A112B #505A11 #115A3F
square
#1B115A #5A112B #505A11 #115A3F
split-complementary
#1B115A #5A3F11 #2B5A11
monochromatic
#08051A #0C0727 #1B115A #2A1B8D #3A24C1

Accessibility & contrast

On white

16.48
#1B115A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B115A
16.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B115A#FFFFFF#000000##FFFFFF
##1B115A1.0016.481.2716.48
#FFFFFF16.481.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00225C
Deuteranopia (green-blind)
#001C59
Tritanopia (blue-blind)
#002635
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #1b115a;
/* rgb */ color: rgb(27, 17, 90);
/* oklch */ color: oklch(25.2% 0.122 279.2);
Tailwind
colors: {
  custom: {
    50: '#62518a',
    500: '#1b115a',
    950: '#000000',
  },
}
SCSS
$custom: #1b115a;
$custom-light: #62518a;
$custom-dark: #000000;
JSON
{
  "hex": "#1b115a",
  "rgb": {
    "r": 27,
    "g": 17,
    "b": 90
  },
  "hsl": {
    "h": 248.219,
    "s": 68.224,
    "l": 20.98
  },
  "oklch": {
    "l": 0.25209,
    "c": 0.12216,
    "h": 279.2
  },
  "luminance": 0.01372
}

Semantic roles & 50–950 ramp

primary
#1B115A
secondary
#869334
accent
#EB3DD3
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #1B115A

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

Preview Lab → · Contrast checker → · Palette generator →

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