#1B105D#1B105D

#1B105D is a dark, vivid blue. Relative luminance 0.014; OKLCH L 25.4% C 0.127 H 278.8°. Best body text is #FFFFFF at 16.42:1 contrast (WCAG AA passes).

Color values

HEX#1B105D
RGBrgb(27, 16, 93)
HSLhsl(249, 71%, 21%)
HSVhsv(249, 83%, 36%)
CMYKcmyk(71%, 82.8%, 0%, 63.5%)
CIE-LABlab(11.92, 30.57, -43.54)
CIE-LCHlch(11.92, 53.20, 305.07°)
OKLaboklab(25.42% 0.0194 -0.1257)
OKLCHoklch(25.42% 0.127 278.8)
XYZxyz(2.6124, 1.3937, 10.4851)
Luminance0.0139 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B105D #525D10
analogous
#102C5D #1B105D #42105D
triadic
#1B105D #5D1B10 #105D1B
tetradic
#1B105D #5D102C #525D10 #105D42
square
#1B105D #5D102C #525D10 #105D42
split-complementary
#1B105D #5D4210 #2C5D10
monochromatic
#08041A #0C0729 #1B105D #2A1991 #3922C5

Accessibility & contrast

On white

16.42
#1B105D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B105D
16.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B105D#FFFFFF#000000##FFFFFF
##1B105D1.0016.421.2816.42
#FFFFFF16.421.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00225F
Deuteranopia (green-blind)
#001C5C
Tritanopia (blue-blind)
#002736
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #1b105d;
/* rgb */ color: rgb(27, 16, 93);
/* oklch */ color: oklch(25.4% 0.127 278.8);
Tailwind
colors: {
  custom: {
    50: '#63508c',
    500: '#1b105d',
    950: '#000000',
  },
}
SCSS
$custom: #1b105d;
$custom-light: #63508c;
$custom-dark: #000000;
JSON
{
  "hex": "#1b105d",
  "rgb": {
    "r": 27,
    "g": 16,
    "b": 93
  },
  "hsl": {
    "h": 248.571,
    "s": 70.642,
    "l": 21.373
  },
  "oklch": {
    "l": 0.25416,
    "c": 0.12723,
    "h": 278.8
  },
  "luminance": 0.01394
}

Semantic roles & 50–950 ramp

primary
#1B105D
secondary
#889633
accent
#ED3AD4
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #1B105D

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

Preview Lab → · Contrast checker → · Palette generator →

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