#1B4289#1B4289

#1B4289 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.5% C 0.127 H 261.2°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#1B4289
RGBrgb(27, 66, 137)
HSLhsl(219, 67%, 32%)
HSVhsv(219, 80%, 54%)
CMYKcmyk(80.3%, 51.8%, 0%, 46.3%)
CIE-LABlab(29.25, 13.69, -43.54)
CIE-LCHlch(29.25, 45.64, 287.45°)
OKLaboklab(39.46% -0.0195 -0.1253)
OKLCHoklch(39.46% 0.127 261.2)
XYZxyz(6.9139, 5.9348, 24.4432)
Luminance0.0594 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4289 #89621B
analogous
#1B7989 #1B4289 #2B1B89
triadic
#1B4289 #891B42 #42891B
tetradic
#1B4289 #891B79 #89621B #1B892B
square
#1B4289 #891B79 #89621B #1B892B
split-complementary
#1B4289 #892B1B #79891B
monochromatic
#071123 #112956 #1B4289 #255BBC #4479DA

Accessibility & contrast

On white

9.60
#1B4289 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#1B4289 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4289
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4289#FFFFFF#000000##FFFFFF
##1B42891.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164A8C
Deuteranopia (green-blind)
#004088
Tritanopia (blue-blind)
#00535F
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #1b4289;
/* rgb */ color: rgb(27, 66, 137);
/* oklch */ color: oklch(39.5% 0.127 261.2);
Tailwind
colors: {
  custom: {
    50: '#6a75ac',
    500: '#1b4289',
    950: '#000000',
  },
}
SCSS
$custom: #1b4289;
$custom-light: #6a75ac;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4289",
  "rgb": {
    "r": 27,
    "g": 66,
    "b": 137
  },
  "hsl": {
    "h": 218.727,
    "s": 67.073,
    "l": 32.157
  },
  "oklch": {
    "l": 0.39463,
    "c": 0.12679,
    "h": 261.2
  },
  "luminance": 0.05936
}

Semantic roles & 50–950 ramp

primary
#1B4289
secondary
#BC9144
accent
#AD3EEA
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #1B4289

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

Preview Lab → · Contrast checker → · Palette generator →

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