#1B3286#1B3286

#1B3286 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.8% C 0.143 H 266.9°. Best body text is #FFFFFF at 11.37:1 contrast (WCAG AA passes).

Color values

HEX#1B3286
RGBrgb(27, 50, 134)
HSLhsl(227, 66%, 32%)
HSVhsv(227, 80%, 53%)
CMYKcmyk(79.9%, 62.7%, 0%, 47.5%)
CIE-LABlab(24.43, 23.63, -49.50)
CIE-LCHlch(24.43, 54.85, 295.52°)
OKLaboklab(35.76% -0.0077 -0.1431)
OKLCHoklch(35.76% 0.143 266.9)
XYZxyz(5.8942, 4.2348, 23.0564)
Luminance0.0423 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3286 #866F1B
analogous
#1B6886 #1B3286 #3A1B86
triadic
#1B3286 #861B32 #32861B
tetradic
#1B3286 #861B68 #866F1B #1B863A
square
#1B3286 #861B68 #866F1B #1B863A
split-complementary
#1B3286 #863A1B #68861B
monochromatic
#060C20 #111F53 #1B3286 #2545B9 #4263D9

Accessibility & contrast

On white

11.37
#1B3286 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#1B3286 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3286
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3286#FFFFFF#000000##FFFFFF
##1B32861.0011.371.8511.37
#FFFFFF11.371.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F89
Deuteranopia (green-blind)
#003584
Tritanopia (blue-blind)
#004857
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #1b3286;
/* rgb */ color: rgb(27, 50, 134);
/* oklch */ color: oklch(35.8% 0.143 266.9);
Tailwind
colors: {
  custom: {
    50: '#6a69aa',
    500: '#1b3286',
    950: '#000000',
  },
}
SCSS
$custom: #1b3286;
$custom-light: #6a69aa;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3286",
  "rgb": {
    "r": 27,
    "g": 50,
    "b": 134
  },
  "hsl": {
    "h": 227.103,
    "s": 66.46,
    "l": 31.569
  },
  "oklch": {
    "l": 0.35756,
    "c": 0.14329,
    "h": 266.9
  },
  "luminance": 0.04235
}

Semantic roles & 50–950 ramp

primary
#1B3286
secondary
#B9A044
accent
#C53EE9
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080610
muted
#7A7A7F

Preview Lab

Preview with #1B3286

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

Preview Lab → · Contrast checker → · Palette generator →

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