#1B4389#1B4389

#1B4389 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 39.7% C 0.126 H 260.7°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#1B4389
RGBrgb(27, 67, 137)
HSLhsl(218, 67%, 32%)
HSVhsv(218, 80%, 54%)
CMYKcmyk(80.3%, 51.1%, 0%, 46.3%)
CIE-LABlab(29.55, 13.00, -43.06)
CIE-LCHlch(29.55, 44.98, 286.80°)
OKLaboklab(39.69% -0.0203 -0.1239)
OKLCHoklch(39.69% 0.126 260.7)
XYZxyz(6.9729, 6.0527, 24.4628)
Luminance0.0605 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4389 #89611B
analogous
#1B7A89 #1B4389 #2A1B89
triadic
#1B4389 #891B43 #43891B
tetradic
#1B4389 #891B7A #89611B #1B892A
square
#1B4389 #891B7A #89611B #1B892A
split-complementary
#1B4389 #892A1B #7A891B
monochromatic
#071123 #112A56 #1B4389 #255CBC #447BDA

Accessibility & contrast

On white

9.50
#1B4389 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B4389
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4389#FFFFFF#000000##FFFFFF
##1B43891.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194B8C
Deuteranopia (green-blind)
#004188
Tritanopia (blue-blind)
#00545F
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #1b4389;
/* rgb */ color: rgb(27, 67, 137);
/* oklch */ color: oklch(39.7% 0.126 260.7);
Tailwind
colors: {
  custom: {
    50: '#6a76ac',
    500: '#1b4389',
    950: '#000000',
  },
}
SCSS
$custom: #1b4389;
$custom-light: #6a76ac;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4389",
  "rgb": {
    "r": 27,
    "g": 67,
    "b": 137
  },
  "hsl": {
    "h": 218.182,
    "s": 67.073,
    "l": 32.157
  },
  "oklch": {
    "l": 0.3969,
    "c": 0.12551,
    "h": 260.7
  },
  "luminance": 0.06053
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1B4389

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

Preview Lab → · Contrast checker → · Palette generator →

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