#1B3986#1B3986

#1B3986 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.2% C 0.134 H 264.6°. Best body text is #FFFFFF at 10.63:1 contrast (WCAG AA passes).

Color values

HEX#1B3986
RGBrgb(27, 57, 134)
HSLhsl(223, 66%, 32%)
HSVhsv(223, 80%, 53%)
CMYKcmyk(79.9%, 57.5%, 0%, 47.5%)
CIE-LABlab(26.39, 18.74, -46.31)
CIE-LCHlch(26.39, 49.96, 292.03°)
OKLaboklab(37.22% -0.0127 -0.1336)
OKLCHoklch(37.22% 0.134 264.6)
XYZxyz(6.2167, 4.8798, 23.1639)
Luminance0.0488 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3986 #86681B
analogous
#1B6F86 #1B3986 #331B86
triadic
#1B3986 #861B39 #39861B
tetradic
#1B3986 #861B6F #86681B #1B8633
square
#1B3986 #861B6F #86681B #1B8633
split-complementary
#1B3986 #86331B #6F861B
monochromatic
#060E20 #112353 #1B3986 #254FB9 #426DD9

Accessibility & contrast

On white

10.63
#1B3986 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#1B3986 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3986
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3986#FFFFFF#000000##FFFFFF
##1B39861.0010.631.9810.63
#FFFFFF10.631.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004489
Deuteranopia (green-blind)
#003A84
Tritanopia (blue-blind)
#004C59
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #1b3986;
/* rgb */ color: rgb(27, 57, 134);
/* oklch */ color: oklch(37.2% 0.134 264.6);
Tailwind
colors: {
  custom: {
    50: '#696eaa',
    500: '#1b3986',
    950: '#000000',
  },
}
SCSS
$custom: #1b3986;
$custom-light: #696eaa;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3986",
  "rgb": {
    "r": 27,
    "g": 57,
    "b": 134
  },
  "hsl": {
    "h": 223.178,
    "s": 66.46,
    "l": 31.569
  },
  "oklch": {
    "l": 0.3722,
    "c": 0.13421,
    "h": 264.6
  },
  "luminance": 0.0488
}

Semantic roles & 50–950 ramp

primary
#1B3986
secondary
#B99844
accent
#B93EE9
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#070710
muted
#7A7A7F

Preview Lab

Preview with #1B3986

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

Preview Lab → · Contrast checker → · Palette generator →

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