#1B105C#1B105C

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

Color values

HEX#1B105C
RGBrgb(27, 16, 92)
HSLhsl(249, 70%, 21%)
HSVhsv(249, 83%, 36%)
CMYKcmyk(70.7%, 82.6%, 0%, 63.9%)
CIE-LABlab(11.80, 30.22, -43.06)
CIE-LCHlch(11.80, 52.61, 305.06°)
OKLaboklab(25.3% 0.0197 -0.1244)
OKLCHoklch(25.3% 0.126 279)
XYZxyz(2.5684, 1.3761, 10.2534)
Luminance0.0138 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B105C #515C10
analogous
#102B5C #1B105C #41105C
triadic
#1B105C #5C1B10 #105C1B
tetradic
#1B105C #5C102B #515C10 #105C41
square
#1B105C #5C102B #515C10 #105C41
split-complementary
#1B105C #5C4110 #2B5C10
monochromatic
#08051A #0C0728 #1B105C #2A1990 #3A22C4

Accessibility & contrast

On white

16.47
#1B105C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B105C
16.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B105C#FFFFFF#000000##FFFFFF
##1B105C1.0016.471.2816.47
#FFFFFF16.471.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.471.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1b105c;
/* rgb */ color: rgb(27, 16, 92);
/* oklch */ color: oklch(25.3% 0.126 279.0);
Tailwind
colors: {
  custom: {
    50: '#62508b',
    500: '#1b105c',
    950: '#000000',
  },
}
SCSS
$custom: #1b105c;
$custom-light: #62508b;
$custom-dark: #000000;
JSON
{
  "hex": "#1b105c",
  "rgb": {
    "r": 27,
    "g": 16,
    "b": 92
  },
  "hsl": {
    "h": 248.684,
    "s": 70.37,
    "l": 21.176
  },
  "oklch": {
    "l": 0.25298,
    "c": 0.1259,
    "h": 279
  },
  "luminance": 0.01376
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1B105C

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

Preview Lab → · Contrast checker → · Palette generator →

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