#1B4386#1B4386

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

Color values

HEX#1B4386
RGBrgb(27, 67, 134)
HSLhsl(218, 66%, 32%)
HSVhsv(218, 80%, 53%)
CMYKcmyk(79.9%, 50%, 0%, 47.5%)
CIE-LABlab(29.33, 11.77, -41.55)
CIE-LCHlch(29.33, 43.18, 285.82°)
OKLaboklab(39.46% -0.0207 -0.1194)
OKLCHoklch(39.46% 0.121 260.1)
XYZxyz(6.7607, 5.9678, 23.3452)
Luminance0.0597 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4386 #865E1B
analogous
#1B7986 #1B4386 #291B86
triadic
#1B4386 #861B43 #43861B
tetradic
#1B4386 #861B79 #865E1B #1B8629
square
#1B4386 #861B79 #865E1B #1B8629
split-complementary
#1B4386 #86291B #79861B
monochromatic
#061020 #112A53 #1B4386 #255CB9 #427BD9

Accessibility & contrast

On white

9.57
#1B4386 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B4386
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4386#FFFFFF#000000##FFFFFF
##1B43861.009.572.199.57
#FFFFFF9.571.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1b4386;
/* rgb */ color: rgb(27, 67, 134);
/* oklch */ color: oklch(39.5% 0.121 260.1);
Tailwind
colors: {
  custom: {
    50: '#6976aa',
    500: '#1b4386',
    950: '#000000',
  },
}
SCSS
$custom: #1b4386;
$custom-light: #6976aa;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4386",
  "rgb": {
    "r": 27,
    "g": 67,
    "b": 134
  },
  "hsl": {
    "h": 217.57,
    "s": 66.46,
    "l": 31.569
  },
  "oklch": {
    "l": 0.39458,
    "c": 0.1212,
    "h": 260.1
  },
  "luminance": 0.05969
}

Semantic roles & 50–950 ramp

primary
#1B4386
secondary
#B98D44
accent
#A93EE9
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #1B4386

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

Preview Lab → · Contrast checker → · Palette generator →

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