#1B4688#1B4688

#1B4688 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.3% C 0.120 H 259.0°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#1B4688
RGBrgb(27, 70, 136)
HSLhsl(216, 67%, 32%)
HSVhsv(216, 80%, 53%)
CMYKcmyk(80.1%, 48.5%, 0%, 46.7%)
CIE-LABlab(30.38, 10.53, -41.10)
CIE-LCHlch(30.38, 42.43, 284.37°)
OKLaboklab(40.31% -0.023 -0.118)
OKLCHoklch(40.31% 0.12 259)
XYZxyz(7.0845, 6.3901, 24.1478)
Luminance0.0639 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4688 #885D1B
analogous
#1B7D88 #1B4688 #261B88
triadic
#1B4688 #881B46 #46881B
tetradic
#1B4688 #881B7D #885D1B #1B8826
square
#1B4688 #881B7D #885D1B #1B8826
split-complementary
#1B4688 #88261B #7D881B
monochromatic
#071122 #112C55 #1B4688 #2560BB #447FDA

Accessibility & contrast

On white

9.22
#1B4688 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#1B4688 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4688
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4688#FFFFFF#000000##FFFFFF
##1B46881.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224D8A
Deuteranopia (green-blind)
#024387
Tritanopia (blue-blind)
#005660
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #1b4688;
/* rgb */ color: rgb(27, 70, 136);
/* oklch */ color: oklch(40.3% 0.120 259.0);
Tailwind
colors: {
  custom: {
    50: '#6978ab',
    500: '#1b4688',
    950: '#000000',
  },
}
SCSS
$custom: #1b4688;
$custom-light: #6978ab;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4688",
  "rgb": {
    "r": 27,
    "g": 70,
    "b": 136
  },
  "hsl": {
    "h": 216.33,
    "s": 66.871,
    "l": 31.961
  },
  "oklch": {
    "l": 0.40306,
    "c": 0.12025,
    "h": 259
  },
  "luminance": 0.06391
}

Semantic roles & 50–950 ramp

primary
#1B4688
secondary
#BB8C44
accent
#A63EEA
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070910
muted
#7A7B7F

Preview Lab

Preview with #1B4688

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

Preview Lab → · Contrast checker → · Palette generator →

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