#1B105E#1B105E

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

Color values

HEX#1B105E
RGBrgb(27, 16, 94)
HSLhsl(248, 71%, 22%)
HSVhsv(248, 83%, 37%)
CMYKcmyk(71.3%, 83%, 0%, 63.1%)
CIE-LABlab(12.03, 30.91, -44.02)
CIE-LCHlch(12.03, 53.79, 305.08°)
OKLaboklab(25.53% 0.0191 -0.1271)
OKLCHoklch(25.53% 0.129 278.5)
XYZxyz(2.6570, 1.4115, 10.7199)
Luminance0.0141 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B105E #535E10
analogous
#102C5E #1B105E #42105E
triadic
#1B105E #5E1B10 #105E1B
tetradic
#1B105E #5E102C #535E10 #105E42
square
#1B105E #5E102C #535E10 #105E42
split-complementary
#1B105E #5E4210 #2C5E10
monochromatic
#08041A #0C072A #1B105E #2A1992 #3922C7

Accessibility & contrast

On white

16.38
#1B105E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B105E
16.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B105E#FFFFFF#000000##FFFFFF
##1B105E1.0016.381.2816.38
#FFFFFF16.381.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002360
Deuteranopia (green-blind)
#001C5D
Tritanopia (blue-blind)
#002737
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #1b105e;
/* rgb */ color: rgb(27, 16, 94);
/* oklch */ color: oklch(25.5% 0.129 278.5);
Tailwind
colors: {
  custom: {
    50: '#63508d',
    500: '#1b105e',
    950: '#000000',
  },
}
SCSS
$custom: #1b105e;
$custom-light: #63508d;
$custom-dark: #000000;
JSON
{
  "hex": "#1b105e",
  "rgb": {
    "r": 27,
    "g": 16,
    "b": 94
  },
  "hsl": {
    "h": 248.462,
    "s": 70.909,
    "l": 21.569
  },
  "oklch": {
    "l": 0.25534,
    "c": 0.12855,
    "h": 278.5
  },
  "luminance": 0.01412
}

Semantic roles & 50–950 ramp

primary
#1B105E
secondary
#899733
accent
#EE3AD4
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #1B105E

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

Preview Lab → · Contrast checker → · Palette generator →

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