#1B4686#1B4686

#1B4686 is a dark, moderate blue. Relative luminance 0.063; OKLCH L 40.2% C 0.117 H 258.5°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#1B4686
RGBrgb(27, 70, 134)
HSLhsl(216, 66%, 32%)
HSVhsv(216, 80%, 53%)
CMYKcmyk(79.9%, 47.8%, 0%, 47.5%)
CIE-LABlab(30.24, 9.71, -40.09)
CIE-LCHlch(30.24, 41.24, 283.62°)
OKLaboklab(40.16% -0.0233 -0.115)
OKLCHoklch(40.16% 0.117 258.5)
XYZxyz(6.9437, 6.3338, 23.4062)
Luminance0.0634 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4686 #865B1B
analogous
#1B7C86 #1B4686 #261B86
triadic
#1B4686 #861B46 #46861B
tetradic
#1B4686 #861B7C #865B1B #1B8626
square
#1B4686 #861B7C #865B1B #1B8626
split-complementary
#1B4686 #86261B #7C861B
monochromatic
#061120 #112B53 #1B4686 #2561B9 #427FD9

Accessibility & contrast

On white

9.26
#1B4686 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#1B4686 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4686
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4686#FFFFFF#000000##FFFFFF
##1B46861.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244C88
Deuteranopia (green-blind)
#084385
Tritanopia (blue-blind)
#00555F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #1b4686;
/* rgb */ color: rgb(27, 70, 134);
/* oklch */ color: oklch(40.2% 0.117 258.5);
Tailwind
colors: {
  custom: {
    50: '#6978aa',
    500: '#1b4686',
    950: '#000000',
  },
}
SCSS
$custom: #1b4686;
$custom-light: #6978aa;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4686",
  "rgb": {
    "r": 27,
    "g": 70,
    "b": 134
  },
  "hsl": {
    "h": 215.888,
    "s": 66.46,
    "l": 31.569
  },
  "oklch": {
    "l": 0.40157,
    "c": 0.11738,
    "h": 258.5
  },
  "luminance": 0.06335
}

Semantic roles & 50–950 ramp

primary
#1B4686
secondary
#B98A44
accent
#A53EE9
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070910
muted
#7A7B7F

Preview Lab

Preview with #1B4686

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

Preview Lab → · Contrast checker → · Palette generator →

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