#1B2486#1B2486

#1B2486 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.2% C 0.160 H 270.1°. Best body text is #FFFFFF at 12.78:1 contrast (WCAG AA passes).

Color values

HEX#1B2486
RGBrgb(27, 36, 134)
HSLhsl(235, 66%, 32%)
HSVhsv(235, 80%, 53%)
CMYKcmyk(79.9%, 73.1%, 0%, 47.5%)
CIE-LABlab(20.89, 33.04, -55.32)
CIE-LCHlch(20.89, 64.43, 300.85°)
OKLaboklab(33.16% 0.0003 -0.1602)
OKLCHoklch(33.16% 0.16 270.1)
XYZxyz(5.3845, 3.2154, 22.8865)
Luminance0.0322 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2486 #867D1B
analogous
#1B5A86 #1B2486 #481B86
triadic
#1B2486 #861B24 #24861B
tetradic
#1B2486 #861B5A #867D1B #1B8648
square
#1B2486 #861B5A #867D1B #1B8648
split-complementary
#1B2486 #86481B #5A861B
monochromatic
#060920 #111653 #1B2486 #2532B9 #424FD9

Accessibility & contrast

On white

12.78
#1B2486 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#1B2486 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2486
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2486#FFFFFF#000000##FFFFFF
##1B24861.0012.781.6412.78
#FFFFFF12.781.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003789
Deuteranopia (green-blind)
#002D84
Tritanopia (blue-blind)
#004052
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1b2486;
/* rgb */ color: rgb(27, 36, 134);
/* oklch */ color: oklch(33.2% 0.160 270.1);
Tailwind
colors: {
  custom: {
    50: '#6b5faa',
    500: '#1b2486',
    950: '#000000',
  },
}
SCSS
$custom: #1b2486;
$custom-light: #6b5faa;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2486",
  "rgb": {
    "r": 27,
    "g": 36,
    "b": 134
  },
  "hsl": {
    "h": 234.953,
    "s": 66.46,
    "l": 31.569
  },
  "oklch": {
    "l": 0.33161,
    "c": 0.16019,
    "h": 270.1
  },
  "luminance": 0.03216
}

Semantic roles & 50–950 ramp

primary
#1B2486
secondary
#B9AF44
accent
#DB3EE9
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1B2486

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

Preview Lab → · Contrast checker → · Palette generator →

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