#1B4189#1B4189

#1B4189 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.2% C 0.128 H 261.6°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#1B4189
RGBrgb(27, 65, 137)
HSLhsl(219, 67%, 32%)
HSVhsv(219, 80%, 54%)
CMYKcmyk(80.3%, 52.6%, 0%, 46.3%)
CIE-LABlab(28.95, 14.38, -44.02)
CIE-LCHlch(28.95, 46.31, 288.09°)
OKLaboklab(39.24% -0.0186 -0.1267)
OKLCHoklch(39.24% 0.128 261.6)
XYZxyz(6.8560, 5.8189, 24.4239)
Luminance0.0582 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4189 #89631B
analogous
#1B7889 #1B4189 #2C1B89
triadic
#1B4189 #891B41 #41891B
tetradic
#1B4189 #891B78 #89631B #1B892C
square
#1B4189 #891B78 #89631B #1B892C
split-complementary
#1B4189 #892C1B #78891B
monochromatic
#071023 #112956 #1B4189 #2559BC #4478DA

Accessibility & contrast

On white

9.70
#1B4189 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#1B4189 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4189
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4189#FFFFFF#000000##FFFFFF
##1B41891.009.702.169.70
#FFFFFF9.701.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#124A8C
Deuteranopia (green-blind)
#003F88
Tritanopia (blue-blind)
#00525E
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #1b4189;
/* rgb */ color: rgb(27, 65, 137);
/* oklch */ color: oklch(39.2% 0.128 261.6);
Tailwind
colors: {
  custom: {
    50: '#6a75ac',
    500: '#1b4189',
    950: '#000000',
  },
}
SCSS
$custom: #1b4189;
$custom-light: #6a75ac;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4189",
  "rgb": {
    "r": 27,
    "g": 65,
    "b": 137
  },
  "hsl": {
    "h": 219.273,
    "s": 67.073,
    "l": 32.157
  },
  "oklch": {
    "l": 0.39236,
    "c": 0.12809,
    "h": 261.6
  },
  "luminance": 0.0582
}

Semantic roles & 50–950 ramp

primary
#1B4189
secondary
#BC9244
accent
#AF3EEA
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #1B4189

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

Preview Lab → · Contrast checker → · Palette generator →

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