#1B3886#1B3886

#1B3886 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.0% C 0.136 H 264.9°. Best body text is #FFFFFF at 10.73:1 contrast (WCAG AA passes).

Color values

HEX#1B3886
RGBrgb(27, 56, 134)
HSLhsl(224, 66%, 32%)
HSVhsv(224, 80%, 53%)
CMYKcmyk(79.9%, 58.2%, 0%, 47.5%)
CIE-LABlab(26.10, 19.44, -46.77)
CIE-LCHlch(26.10, 50.65, 292.57°)
OKLaboklab(37% -0.012 -0.135)
OKLCHoklch(37% 0.136 264.9)
XYZxyz(6.1677, 4.7819, 23.1476)
Luminance0.0478 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3886 #86691B
analogous
#1B6E86 #1B3886 #331B86
triadic
#1B3886 #861B38 #38861B
tetradic
#1B3886 #861B6E #86691B #1B8633
square
#1B3886 #861B6E #86691B #1B8633
split-complementary
#1B3886 #86331B #6E861B
monochromatic
#060D20 #112353 #1B3886 #254DB9 #426BD9

Accessibility & contrast

On white

10.73
#1B3886 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#1B3886 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3886
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3886#FFFFFF#000000##FFFFFF
##1B38861.0010.731.9610.73
#FFFFFF10.731.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004389
Deuteranopia (green-blind)
#003984
Tritanopia (blue-blind)
#004B59
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #1b3886;
/* rgb */ color: rgb(27, 56, 134);
/* oklch */ color: oklch(37.0% 0.136 264.9);
Tailwind
colors: {
  custom: {
    50: '#6a6eaa',
    500: '#1b3886',
    950: '#000000',
  },
}
SCSS
$custom: #1b3886;
$custom-light: #6a6eaa;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3886",
  "rgb": {
    "r": 27,
    "g": 56,
    "b": 134
  },
  "hsl": {
    "h": 223.738,
    "s": 66.46,
    "l": 31.569
  },
  "oklch": {
    "l": 0.37005,
    "c": 0.13552,
    "h": 264.9
  },
  "luminance": 0.04783
}

Semantic roles & 50–950 ramp

primary
#1B3886
secondary
#B99944
accent
#BB3EE9
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#070710
muted
#7A7A7F

Preview Lab

Preview with #1B3886

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

Preview Lab → · Contrast checker → · Palette generator →

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