#1B3486#1B3486

#1B3486 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.2% C 0.141 H 266.3°. Best body text is #FFFFFF at 11.16:1 contrast (WCAG AA passes).

Color values

HEX#1B3486
RGBrgb(27, 52, 134)
HSLhsl(226, 66%, 32%)
HSVhsv(226, 80%, 53%)
CMYKcmyk(79.9%, 61.2%, 0%, 47.5%)
CIE-LABlab(24.98, 22.24, -48.60)
CIE-LCHlch(24.98, 53.45, 294.59°)
OKLaboklab(36.16% -0.0091 -0.1404)
OKLCHoklch(36.16% 0.141 266.3)
XYZxyz(5.9816, 4.4095, 23.0855)
Luminance0.0441 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3486 #866D1B
analogous
#1B6A86 #1B3486 #371B86
triadic
#1B3486 #861B34 #34861B
tetradic
#1B3486 #861B6A #866D1B #1B8637
square
#1B3486 #861B6A #866D1B #1B8637
split-complementary
#1B3486 #86371B #6A861B
monochromatic
#060C20 #112053 #1B3486 #2548B9 #4266D9

Accessibility & contrast

On white

11.16
#1B3486 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#1B3486 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3486
11.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3486#FFFFFF#000000##FFFFFF
##1B34861.0011.161.8811.16
#FFFFFF11.161.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004089
Deuteranopia (green-blind)
#003684
Tritanopia (blue-blind)
#004957
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #1b3486;
/* rgb */ color: rgb(27, 52, 134);
/* oklch */ color: oklch(36.2% 0.141 266.3);
Tailwind
colors: {
  custom: {
    50: '#6a6baa',
    500: '#1b3486',
    950: '#000000',
  },
}
SCSS
$custom: #1b3486;
$custom-light: #6a6baa;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3486",
  "rgb": {
    "r": 27,
    "g": 52,
    "b": 134
  },
  "hsl": {
    "h": 225.981,
    "s": 66.46,
    "l": 31.569
  },
  "oklch": {
    "l": 0.36164,
    "c": 0.14073,
    "h": 266.3
  },
  "luminance": 0.0441
}

Semantic roles & 50–950 ramp

primary
#1B3486
secondary
#B99E44
accent
#C13EE9
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#070610
muted
#7A7A7F

Preview Lab

Preview with #1B3486

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

Preview Lab → · Contrast checker → · Palette generator →

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