#1B3386#1B3386

#1B3386 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.0% C 0.142 H 266.6°. Best body text is #FFFFFF at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#1B3386
RGBrgb(27, 51, 134)
HSLhsl(227, 66%, 32%)
HSVhsv(227, 80%, 53%)
CMYKcmyk(79.9%, 61.9%, 0%, 47.5%)
CIE-LABlab(24.71, 22.93, -49.05)
CIE-LCHlch(24.71, 54.15, 295.06°)
OKLaboklab(35.96% -0.0084 -0.1418)
OKLCHoklch(35.96% 0.142 266.6)
XYZxyz(5.9374, 4.3212, 23.0708)
Luminance0.0432 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3386 #866E1B
analogous
#1B6986 #1B3386 #391B86
triadic
#1B3386 #861B33 #33861B
tetradic
#1B3386 #861B69 #866E1B #1B8639
square
#1B3386 #861B69 #866E1B #1B8639
split-complementary
#1B3386 #86391B #69861B
monochromatic
#060C20 #112053 #1B3386 #2546B9 #4264D9

Accessibility & contrast

On white

11.26
#1B3386 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#1B3386 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3386
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3386#FFFFFF#000000##FFFFFF
##1B33861.0011.261.8611.26
#FFFFFF11.261.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1b3386;
/* rgb */ color: rgb(27, 51, 134);
/* oklch */ color: oklch(36.0% 0.142 266.6);
Tailwind
colors: {
  custom: {
    50: '#6a6aaa',
    500: '#1b3386',
    950: '#000000',
  },
}
SCSS
$custom: #1b3386;
$custom-light: #6a6aaa;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3386",
  "rgb": {
    "r": 27,
    "g": 51,
    "b": 134
  },
  "hsl": {
    "h": 226.542,
    "s": 66.46,
    "l": 31.569
  },
  "oklch": {
    "l": 0.35959,
    "c": 0.14201,
    "h": 266.6
  },
  "luminance": 0.04322
}

Semantic roles & 50–950 ramp

primary
#1B3386
secondary
#B99F44
accent
#C33EE9
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#070610
muted
#7A7A7F

Preview Lab

Preview with #1B3386

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

Preview Lab → · Contrast checker → · Palette generator →

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