#1B2087#1B2087

#1B2087 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.6% C 0.166 H 270.7°. Best body text is #FFFFFF at 13.10:1 contrast (WCAG AA passes).

Color values

HEX#1B2087
RGBrgb(27, 32, 135)
HSLhsl(237, 67%, 32%)
HSVhsv(237, 80%, 53%)
CMYKcmyk(80%, 76.3%, 0%, 47.1%)
CIE-LABlab(20.10, 35.89, -57.24)
CIE-LCHlch(20.10, 67.56, 302.09°)
OKLaboklab(32.63% 0.002 -0.1658)
OKLCHoklch(32.63% 0.166 270.7)
XYZxyz(5.3402, 3.0147, 23.2174)
Luminance0.0301 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2087 #87821B
analogous
#1B5687 #1B2087 #4C1B87
triadic
#1B2087 #871B20 #20871B
tetradic
#1B2087 #871B56 #87821B #1B874C
square
#1B2087 #871B56 #87821B #1B874C
split-complementary
#1B2087 #874C1B #56871B
monochromatic
#070821 #111454 #1B2087 #252CBA #434AD9

Accessibility & contrast

On white

13.10
#1B2087 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#1B2087 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2087
13.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2087#FFFFFF#000000##FFFFFF
##1B20871.0013.101.6013.10
#FFFFFF13.101.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00368A
Deuteranopia (green-blind)
#002B85
Tritanopia (blue-blind)
#003E52
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1b2087;
/* rgb */ color: rgb(27, 32, 135);
/* oklch */ color: oklch(32.6% 0.166 270.7);
Tailwind
colors: {
  custom: {
    50: '#6c5dab',
    500: '#1b2087',
    950: '#000000',
  },
}
SCSS
$custom: #1b2087;
$custom-light: #6c5dab;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2087",
  "rgb": {
    "r": 27,
    "g": 32,
    "b": 135
  },
  "hsl": {
    "h": 237.222,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.32633,
    "c": 0.16577,
    "h": 270.7
  },
  "luminance": 0.03015
}

Semantic roles & 50–950 ramp

primary
#1B2087
secondary
#BAB544
accent
#E23EEA
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1B2087

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

Preview Lab → · Contrast checker → · Palette generator →

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