#1B2086#1B2086

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

Color values

HEX#1B2086
RGBrgb(27, 32, 134)
HSLhsl(237, 66%, 32%)
HSVhsv(237, 80%, 53%)
CMYKcmyk(79.9%, 76.1%, 0%, 47.5%)
CIE-LABlab(19.99, 35.53, -56.80)
CIE-LCHlch(19.99, 66.99, 302.03°)
OKLaboklab(32.52% 0.0021 -0.1645)
OKLCHoklch(32.52% 0.164 270.7)
XYZxyz(5.2701, 2.9867, 22.8484)
Luminance0.0299 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2086 #86811B
analogous
#1B5686 #1B2086 #4C1B86
triadic
#1B2086 #861B20 #20861B
tetradic
#1B2086 #861B56 #86811B #1B864C
square
#1B2086 #861B56 #86811B #1B864C
split-complementary
#1B2086 #864C1B #56861B
monochromatic
#060820 #111453 #1B2086 #252CB9 #4249D9

Accessibility & contrast

On white

13.15
#1B2086 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B2086
13.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2086#FFFFFF#000000##FFFFFF
##1B20861.0013.151.6013.15
#FFFFFF13.151.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003689
Deuteranopia (green-blind)
#002B84
Tritanopia (blue-blind)
#003E51
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1b2086;
/* rgb */ color: rgb(27, 32, 134);
/* oklch */ color: oklch(32.5% 0.164 270.7);
Tailwind
colors: {
  custom: {
    50: '#6c5daa',
    500: '#1b2086',
    950: '#000000',
  },
}
SCSS
$custom: #1b2086;
$custom-light: #6c5daa;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2086",
  "rgb": {
    "r": 27,
    "g": 32,
    "b": 134
  },
  "hsl": {
    "h": 237.196,
    "s": 66.46,
    "l": 31.569
  },
  "oklch": {
    "l": 0.3252,
    "c": 0.16448,
    "h": 270.7
  },
  "luminance": 0.02987
}

Semantic roles & 50–950 ramp

primary
#1B2086
secondary
#B9B444
accent
#E13EE9
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1B2086

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

Preview Lab → · Contrast checker → · Palette generator →

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