#1B2986#1B2986

#1B2986 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.0% C 0.154 H 269.2°. Best body text is #FFFFFF at 12.30:1 contrast (WCAG AA passes).

Color values

HEX#1B2986
RGBrgb(27, 41, 134)
HSLhsl(232, 66%, 32%)
HSVhsv(232, 80%, 53%)
CMYKcmyk(79.9%, 69.4%, 0%, 47.5%)
CIE-LABlab(22.09, 29.77, -53.34)
CIE-LCHlch(22.09, 61.09, 299.17°)
OKLaboklab(34.03% -0.0022 -0.1544)
OKLCHoklch(34.03% 0.154 269.2)
XYZxyz(5.5465, 3.5395, 22.9405)
Luminance0.0354 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2986 #86781B
analogous
#1B5F86 #1B2986 #431B86
triadic
#1B2986 #861B29 #29861B
tetradic
#1B2986 #861B5F #86781B #1B8643
square
#1B2986 #861B5F #86781B #1B8643
split-complementary
#1B2986 #86431B #5F861B
monochromatic
#060A20 #111953 #1B2986 #2539B9 #4256D9

Accessibility & contrast

On white

12.30
#1B2986 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#1B2986 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2986
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2986#FFFFFF#000000##FFFFFF
##1B29861.0012.301.7112.30
#FFFFFF12.301.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A89
Deuteranopia (green-blind)
#003084
Tritanopia (blue-blind)
#004254
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1b2986;
/* rgb */ color: rgb(27, 41, 134);
/* oklch */ color: oklch(34.0% 0.154 269.2);
Tailwind
colors: {
  custom: {
    50: '#6b63aa',
    500: '#1b2986',
    950: '#000000',
  },
}
SCSS
$custom: #1b2986;
$custom-light: #6b63aa;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2986",
  "rgb": {
    "r": 27,
    "g": 41,
    "b": 134
  },
  "hsl": {
    "h": 232.15,
    "s": 66.46,
    "l": 31.569
  },
  "oklch": {
    "l": 0.3403,
    "c": 0.15444,
    "h": 269.2
  },
  "luminance": 0.0354
}

Semantic roles & 50–950 ramp

primary
#1B2986
secondary
#B9AA44
accent
#D33EE9
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#080510
muted
#7A797F

Preview Lab

Preview with #1B2986

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

Preview Lab → · Contrast checker → · Palette generator →

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