#1B2C86#1B2C86

#1B2C86 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.6% C 0.151 H 268.5°. Best body text is #FFFFFF at 11.99:1 contrast (WCAG AA passes).

Color values

HEX#1B2C86
RGBrgb(27, 44, 134)
HSLhsl(230, 66%, 32%)
HSVhsv(230, 80%, 53%)
CMYKcmyk(79.9%, 67.2%, 0%, 47.5%)
CIE-LABlab(22.84, 27.75, -52.10)
CIE-LCHlch(22.84, 59.03, 298.05°)
OKLaboklab(34.58% -0.004 -0.1508)
OKLCHoklch(34.58% 0.151 268.5)
XYZxyz(5.6543, 3.7550, 22.9764)
Luminance0.0376 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2C86 #86751B
analogous
#1B6286 #1B2C86 #401B86
triadic
#1B2C86 #861B2C #2C861B
tetradic
#1B2C86 #861B62 #86751B #1B8640
square
#1B2C86 #861B62 #86751B #1B8640
split-complementary
#1B2C86 #86401B #62861B
monochromatic
#060B20 #111B53 #1B2C86 #253DB9 #425AD9

Accessibility & contrast

On white

11.99
#1B2C86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#1B2C86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2C86
11.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2C86#FFFFFF#000000##FFFFFF
##1B2C861.0011.991.7511.99
#FFFFFF11.991.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C89
Deuteranopia (green-blind)
#003284
Tritanopia (blue-blind)
#004455
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1b2c86;
/* rgb */ color: rgb(27, 44, 134);
/* oklch */ color: oklch(34.6% 0.151 268.5);
Tailwind
colors: {
  custom: {
    50: '#6b65aa',
    500: '#1b2c86',
    950: '#000000',
  },
}
SCSS
$custom: #1b2c86;
$custom-light: #6b65aa;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2c86",
  "rgb": {
    "r": 27,
    "g": 44,
    "b": 134
  },
  "hsl": {
    "h": 230.467,
    "s": 66.46,
    "l": 31.569
  },
  "oklch": {
    "l": 0.34583,
    "c": 0.15082,
    "h": 268.5
  },
  "luminance": 0.03756
}

Semantic roles & 50–950 ramp

primary
#1B2C86
secondary
#B9A744
accent
#CE3EE9
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080510
muted
#7A7A7F

Preview Lab

Preview with #1B2C86

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

Preview Lab → · Contrast checker → · Palette generator →

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