#1B4387#1B4387

#1B4387 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 39.5% C 0.123 H 260.3°. Best body text is #FFFFFF at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#1B4387
RGBrgb(27, 67, 135)
HSLhsl(218, 67%, 32%)
HSVhsv(218, 80%, 53%)
CMYKcmyk(80%, 50.4%, 0%, 47.1%)
CIE-LABlab(29.40, 12.18, -42.05)
CIE-LCHlch(29.40, 43.78, 286.16°)
OKLaboklab(39.53% -0.0206 -0.1209)
OKLCHoklch(39.53% 0.123 260.3)
XYZxyz(6.8307, 5.9958, 23.7143)
Luminance0.0600 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4387 #875F1B
analogous
#1B7987 #1B4387 #291B87
triadic
#1B4387 #871B43 #43871B
tetradic
#1B4387 #871B79 #875F1B #1B8729
square
#1B4387 #871B79 #875F1B #1B8729
split-complementary
#1B4387 #87291B #79871B
monochromatic
#071021 #112A54 #1B4387 #255CBA #437BD9

Accessibility & contrast

On white

9.55
#1B4387 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#1B4387 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4387
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4387#FFFFFF#000000##FFFFFF
##1B43871.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4B89
Deuteranopia (green-blind)
#004186
Tritanopia (blue-blind)
#00535E
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #1b4387;
/* rgb */ color: rgb(27, 67, 135);
/* oklch */ color: oklch(39.5% 0.123 260.3);
Tailwind
colors: {
  custom: {
    50: '#6976aa',
    500: '#1b4387',
    950: '#000000',
  },
}
SCSS
$custom: #1b4387;
$custom-light: #6976aa;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4387",
  "rgb": {
    "r": 27,
    "g": 67,
    "b": 135
  },
  "hsl": {
    "h": 217.778,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.39535,
    "c": 0.12264,
    "h": 260.3
  },
  "luminance": 0.05997
}

Semantic roles & 50–950 ramp

primary
#1B4387
secondary
#BA8E44
accent
#AA3EEA
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #1B4387

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

Preview Lab → · Contrast checker → · Palette generator →

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