#1B3C86#1B3C86

#1B3C86 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 37.9% C 0.130 H 263.4°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#1B3C86
RGBrgb(27, 60, 134)
HSLhsl(221, 66%, 32%)
HSVhsv(221, 80%, 53%)
CMYKcmyk(79.9%, 55.2%, 0%, 47.5%)
CIE-LABlab(27.26, 16.64, -44.90)
CIE-LCHlch(27.26, 47.89, 290.34°)
OKLaboklab(37.88% -0.015 -0.1294)
OKLCHoklch(37.88% 0.13 263.4)
XYZxyz(6.3694, 5.1852, 23.2148)
Luminance0.0519 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3C86 #86651B
analogous
#1B7286 #1B3C86 #2F1B86
triadic
#1B3C86 #861B3C #3C861B
tetradic
#1B3C86 #861B72 #86651B #1B862F
square
#1B3C86 #861B72 #86651B #1B862F
split-complementary
#1B3C86 #862F1B #72861B
monochromatic
#060E20 #112553 #1B3C86 #2553B9 #4271D9

Accessibility & contrast

On white

10.31
#1B3C86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#1B3C86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3C86
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3C86#FFFFFF#000000##FFFFFF
##1B3C861.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#014689
Deuteranopia (green-blind)
#003C85
Tritanopia (blue-blind)
#004E5B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #1b3c86;
/* rgb */ color: rgb(27, 60, 134);
/* oklch */ color: oklch(37.9% 0.130 263.4);
Tailwind
colors: {
  custom: {
    50: '#6971aa',
    500: '#1b3c86',
    950: '#000000',
  },
}
SCSS
$custom: #1b3c86;
$custom-light: #6971aa;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3c86",
  "rgb": {
    "r": 27,
    "g": 60,
    "b": 134
  },
  "hsl": {
    "h": 221.495,
    "s": 66.46,
    "l": 31.569
  },
  "oklch": {
    "l": 0.37875,
    "c": 0.13029,
    "h": 263.4
  },
  "luminance": 0.05186
}

Semantic roles & 50–950 ramp

primary
#1B3C86
secondary
#B99544
accent
#B53EE9
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#070710
muted
#7A7A7F

Preview Lab

Preview with #1B3C86

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

Preview Lab → · Contrast checker → · Palette generator →

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