#1B106F#1B106F

#1B106F is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.6% C 0.150 H 275.3°. Best body text is #FFFFFF at 15.55:1 contrast (WCAG AA passes).

Color values

HEX#1B106F
RGBrgb(27, 16, 111)
HSLhsl(247, 75%, 25%)
HSVhsv(247, 86%, 44%)
CMYKcmyk(75.7%, 85.6%, 0%, 56.5%)
CIE-LABlab(14.12, 36.60, -51.79)
CIE-LCHlch(14.12, 63.42, 305.25°)
OKLaboklab(27.6% 0.014 -0.1497)
OKLCHoklch(27.6% 0.15 275.3)
XYZxyz(3.5056, 1.7509, 15.1891)
Luminance0.0175 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B106F #646F10
analogous
#10356F #1B106F #4A106F
triadic
#1B106F #6F1B10 #106F1B
tetradic
#1B106F #6F1035 #646F10 #106F4A
square
#1B106F #6F1035 #646F10 #106F4A
split-complementary
#1B106F #6F4A10 #356F10
monochromatic
#07041B #0E083A #1B106F #2818A4 #351FDA

Accessibility & contrast

On white

15.55
#1B106F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#1B106F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B106F
15.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B106F#FFFFFF#000000##FFFFFF
##1B106F1.0015.551.3515.55
#FFFFFF15.551.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002872
Deuteranopia (green-blind)
#00206D
Tritanopia (blue-blind)
#002E40
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #1b106f;
/* rgb */ color: rgb(27, 16, 111);
/* oklch */ color: oklch(27.6% 0.150 275.3);
Tailwind
colors: {
  custom: {
    50: '#675299',
    500: '#1b106f',
    950: '#000000',
  },
}
SCSS
$custom: #1b106f;
$custom-light: #675299;
$custom-dark: #000000;
JSON
{
  "hex": "#1b106f",
  "rgb": {
    "r": 27,
    "g": 16,
    "b": 111
  },
  "hsl": {
    "h": 246.947,
    "s": 74.803,
    "l": 24.902
  },
  "oklch": {
    "l": 0.27598,
    "c": 0.15038,
    "h": 275.3
  },
  "luminance": 0.01751
}

Semantic roles & 50–950 ramp

primary
#1B106F
secondary
#99A734
accent
#F136DC
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07020E
muted
#7A787E

Preview Lab

Preview with #1B106F

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

Preview Lab → · Contrast checker → · Palette generator →

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