#1B4286#1B4286

#1B4286 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.2% C 0.122 H 260.6°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#1B4286
RGBrgb(27, 66, 134)
HSLhsl(218, 66%, 32%)
HSVhsv(218, 80%, 53%)
CMYKcmyk(79.9%, 50.7%, 0%, 47.5%)
CIE-LABlab(29.03, 12.47, -42.03)
CIE-LCHlch(29.03, 43.84, 286.52°)
OKLaboklab(39.23% -0.0199 -0.1208)
OKLCHoklch(39.23% 0.122 260.6)
XYZxyz(6.7017, 5.8499, 23.3256)
Luminance0.0585 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4286 #865F1B
analogous
#1B7886 #1B4286 #2A1B86
triadic
#1B4286 #861B42 #42861B
tetradic
#1B4286 #861B78 #865F1B #1B862A
square
#1B4286 #861B78 #865F1B #1B862A
split-complementary
#1B4286 #862A1B #78861B
monochromatic
#061020 #112953 #1B4286 #255BB9 #4279D9

Accessibility & contrast

On white

9.68
#1B4286 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#1B4286 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4286
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4286#FFFFFF#000000##FFFFFF
##1B42861.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4A88
Deuteranopia (green-blind)
#004085
Tritanopia (blue-blind)
#00525D
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #1b4286;
/* rgb */ color: rgb(27, 66, 134);
/* oklch */ color: oklch(39.2% 0.122 260.6);
Tailwind
colors: {
  custom: {
    50: '#6975aa',
    500: '#1b4286',
    950: '#000000',
  },
}
SCSS
$custom: #1b4286;
$custom-light: #6975aa;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4286",
  "rgb": {
    "r": 27,
    "g": 66,
    "b": 134
  },
  "hsl": {
    "h": 218.131,
    "s": 66.46,
    "l": 31.569
  },
  "oklch": {
    "l": 0.39228,
    "c": 0.12248,
    "h": 260.6
  },
  "luminance": 0.05851
}

Semantic roles & 50–950 ramp

primary
#1B4286
secondary
#B98E44
accent
#AB3EE9
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #1B4286

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

Preview Lab → · Contrast checker → · Palette generator →

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