#1B105F#1B105F

#1B105F is a dark, vivid blue. Relative luminance 0.014; OKLCH L 25.7% C 0.130 H 278.3°. Best body text is #FFFFFF at 16.33:1 contrast (WCAG AA passes).

Color values

HEX#1B105F
RGBrgb(27, 16, 95)
HSLhsl(248, 71%, 22%)
HSVhsv(248, 83%, 37%)
CMYKcmyk(71.6%, 83.2%, 0%, 62.7%)
CIE-LABlab(12.15, 31.25, -44.49)
CIE-LCHlch(12.15, 54.37, 305.09°)
OKLaboklab(25.65% 0.0188 -0.1285)
OKLCHoklch(25.65% 0.13 278.3)
XYZxyz(2.7022, 1.4296, 10.9578)
Luminance0.0143 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B105F #545F10
analogous
#102D5F #1B105F #43105F
triadic
#1B105F #5F1B10 #105F1B
tetradic
#1B105F #5F102D #545F10 #105F43
square
#1B105F #5F102D #545F10 #105F43
split-complementary
#1B105F #5F4310 #2D5F10
monochromatic
#07041A #0C072B #1B105F #2A1993 #3922C8

Accessibility & contrast

On white

16.33
#1B105F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#1B105F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B105F
16.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B105F#FFFFFF#000000##FFFFFF
##1B105F1.0016.331.2916.33
#FFFFFF16.331.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002361
Deuteranopia (green-blind)
#001D5E
Tritanopia (blue-blind)
#002837
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #1b105f;
/* rgb */ color: rgb(27, 16, 95);
/* oklch */ color: oklch(25.7% 0.130 278.3);
Tailwind
colors: {
  custom: {
    50: '#63508d',
    500: '#1b105f',
    950: '#000000',
  },
}
SCSS
$custom: #1b105f;
$custom-light: #63508d;
$custom-dark: #000000;
JSON
{
  "hex": "#1b105f",
  "rgb": {
    "r": 27,
    "g": 16,
    "b": 95
  },
  "hsl": {
    "h": 248.354,
    "s": 71.171,
    "l": 21.765
  },
  "oklch": {
    "l": 0.25653,
    "c": 0.12987,
    "h": 278.3
  },
  "luminance": 0.0143
}

Semantic roles & 50–950 ramp

primary
#1B105F
secondary
#8A9833
accent
#EE3AD5
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #1B105F

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

Preview Lab → · Contrast checker → · Palette generator →

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