#1B3687#1B3687

#1B3687 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.7% C 0.140 H 265.7°. Best body text is #FFFFFF at 10.91:1 contrast (WCAG AA passes).

Color values

HEX#1B3687
RGBrgb(27, 54, 135)
HSLhsl(225, 67%, 32%)
HSVhsv(225, 80%, 53%)
CMYKcmyk(80%, 60%, 0%, 47.1%)
CIE-LABlab(25.62, 21.24, -48.18)
CIE-LCHlch(25.62, 52.65, 293.79°)
OKLaboklab(36.67% -0.0105 -0.1392)
OKLCHoklch(36.67% 0.14 265.7)
XYZxyz(6.1428, 4.6199, 23.4850)
Luminance0.0462 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3687 #876C1B
analogous
#1B6C87 #1B3687 #361B87
triadic
#1B3687 #871B36 #36871B
tetradic
#1B3687 #871B6C #876C1B #1B8736
square
#1B3687 #871B6C #876C1B #1B8736
split-complementary
#1B3687 #87361B #6C871B
monochromatic
#070D21 #112254 #1B3687 #254ABA #4369D9

Accessibility & contrast

On white

10.91
#1B3687 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#1B3687 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3687
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3687#FFFFFF#000000##FFFFFF
##1B36871.0010.911.9210.91
#FFFFFF10.911.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428A
Deuteranopia (green-blind)
#003885
Tritanopia (blue-blind)
#004A59
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #1b3687;
/* rgb */ color: rgb(27, 54, 135);
/* oklch */ color: oklch(36.7% 0.140 265.7);
Tailwind
colors: {
  custom: {
    50: '#6a6cab',
    500: '#1b3687',
    950: '#000000',
  },
}
SCSS
$custom: #1b3687;
$custom-light: #6a6cab;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3687",
  "rgb": {
    "r": 27,
    "g": 54,
    "b": 135
  },
  "hsl": {
    "h": 225,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.3667,
    "c": 0.13955,
    "h": 265.7
  },
  "luminance": 0.04621
}

Semantic roles & 50–950 ramp

primary
#1B3687
secondary
#BA9D44
accent
#BF3EEA
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#070710
muted
#7A7A7F

Preview Lab

Preview with #1B3687

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

Preview Lab → · Contrast checker → · Palette generator →

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