#1B4089#1B4089

#1B4089 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.0% C 0.129 H 262.1°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#1B4089
RGBrgb(27, 64, 137)
HSLhsl(220, 67%, 32%)
HSVhsv(220, 80%, 54%)
CMYKcmyk(80.3%, 53.3%, 0%, 46.3%)
CIE-LABlab(28.66, 15.08, -44.50)
CIE-LCHlch(28.66, 46.98, 288.72°)
OKLaboklab(39.01% -0.0178 -0.1281)
OKLCHoklch(39.01% 0.129 262.1)
XYZxyz(6.7991, 5.7052, 24.4049)
Luminance0.0571 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4089 #89641B
analogous
#1B7789 #1B4089 #2D1B89
triadic
#1B4089 #891B40 #40891B
tetradic
#1B4089 #891B77 #89641B #1B892D
square
#1B4089 #891B77 #89641B #1B892D
split-complementary
#1B4089 #892D1B #77891B
monochromatic
#071023 #112856 #1B4089 #2558BC #4477DA

Accessibility & contrast

On white

9.81
#1B4089 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#1B4089 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4089
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4089#FFFFFF#000000##FFFFFF
##1B40891.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1b4089;
/* rgb */ color: rgb(27, 64, 137);
/* oklch */ color: oklch(39.0% 0.129 262.1);
Tailwind
colors: {
  custom: {
    50: '#6a74ac',
    500: '#1b4089',
    950: '#000000',
  },
}
SCSS
$custom: #1b4089;
$custom-light: #6a74ac;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4089",
  "rgb": {
    "r": 27,
    "g": 64,
    "b": 137
  },
  "hsl": {
    "h": 219.818,
    "s": 67.073,
    "l": 32.157
  },
  "oklch": {
    "l": 0.39012,
    "c": 0.12939,
    "h": 262.1
  },
  "luminance": 0.05706
}

Semantic roles & 50–950 ramp

primary
#1B4089
secondary
#BC9344
accent
#B03EEA
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #1B4089

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

Preview Lab → · Contrast checker → · Palette generator →

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