#1B4589#1B4589

#1B4589 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.1% C 0.123 H 259.7°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#1B4589
RGBrgb(27, 69, 137)
HSLhsl(217, 67%, 32%)
HSVhsv(217, 80%, 54%)
CMYKcmyk(80.3%, 49.6%, 0%, 46.3%)
CIE-LABlab(30.14, 11.62, -42.09)
CIE-LCHlch(30.14, 43.67, 285.43°)
OKLaboklab(40.15% -0.0219 -0.121)
OKLCHoklch(40.15% 0.123 259.7)
XYZxyz(7.0938, 6.2946, 24.5032)
Luminance0.0630 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4589 #895F1B
analogous
#1B7C89 #1B4589 #281B89
triadic
#1B4589 #891B45 #45891B
tetradic
#1B4589 #891B7C #895F1B #1B8928
square
#1B4589 #891B7C #895F1B #1B8928
split-complementary
#1B4589 #89281B #7C891B
monochromatic
#071223 #112B56 #1B4589 #255FBC #447DDA

Accessibility & contrast

On white

9.30
#1B4589 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#1B4589 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4589
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4589#FFFFFF#000000##FFFFFF
##1B45891.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4C8C
Deuteranopia (green-blind)
#004288
Tritanopia (blue-blind)
#005560
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #1b4589;
/* rgb */ color: rgb(27, 69, 137);
/* oklch */ color: oklch(40.1% 0.123 259.7);
Tailwind
colors: {
  custom: {
    50: '#6a78ac',
    500: '#1b4589',
    950: '#000000',
  },
}
SCSS
$custom: #1b4589;
$custom-light: #6a78ac;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4589",
  "rgb": {
    "r": 27,
    "g": 69,
    "b": 137
  },
  "hsl": {
    "h": 217.091,
    "s": 67.073,
    "l": 32.157
  },
  "oklch": {
    "l": 0.40149,
    "c": 0.12295,
    "h": 259.7
  },
  "luminance": 0.06295
}

Semantic roles & 50–950 ramp

primary
#1B4589
secondary
#BC8E44
accent
#A83EEA
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #1B4589

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

Preview Lab → · Contrast checker → · Palette generator →

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