#1B4388#1B4388

#1B4388 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 39.6% C 0.124 H 260.5°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#1B4388
RGBrgb(27, 67, 136)
HSLhsl(218, 67%, 32%)
HSVhsv(218, 80%, 53%)
CMYKcmyk(80.1%, 50.7%, 0%, 46.7%)
CIE-LABlab(29.47, 12.59, -42.56)
CIE-LCHlch(29.47, 44.38, 286.48°)
OKLaboklab(39.61% -0.0204 -0.1224)
OKLCHoklch(39.61% 0.124 260.5)
XYZxyz(6.9015, 6.0241, 24.0868)
Luminance0.0602 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4388 #88601B
analogous
#1B7A88 #1B4388 #2A1B88
triadic
#1B4388 #881B43 #43881B
tetradic
#1B4388 #881B7A #88601B #1B882A
square
#1B4388 #881B7A #88601B #1B882A
split-complementary
#1B4388 #882A1B #7A881B
monochromatic
#071122 #112A55 #1B4388 #255CBB #447BDA

Accessibility & contrast

On white

9.52
#1B4388 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#1B4388 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4388
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4388#FFFFFF#000000##FFFFFF
##1B43881.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4B8B
Deuteranopia (green-blind)
#004187
Tritanopia (blue-blind)
#00545F
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #1b4388;
/* rgb */ color: rgb(27, 67, 136);
/* oklch */ color: oklch(39.6% 0.124 260.5);
Tailwind
colors: {
  custom: {
    50: '#6976ab',
    500: '#1b4388',
    950: '#000000',
  },
}
SCSS
$custom: #1b4388;
$custom-light: #6976ab;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4388",
  "rgb": {
    "r": 27,
    "g": 67,
    "b": 136
  },
  "hsl": {
    "h": 217.982,
    "s": 66.871,
    "l": 31.961
  },
  "oklch": {
    "l": 0.39612,
    "c": 0.12407,
    "h": 260.5
  },
  "luminance": 0.06025
}

Semantic roles & 50–950 ramp

primary
#1B4388
secondary
#BB8F44
accent
#AB3EEA
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #1B4388

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

Preview Lab → · Contrast checker → · Palette generator →

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