#1B3376#1B3376

#1B3376 is a dark, moderate blue. Relative luminance 0.039; OKLCH L 34.5% C 0.119 H 265.6°. Best body text is #FFFFFF at 11.79:1 contrast (WCAG AA passes).

Color values

HEX#1B3376
RGBrgb(27, 51, 118)
HSLhsl(224, 63%, 28%)
HSVhsv(224, 77%, 46%)
CMYKcmyk(77.1%, 56.8%, 0%, 53.7%)
CIE-LABlab(23.37, 16.47, -41.14)
CIE-LCHlch(23.37, 44.32, 291.82°)
OKLaboklab(34.53% -0.0091 -0.1185)
OKLCHoklch(34.53% 0.119 265.6)
XYZxyz(4.9047, 3.9081, 17.6319)
Luminance0.0391 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3376 #765E1B
analogous
#1B6076 #1B3376 #301B76
triadic
#1B3376 #761B33 #33761B
tetradic
#1B3376 #761B60 #765E1B #1B7630
square
#1B3376 #761B60 #765E1B #1B7630
split-complementary
#1B3376 #76301B #60761B
monochromatic
#060B19 #101D44 #1B3376 #2649A8 #3A62D2

Accessibility & contrast

On white

11.79
#1B3376 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#1B3376 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3376
11.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3376#FFFFFF#000000##FFFFFF
##1B33761.0011.791.7811.79
#FFFFFF11.791.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C78
Deuteranopia (green-blind)
#003475
Tritanopia (blue-blind)
#00434F
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #1b3376;
/* rgb */ color: rgb(27, 51, 118);
/* oklch */ color: oklch(34.5% 0.119 265.6);
Tailwind
colors: {
  custom: {
    50: '#666a9e',
    500: '#1b3376',
    950: '#000000',
  },
}
SCSS
$custom: #1b3376;
$custom-light: #666a9e;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3376",
  "rgb": {
    "r": 27,
    "g": 51,
    "b": 118
  },
  "hsl": {
    "h": 224.176,
    "s": 62.759,
    "l": 28.431
  },
  "oklch": {
    "l": 0.34534,
    "c": 0.11888,
    "h": 265.6
  },
  "luminance": 0.03909
}

Semantic roles & 50–950 ramp

primary
#1B3376
secondary
#AA8F42
accent
#BB42E6
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #1B3376

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

Preview Lab → · Contrast checker → · Palette generator →

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