#1B4486#1B4486

#1B4486 is a dark, moderate blue. Relative luminance 0.061; OKLCH L 39.7% C 0.120 H 259.6°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#1B4486
RGBrgb(27, 68, 134)
HSLhsl(217, 66%, 32%)
HSVhsv(217, 80%, 53%)
CMYKcmyk(79.9%, 49.3%, 0%, 47.5%)
CIE-LABlab(29.63, 11.08, -41.06)
CIE-LCHlch(29.63, 42.53, 285.11°)
OKLaboklab(39.69% -0.0216 -0.118)
OKLCHoklch(39.69% 0.12 259.6)
XYZxyz(6.8206, 6.0877, 23.3652)
Luminance0.0609 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4486 #865D1B
analogous
#1B7A86 #1B4486 #271B86
triadic
#1B4486 #861B44 #44861B
tetradic
#1B4486 #861B7A #865D1B #1B8627
square
#1B4486 #861B7A #865D1B #1B8627
split-complementary
#1B4486 #86271B #7A861B
monochromatic
#061020 #112A53 #1B4486 #255EB9 #427CD9

Accessibility & contrast

On white

9.47
#1B4486 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#1B4486 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4486
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4486#FFFFFF#000000##FFFFFF
##1B44861.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4B88
Deuteranopia (green-blind)
#004185
Tritanopia (blue-blind)
#00545E
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #1b4486;
/* rgb */ color: rgb(27, 68, 134);
/* oklch */ color: oklch(39.7% 0.120 259.6);
Tailwind
colors: {
  custom: {
    50: '#6977aa',
    500: '#1b4486',
    950: '#000000',
  },
}
SCSS
$custom: #1b4486;
$custom-light: #6977aa;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4486",
  "rgb": {
    "r": 27,
    "g": 68,
    "b": 134
  },
  "hsl": {
    "h": 217.009,
    "s": 66.46,
    "l": 31.569
  },
  "oklch": {
    "l": 0.3969,
    "c": 0.11992,
    "h": 259.6
  },
  "luminance": 0.06088
}

Semantic roles & 50–950 ramp

primary
#1B4486
secondary
#B98C44
accent
#A83EE9
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #1B4486

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

Preview Lab → · Contrast checker → · Palette generator →

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