#1B3E86#1B3E86

#1B3E86 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.3% C 0.128 H 262.5°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#1B3E86
RGBrgb(27, 62, 134)
HSLhsl(220, 66%, 32%)
HSVhsv(220, 80%, 53%)
CMYKcmyk(79.9%, 53.7%, 0%, 47.5%)
CIE-LABlab(27.84, 15.25, -43.95)
CIE-LCHlch(27.84, 46.52, 289.13°)
OKLaboklab(38.32% -0.0166 -0.1266)
OKLCHoklch(38.32% 0.128 262.5)
XYZxyz(6.4762, 5.3987, 23.2504)
Luminance0.0540 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3E86 #86631B
analogous
#1B7486 #1B3E86 #2E1B86
triadic
#1B3E86 #861B3E #3E861B
tetradic
#1B3E86 #861B74 #86631B #1B862E
square
#1B3E86 #861B74 #86631B #1B862E
split-complementary
#1B3E86 #862E1B #74861B
monochromatic
#060F20 #112653 #1B3E86 #2556B9 #4274D9

Accessibility & contrast

On white

10.10
#1B3E86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#1B3E86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3E86
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3E86#FFFFFF#000000##FFFFFF
##1B3E861.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C4789
Deuteranopia (green-blind)
#003D85
Tritanopia (blue-blind)
#004F5B
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #1b3e86;
/* rgb */ color: rgb(27, 62, 134);
/* oklch */ color: oklch(38.3% 0.128 262.5);
Tailwind
colors: {
  custom: {
    50: '#6972aa',
    500: '#1b3e86',
    950: '#000000',
  },
}
SCSS
$custom: #1b3e86;
$custom-light: #6972aa;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3e86",
  "rgb": {
    "r": 27,
    "g": 62,
    "b": 134
  },
  "hsl": {
    "h": 220.374,
    "s": 66.46,
    "l": 31.569
  },
  "oklch": {
    "l": 0.3832,
    "c": 0.12768,
    "h": 262.5
  },
  "luminance": 0.05399
}

Semantic roles & 50–950 ramp

primary
#1B3E86
secondary
#B99344
accent
#B13EE9
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #1B3E86

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

Preview Lab → · Contrast checker → · Palette generator →

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