#1B3776#1B3776

#1B3776 is a dark, moderate blue. Relative luminance 0.043; OKLCH L 35.4% C 0.113 H 263.6°. Best body text is #FFFFFF at 11.32:1 contrast (WCAG AA passes).

Color values

HEX#1B3776
RGBrgb(27, 55, 118)
HSLhsl(222, 63%, 28%)
HSVhsv(222, 77%, 46%)
CMYKcmyk(77.1%, 53.4%, 0%, 53.7%)
CIE-LABlab(24.55, 13.63, -39.22)
CIE-LCHlch(24.55, 41.52, 289.16°)
OKLaboklab(35.44% -0.0126 -0.1128)
OKLCHoklch(35.44% 0.113 263.6)
XYZxyz(5.0870, 4.2728, 17.6927)
Luminance0.0427 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3776 #765A1B
analogous
#1B6476 #1B3776 #2C1B76
triadic
#1B3776 #761B37 #37761B
tetradic
#1B3776 #761B64 #765A1B #1B762C
square
#1B3776 #761B64 #765A1B #1B762C
split-complementary
#1B3776 #762C1B #64761B
monochromatic
#060C19 #102044 #1B3776 #264EA8 #3A68D2

Accessibility & contrast

On white

11.32
#1B3776 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B3776
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3776#FFFFFF#000000##FFFFFF
##1B37761.0011.321.8511.32
#FFFFFF11.321.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F3F78
Deuteranopia (green-blind)
#003675
Tritanopia (blue-blind)
#004651
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #1b3776;
/* rgb */ color: rgb(27, 55, 118);
/* oklch */ color: oklch(35.4% 0.113 263.6);
Tailwind
colors: {
  custom: {
    50: '#656d9e',
    500: '#1b3776',
    950: '#000000',
  },
}
SCSS
$custom: #1b3776;
$custom-light: #656d9e;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3776",
  "rgb": {
    "r": 27,
    "g": 55,
    "b": 118
  },
  "hsl": {
    "h": 221.538,
    "s": 62.759,
    "l": 28.431
  },
  "oklch": {
    "l": 0.35435,
    "c": 0.11349,
    "h": 263.6
  },
  "luminance": 0.04273
}

Semantic roles & 50–950 ramp

primary
#1B3776
secondary
#AA8A42
accent
#B342E6
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #1B3776

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

Preview Lab → · Contrast checker → · Palette generator →

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