#1B3587#1B3587

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

Color values

HEX#1B3587
RGBrgb(27, 53, 135)
HSLhsl(226, 67%, 32%)
HSVhsv(226, 80%, 53%)
CMYKcmyk(80%, 60.7%, 0%, 47.1%)
CIE-LABlab(25.34, 21.94, -48.63)
CIE-LCHlch(25.34, 53.35, 294.28°)
OKLaboklab(36.46% -0.0098 -0.1405)
OKLCHoklch(36.46% 0.141 266)
XYZxyz(6.0967, 4.5278, 23.4696)
Luminance0.0453 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3587 #876D1B
analogous
#1B6B87 #1B3587 #371B87
triadic
#1B3587 #871B35 #35871B
tetradic
#1B3587 #871B6B #876D1B #1B8737
square
#1B3587 #871B6B #876D1B #1B8737
split-complementary
#1B3587 #87371B #6B871B
monochromatic
#070D21 #112154 #1B3587 #2549BA #4367D9

Accessibility & contrast

On white

11.02
#1B3587 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#1B3587 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3587
11.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3587#FFFFFF#000000##FFFFFF
##1B35871.0011.021.9111.02
#FFFFFF11.021.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418A
Deuteranopia (green-blind)
#003785
Tritanopia (blue-blind)
#004A58
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #1b3587;
/* rgb */ color: rgb(27, 53, 135);
/* oklch */ color: oklch(36.5% 0.141 266.0);
Tailwind
colors: {
  custom: {
    50: '#6a6bab',
    500: '#1b3587',
    950: '#000000',
  },
}
SCSS
$custom: #1b3587;
$custom-light: #6a6bab;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3587",
  "rgb": {
    "r": 27,
    "g": 53,
    "b": 135
  },
  "hsl": {
    "h": 225.556,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.36462,
    "c": 0.14085,
    "h": 266
  },
  "luminance": 0.04528
}

Semantic roles & 50–950 ramp

primary
#1B3587
secondary
#BA9E44
accent
#C03EEA
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080610
muted
#7A7A7F

Preview Lab

Preview with #1B3587

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

Preview Lab → · Contrast checker → · Palette generator →

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