#1B2687#1B2687

#1B2687 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.6% C 0.159 H 269.7°. Best body text is #FFFFFF at 12.55:1 contrast (WCAG AA passes).

Color values

HEX#1B2687
RGBrgb(27, 38, 135)
HSLhsl(234, 67%, 32%)
HSVhsv(234, 80%, 53%)
CMYKcmyk(80%, 71.9%, 0%, 47.1%)
CIE-LABlab(21.46, 32.12, -55.00)
CIE-LCHlch(21.46, 63.69, 300.29°)
OKLaboklab(33.61% -0.0008 -0.1593)
OKLCHoklch(33.61% 0.159 269.7)
XYZxyz(5.5168, 3.3679, 23.2763)
Luminance0.0337 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2687 #877C1B
analogous
#1B5C87 #1B2687 #461B87
triadic
#1B2687 #871B26 #26871B
tetradic
#1B2687 #871B5C #877C1B #1B8746
square
#1B2687 #871B5C #877C1B #1B8746
split-complementary
#1B2687 #87461B #5C871B
monochromatic
#070921 #111854 #1B2687 #2534BA #4352D9

Accessibility & contrast

On white

12.55
#1B2687 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#1B2687 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2687
12.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2687#FFFFFF#000000##FFFFFF
##1B26871.0012.551.6712.55
#FFFFFF12.551.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00398A
Deuteranopia (green-blind)
#002E85
Tritanopia (blue-blind)
#004153
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #1b2687;
/* rgb */ color: rgb(27, 38, 135);
/* oklch */ color: oklch(33.6% 0.159 269.7);
Tailwind
colors: {
  custom: {
    50: '#6b61ab',
    500: '#1b2687',
    950: '#000000',
  },
}
SCSS
$custom: #1b2687;
$custom-light: #6b61ab;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2687",
  "rgb": {
    "r": 27,
    "g": 38,
    "b": 135
  },
  "hsl": {
    "h": 233.889,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.33607,
    "c": 0.15926,
    "h": 269.7
  },
  "luminance": 0.03369
}

Semantic roles & 50–950 ramp

primary
#1B2687
secondary
#BAAE44
accent
#D83EEA
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #1B2687

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

Preview Lab → · Contrast checker → · Palette generator →

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