#1B3377#1B3377

#1B3377 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 34.6% C 0.120 H 265.7°. Best body text is #FFFFFF at 11.75:1 contrast (WCAG AA passes).

Color values

HEX#1B3377
RGBrgb(27, 51, 119)
HSLhsl(224, 63%, 29%)
HSVhsv(224, 77%, 47%)
CMYKcmyk(77.3%, 57.1%, 0%, 53.3%)
CIE-LABlab(23.45, 16.88, -41.65)
CIE-LCHlch(23.45, 44.94, 292.06°)
OKLaboklab(34.62% -0.0091 -0.12)
OKLCHoklch(34.62% 0.12 265.7)
XYZxyz(4.9644, 3.9320, 17.9465)
Luminance0.0393 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3377 #775F1B
analogous
#1B6177 #1B3377 #311B77
triadic
#1B3377 #771B33 #33771B
tetradic
#1B3377 #771B61 #775F1B #1B7731
square
#1B3377 #771B61 #775F1B #1B7731
split-complementary
#1B3377 #77311B #61771B
monochromatic
#060B19 #101E45 #1B3377 #2648A9 #3A62D2

Accessibility & contrast

On white

11.75
#1B3377 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#1B3377 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3377
11.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3377#FFFFFF#000000##FFFFFF
##1B33771.0011.751.7911.75
#FFFFFF11.751.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C79
Deuteranopia (green-blind)
#003476
Tritanopia (blue-blind)
#00444F
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #1b3377;
/* rgb */ color: rgb(27, 51, 119);
/* oklch */ color: oklch(34.6% 0.120 265.7);
Tailwind
colors: {
  custom: {
    50: '#666a9f',
    500: '#1b3377',
    950: '#000000',
  },
}
SCSS
$custom: #1b3377;
$custom-light: #666a9f;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3377",
  "rgb": {
    "r": 27,
    "g": 51,
    "b": 119
  },
  "hsl": {
    "h": 224.348,
    "s": 63.014,
    "l": 28.627
  },
  "oklch": {
    "l": 0.34619,
    "c": 0.12036,
    "h": 265.7
  },
  "luminance": 0.03933
}

Semantic roles & 50–950 ramp

primary
#1B3377
secondary
#AB9042
accent
#BB42E6
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #1B3377

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

Preview Lab → · Contrast checker → · Palette generator →

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