#1B4086#1B4086

#1B4086 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 38.8% C 0.125 H 261.6°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#1B4086
RGBrgb(27, 64, 134)
HSLhsl(219, 66%, 32%)
HSVhsv(219, 80%, 53%)
CMYKcmyk(79.9%, 52.2%, 0%, 47.5%)
CIE-LABlab(28.43, 13.85, -43.00)
CIE-LCHlch(28.43, 45.17, 287.86°)
OKLaboklab(38.77% -0.0182 -0.1237)
OKLCHoklch(38.77% 0.125 261.6)
XYZxyz(6.5869, 5.6203, 23.2873)
Luminance0.0562 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4086 #86611B
analogous
#1B7686 #1B4086 #2B1B86
triadic
#1B4086 #861B40 #40861B
tetradic
#1B4086 #861B76 #86611B #1B862B
square
#1B4086 #861B76 #86611B #1B862B
split-complementary
#1B4086 #862B1B #76861B
monochromatic
#060F20 #112853 #1B4086 #2558B9 #4276D9

Accessibility & contrast

On white

9.89
#1B4086 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#1B4086 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4086
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4086#FFFFFF#000000##FFFFFF
##1B40861.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#144889
Deuteranopia (green-blind)
#003E85
Tritanopia (blue-blind)
#00515C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #1b4086;
/* rgb */ color: rgb(27, 64, 134);
/* oklch */ color: oklch(38.8% 0.125 261.6);
Tailwind
colors: {
  custom: {
    50: '#6974aa',
    500: '#1b4086',
    950: '#000000',
  },
}
SCSS
$custom: #1b4086;
$custom-light: #6974aa;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4086",
  "rgb": {
    "r": 27,
    "g": 64,
    "b": 134
  },
  "hsl": {
    "h": 219.252,
    "s": 66.46,
    "l": 31.569
  },
  "oklch": {
    "l": 0.38771,
    "c": 0.12507,
    "h": 261.6
  },
  "luminance": 0.05621
}

Semantic roles & 50–950 ramp

primary
#1B4086
secondary
#B99144
accent
#AE3EE9
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #1B4086

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

Preview Lab → · Contrast checker → · Palette generator →

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