#1B3586#1B3586

#1B3586 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.4% C 0.139 H 266.0°. Best body text is #FFFFFF at 11.05:1 contrast (WCAG AA passes).

Color values

HEX#1B3586
RGBrgb(27, 53, 134)
HSLhsl(225, 66%, 32%)
HSVhsv(225, 80%, 53%)
CMYKcmyk(79.9%, 60.4%, 0%, 47.5%)
CIE-LABlab(25.26, 21.54, -48.15)
CIE-LCHlch(25.26, 52.75, 294.10°)
OKLaboklab(36.37% -0.0098 -0.1391)
OKLCHoklch(36.37% 0.139 266)
XYZxyz(6.0267, 4.4998, 23.1005)
Luminance0.0450 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3586 #866C1B
analogous
#1B6B86 #1B3586 #371B86
triadic
#1B3586 #861B35 #35861B
tetradic
#1B3586 #861B6B #866C1B #1B8637
square
#1B3586 #861B6B #866C1B #1B8637
split-complementary
#1B3586 #86371B #6B861B
monochromatic
#060D20 #112153 #1B3586 #2549B9 #4267D9

Accessibility & contrast

On white

11.05
#1B3586 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#1B3586 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3586
11.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3586#FFFFFF#000000##FFFFFF
##1B35861.0011.051.9011.05
#FFFFFF11.051.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004189
Deuteranopia (green-blind)
#003784
Tritanopia (blue-blind)
#004958
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #1b3586;
/* rgb */ color: rgb(27, 53, 134);
/* oklch */ color: oklch(36.4% 0.139 266.0);
Tailwind
colors: {
  custom: {
    50: '#6a6baa',
    500: '#1b3586',
    950: '#000000',
  },
}
SCSS
$custom: #1b3586;
$custom-light: #6a6baa;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3586",
  "rgb": {
    "r": 27,
    "g": 53,
    "b": 134
  },
  "hsl": {
    "h": 225.421,
    "s": 66.46,
    "l": 31.569
  },
  "oklch": {
    "l": 0.36372,
    "c": 0.13942,
    "h": 266
  },
  "luminance": 0.045
}

Semantic roles & 50–950 ramp

primary
#1B3586
secondary
#B99D44
accent
#C03EE9
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#070610
muted
#7A7A7F

Preview Lab

Preview with #1B3586

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

Preview Lab → · Contrast checker → · Palette generator →

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