#1B2186#1B2186

#1B2186 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.7% C 0.163 H 270.6°. Best body text is #FFFFFF at 13.06:1 contrast (WCAG AA passes).

Color values

HEX#1B2186
RGBrgb(27, 33, 134)
HSLhsl(237, 66%, 32%)
HSVhsv(237, 80%, 53%)
CMYKcmyk(79.9%, 75.4%, 0%, 47.5%)
CIE-LABlab(20.21, 34.92, -56.44)
CIE-LCHlch(20.21, 66.36, 301.75°)
OKLaboklab(32.68% 0.0017 -0.1634)
OKLCHoklch(32.68% 0.163 270.6)
XYZxyz(5.2975, 3.0414, 22.8575)
Luminance0.0304 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2186 #86801B
analogous
#1B5786 #1B2186 #4B1B86
triadic
#1B2186 #861B21 #21861B
tetradic
#1B2186 #861B57 #86801B #1B864B
square
#1B2186 #861B57 #86801B #1B864B
split-complementary
#1B2186 #864B1B #57861B
monochromatic
#060820 #111453 #1B2186 #252EB9 #424BD9

Accessibility & contrast

On white

13.06
#1B2186 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#1B2186 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2186
13.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2186#FFFFFF#000000##FFFFFF
##1B21861.0013.061.6113.06
#FFFFFF13.061.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.061.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1b2186;
/* rgb */ color: rgb(27, 33, 134);
/* oklch */ color: oklch(32.7% 0.163 270.6);
Tailwind
colors: {
  custom: {
    50: '#6c5daa',
    500: '#1b2186',
    950: '#000000',
  },
}
SCSS
$custom: #1b2186;
$custom-light: #6c5daa;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2186",
  "rgb": {
    "r": 27,
    "g": 33,
    "b": 134
  },
  "hsl": {
    "h": 236.636,
    "s": 66.46,
    "l": 31.569
  },
  "oklch": {
    "l": 0.32676,
    "c": 0.16344,
    "h": 270.6
  },
  "luminance": 0.03042
}

Semantic roles & 50–950 ramp

primary
#1B2186
secondary
#B9B344
accent
#E03EE9
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1B2186

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

Preview Lab → · Contrast checker → · Palette generator →

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