#1B4687#1B4687

#1B4687 is a dark, moderate blue. Relative luminance 0.064; OKLCH L 40.2% C 0.119 H 258.8°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#1B4687
RGBrgb(27, 70, 135)
HSLhsl(216, 67%, 32%)
HSVhsv(216, 80%, 53%)
CMYKcmyk(80%, 48.1%, 0%, 47.1%)
CIE-LABlab(30.31, 10.12, -40.59)
CIE-LCHlch(30.31, 41.84, 284.00°)
OKLaboklab(40.23% -0.0231 -0.1165)
OKLCHoklch(40.23% 0.119 258.8)
XYZxyz(7.0137, 6.3618, 23.7753)
Luminance0.0636 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4687 #875C1B
analogous
#1B7C87 #1B4687 #261B87
triadic
#1B4687 #871B46 #46871B
tetradic
#1B4687 #871B7C #875C1B #1B8726
square
#1B4687 #871B7C #875C1B #1B8726
split-complementary
#1B4687 #87261B #7C871B
monochromatic
#071121 #112C54 #1B4687 #2560BA #437FD9

Accessibility & contrast

On white

9.24
#1B4687 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B4687
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4687#FFFFFF#000000##FFFFFF
##1B46871.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234D89
Deuteranopia (green-blind)
#054386
Tritanopia (blue-blind)
#005560
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #1b4687;
/* rgb */ color: rgb(27, 70, 135);
/* oklch */ color: oklch(40.2% 0.119 258.8);
Tailwind
colors: {
  custom: {
    50: '#6978aa',
    500: '#1b4687',
    950: '#000000',
  },
}
SCSS
$custom: #1b4687;
$custom-light: #6978aa;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4687",
  "rgb": {
    "r": 27,
    "g": 70,
    "b": 135
  },
  "hsl": {
    "h": 216.111,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.40231,
    "c": 0.11882,
    "h": 258.8
  },
  "luminance": 0.06363
}

Semantic roles & 50–950 ramp

primary
#1B4687
secondary
#BA8B44
accent
#A53EEA
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070910
muted
#7A7B7F

Preview Lab

Preview with #1B4687

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

Preview Lab → · Contrast checker → · Palette generator →

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