#1B115D#1B115D

#1B115D is a dark, vivid blue. Relative luminance 0.014; OKLCH L 25.6% C 0.126 H 278.5°. Best body text is #FFFFFF at 16.34:1 contrast (WCAG AA passes).

Color values

HEX#1B115D
RGBrgb(27, 17, 93)
HSLhsl(248, 69%, 22%)
HSVhsv(248, 82%, 36%)
CMYKcmyk(71%, 81.7%, 0%, 63.5%)
CIE-LABlab(12.12, 29.99, -43.21)
CIE-LCHlch(12.12, 52.60, 304.77°)
OKLaboklab(25.56% 0.0188 -0.1248)
OKLCHoklch(25.56% 0.126 278.5)
XYZxyz(2.6276, 1.4240, 10.4902)
Luminance0.0142 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B115D #535D11
analogous
#112D5D #1B115D #41115D
triadic
#1B115D #5D1B11 #115D1B
tetradic
#1B115D #5D112D #535D11 #115D41
square
#1B115D #5D112D #535D11 #115D41
split-complementary
#1B115D #5D4111 #2D5D11
monochromatic
#08051A #0C0829 #1B115D #2A1A91 #3924C4

Accessibility & contrast

On white

16.34
#1B115D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#1B115D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B115D
16.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B115D#FFFFFF#000000##FFFFFF
##1B115D1.0016.341.2816.34
#FFFFFF16.341.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00235F
Deuteranopia (green-blind)
#001D5C
Tritanopia (blue-blind)
#002736
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #1b115d;
/* rgb */ color: rgb(27, 17, 93);
/* oklch */ color: oklch(25.6% 0.126 278.5);
Tailwind
colors: {
  custom: {
    50: '#62518c',
    500: '#1b115d',
    950: '#000000',
  },
}
SCSS
$custom: #1b115d;
$custom-light: #62518c;
$custom-dark: #000000;
JSON
{
  "hex": "#1b115d",
  "rgb": {
    "r": 27,
    "g": 17,
    "b": 93
  },
  "hsl": {
    "h": 247.895,
    "s": 69.091,
    "l": 21.569
  },
  "oklch": {
    "l": 0.25557,
    "c": 0.1262,
    "h": 278.5
  },
  "luminance": 0.01424
}

Semantic roles & 50–950 ramp

primary
#1B115D
secondary
#899634
accent
#EC3CD5
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #1B115D

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

Preview Lab → · Contrast checker → · Palette generator →

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