#1B105B#1B105B

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

Color values

HEX#1B105B
RGBrgb(27, 16, 91)
HSLhsl(249, 70%, 21%)
HSVhsv(249, 82%, 36%)
CMYKcmyk(70.3%, 82.4%, 0%, 64.3%)
CIE-LABlab(11.68, 29.88, -42.59)
CIE-LCHlch(11.68, 52.02, 305.06°)
OKLaboklab(25.18% 0.02 -0.123)
OKLCHoklch(25.18% 0.125 279.2)
XYZxyz(2.5250, 1.3587, 10.0247)
Luminance0.0136 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B105B #505B10
analogous
#102A5B #1B105B #40105B
triadic
#1B105B #5B1B10 #105B1B
tetradic
#1B105B #5B102A #505B10 #105B40
square
#1B105B #5B102A #505B10 #105B40
split-complementary
#1B105B #5B4010 #2A5B10
monochromatic
#08051A #0C0727 #1B105B #2A198F #3A22C3

Accessibility & contrast

On white

16.51
#1B105B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B105B
16.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B105B#FFFFFF#000000##FFFFFF
##1B105B1.0016.511.2716.51
#FFFFFF16.511.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.511.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1b105b;
/* rgb */ color: rgb(27, 16, 91);
/* oklch */ color: oklch(25.2% 0.125 279.2);
Tailwind
colors: {
  custom: {
    50: '#62508a',
    500: '#1b105b',
    950: '#000000',
  },
}
SCSS
$custom: #1b105b;
$custom-light: #62508a;
$custom-dark: #000000;
JSON
{
  "hex": "#1b105b",
  "rgb": {
    "r": 27,
    "g": 16,
    "b": 91
  },
  "hsl": {
    "h": 248.8,
    "s": 70.093,
    "l": 20.98
  },
  "oklch": {
    "l": 0.25181,
    "c": 0.12457,
    "h": 279.2
  },
  "luminance": 0.01359
}

Semantic roles & 50–950 ramp

primary
#1B105B
secondary
#869433
accent
#ED3BD3
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #1B105B

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

Preview Lab → · Contrast checker → · Palette generator →

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