#1B2B86#1B2B86

#1B2B86 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.4% C 0.152 H 268.7°. Best body text is #FFFFFF at 12.09:1 contrast (WCAG AA passes).

Color values

HEX#1B2B86
RGBrgb(27, 43, 134)
HSLhsl(231, 66%, 32%)
HSVhsv(231, 80%, 53%)
CMYKcmyk(79.9%, 67.9%, 0%, 47.5%)
CIE-LABlab(22.59, 28.43, -52.52)
CIE-LCHlch(22.59, 59.72, 298.43°)
OKLaboklab(34.4% -0.0034 -0.152)
OKLCHoklch(34.4% 0.152 268.7)
XYZxyz(5.6175, 3.6814, 22.9641)
Luminance0.0368 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2B86 #86761B
analogous
#1B6186 #1B2B86 #411B86
triadic
#1B2B86 #861B2B #2B861B
tetradic
#1B2B86 #861B61 #86761B #1B8641
square
#1B2B86 #861B61 #86761B #1B8641
split-complementary
#1B2B86 #86411B #61861B
monochromatic
#060A20 #111B53 #1B2B86 #253BB9 #4259D9

Accessibility & contrast

On white

12.09
#1B2B86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#1B2B86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2B86
12.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2B86#FFFFFF#000000##FFFFFF
##1B2B861.0012.091.7412.09
#FFFFFF12.091.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B89
Deuteranopia (green-blind)
#003184
Tritanopia (blue-blind)
#004354
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1b2b86;
/* rgb */ color: rgb(27, 43, 134);
/* oklch */ color: oklch(34.4% 0.152 268.7);
Tailwind
colors: {
  custom: {
    50: '#6b64aa',
    500: '#1b2b86',
    950: '#000000',
  },
}
SCSS
$custom: #1b2b86;
$custom-light: #6b64aa;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2b86",
  "rgb": {
    "r": 27,
    "g": 43,
    "b": 134
  },
  "hsl": {
    "h": 231.028,
    "s": 66.46,
    "l": 31.569
  },
  "oklch": {
    "l": 0.34396,
    "c": 0.15204,
    "h": 268.7
  },
  "luminance": 0.03682
}

Semantic roles & 50–950 ramp

primary
#1B2B86
secondary
#B9A844
accent
#D03EE9
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080510
muted
#7A7A7F

Preview Lab

Preview with #1B2B86

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

Preview Lab → · Contrast checker → · Palette generator →

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