#1B3389#1B3389

#1B3389 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.2% C 0.146 H 266.7°. Best body text is #FFFFFF at 11.16:1 contrast (WCAG AA passes).

Color values

HEX#1B3389
RGBrgb(27, 51, 137)
HSLhsl(227, 67%, 32%)
HSVhsv(227, 80%, 54%)
CMYKcmyk(80.3%, 62.8%, 0%, 46.3%)
CIE-LABlab(24.97, 24.13, -50.49)
CIE-LCHlch(24.97, 55.96, 295.54°)
OKLaboklab(36.24% -0.0084 -0.146)
OKLCHoklch(36.24% 0.146 266.7)
XYZxyz(6.1496, 4.4061, 24.1884)
Luminance0.0441 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3389 #89711B
analogous
#1B6A89 #1B3389 #3A1B89
triadic
#1B3389 #891B33 #33891B
tetradic
#1B3389 #891B6A #89711B #1B893A
square
#1B3389 #891B6A #89711B #1B893A
split-complementary
#1B3389 #893A1B #6A891B
monochromatic
#070D23 #112056 #1B3389 #2546BC #4465DA

Accessibility & contrast

On white

11.16
#1B3389 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#1B3389 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3389
11.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3389#FFFFFF#000000##FFFFFF
##1B33891.0011.161.8811.16
#FFFFFF11.161.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418C
Deuteranopia (green-blind)
#003687
Tritanopia (blue-blind)
#004959
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #1b3389;
/* rgb */ color: rgb(27, 51, 137);
/* oklch */ color: oklch(36.2% 0.146 266.7);
Tailwind
colors: {
  custom: {
    50: '#6b6aac',
    500: '#1b3389',
    950: '#000000',
  },
}
SCSS
$custom: #1b3389;
$custom-light: #6b6aac;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3389",
  "rgb": {
    "r": 27,
    "g": 51,
    "b": 137
  },
  "hsl": {
    "h": 226.909,
    "s": 67.073,
    "l": 32.157
  },
  "oklch": {
    "l": 0.36238,
    "c": 0.14622,
    "h": 266.7
  },
  "luminance": 0.04407
}

Semantic roles & 50–950 ramp

primary
#1B3389
secondary
#BCA244
accent
#C43EEA
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080610
muted
#7A7A7F

Preview Lab

Preview with #1B3389

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

Preview Lab → · Contrast checker → · Palette generator →

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