#1B4889#1B4889

#1B4889 is a dark, moderate blue. Relative luminance 0.067; OKLCH L 40.8% C 0.119 H 258.1°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#1B4889
RGBrgb(27, 72, 137)
HSLhsl(215, 67%, 32%)
HSVhsv(215, 80%, 54%)
CMYKcmyk(80.3%, 47.4%, 0%, 46.3%)
CIE-LABlab(31.05, 9.57, -40.63)
CIE-LCHlch(31.05, 41.75, 283.25°)
OKLaboklab(40.85% -0.0245 -0.1166)
OKLCHoklch(40.85% 0.119 258.1)
XYZxyz(7.2831, 6.6730, 24.5662)
Luminance0.0667 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4889 #895C1B
analogous
#1B7F89 #1B4889 #251B89
triadic
#1B4889 #891B48 #48891B
tetradic
#1B4889 #891B7F #895C1B #1B8925
square
#1B4889 #891B7F #895C1B #1B8925
split-complementary
#1B4889 #89251B #7F891B
monochromatic
#071223 #112D56 #1B4889 #2563BC #4482DA

Accessibility & contrast

On white

8.99
#1B4889 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#1B4889 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4889
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4889#FFFFFF#000000##FFFFFF
##1B48891.008.992.338.99
#FFFFFF8.991.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254E8B
Deuteranopia (green-blind)
#094488
Tritanopia (blue-blind)
#005762
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #1b4889;
/* rgb */ color: rgb(27, 72, 137);
/* oklch */ color: oklch(40.8% 0.119 258.1);
Tailwind
colors: {
  custom: {
    50: '#697aac',
    500: '#1b4889',
    950: '#000000',
  },
}
SCSS
$custom: #1b4889;
$custom-light: #697aac;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4889",
  "rgb": {
    "r": 27,
    "g": 72,
    "b": 137
  },
  "hsl": {
    "h": 215.455,
    "s": 67.073,
    "l": 32.157
  },
  "oklch": {
    "l": 0.40847,
    "c": 0.11917,
    "h": 258.1
  },
  "luminance": 0.06674
}

Semantic roles & 50–950 ramp

primary
#1B4889
secondary
#BC8B44
accent
#A43EEA
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070910
muted
#7A7B7F

Preview Lab

Preview with #1B4889

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

Preview Lab → · Contrast checker → · Palette generator →

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