#1B3289#1B3289

#1B3289 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.0% C 0.147 H 267.0°. Best body text is #FFFFFF at 11.27:1 contrast (WCAG AA passes).

Color values

HEX#1B3289
RGBrgb(27, 50, 137)
HSLhsl(227, 67%, 32%)
HSVhsv(227, 80%, 54%)
CMYKcmyk(80.3%, 63.5%, 0%, 46.3%)
CIE-LABlab(24.70, 24.82, -50.93)
CIE-LCHlch(24.70, 56.66, 295.98°)
OKLaboklab(36.04% -0.0077 -0.1473)
OKLCHoklch(36.04% 0.147 267)
XYZxyz(6.1064, 4.3197, 24.1740)
Luminance0.0432 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3289 #89721B
analogous
#1B6989 #1B3289 #3B1B89
triadic
#1B3289 #891B32 #32891B
tetradic
#1B3289 #891B69 #89721B #1B893B
square
#1B3289 #891B69 #89721B #1B893B
split-complementary
#1B3289 #893B1B #69891B
monochromatic
#070D23 #111F56 #1B3289 #2545BC #4464DA

Accessibility & contrast

On white

11.27
#1B3289 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#1B3289 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3289
11.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3289#FFFFFF#000000##FFFFFF
##1B32891.0011.271.8611.27
#FFFFFF11.271.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.271.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1b3289;
/* rgb */ color: rgb(27, 50, 137);
/* oklch */ color: oklch(36.0% 0.147 267.0);
Tailwind
colors: {
  custom: {
    50: '#6b69ac',
    500: '#1b3289',
    950: '#000000',
  },
}
SCSS
$custom: #1b3289;
$custom-light: #6b69ac;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3289",
  "rgb": {
    "r": 27,
    "g": 50,
    "b": 137
  },
  "hsl": {
    "h": 227.455,
    "s": 67.073,
    "l": 32.157
  },
  "oklch": {
    "l": 0.36038,
    "c": 0.14749,
    "h": 267
  },
  "luminance": 0.0432
}

Semantic roles & 50–950 ramp

primary
#1B3289
secondary
#BCA344
accent
#C63EEA
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080610
muted
#7A7A7F

Preview Lab

Preview with #1B3289

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

Preview Lab → · Contrast checker → · Palette generator →

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