#1B3A77#1B3A77

#1B3A77 is a dark, moderate blue. Relative luminance 0.046; OKLCH L 36.2% C 0.111 H 262.1°. Best body text is #FFFFFF at 10.95:1 contrast (WCAG AA passes).

Color values

HEX#1B3A77
RGBrgb(27, 58, 119)
HSLhsl(220, 63%, 29%)
HSVhsv(220, 77%, 47%)
CMYKcmyk(77.3%, 51.3%, 0%, 53.3%)
CIE-LABlab(25.53, 11.92, -38.27)
CIE-LCHlch(25.53, 40.08, 287.30°)
OKLaboklab(36.21% -0.0152 -0.1099)
OKLCHoklch(36.21% 0.111 262.1)
XYZxyz(5.2936, 4.5904, 18.0562)
Luminance0.0459 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3A77 #77581B
analogous
#1B6877 #1B3A77 #2A1B77
triadic
#1B3A77 #771B3A #3A771B
tetradic
#1B3A77 #771B68 #77581B #1B772A
square
#1B3A77 #771B68 #77581B #1B772A
split-complementary
#1B3A77 #772A1B #68771B
monochromatic
#060C19 #102245 #1B3A77 #2652A9 #3A6DD2

Accessibility & contrast

On white

10.95
#1B3A77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#1B3A77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3A77
10.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3A77#FFFFFF#000000##FFFFFF
##1B3A771.0010.951.9210.95
#FFFFFF10.951.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174179
Deuteranopia (green-blind)
#003976
Tritanopia (blue-blind)
#004952
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #1b3a77;
/* rgb */ color: rgb(27, 58, 119);
/* oklch */ color: oklch(36.2% 0.111 262.1);
Tailwind
colors: {
  custom: {
    50: '#666f9f',
    500: '#1b3a77',
    950: '#000000',
  },
}
SCSS
$custom: #1b3a77;
$custom-light: #666f9f;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3a77",
  "rgb": {
    "r": 27,
    "g": 58,
    "b": 119
  },
  "hsl": {
    "h": 219.783,
    "s": 63.014,
    "l": 28.627
  },
  "oklch": {
    "l": 0.36207,
    "c": 0.11098,
    "h": 262.1
  },
  "luminance": 0.04591
}

Semantic roles & 50–950 ramp

primary
#1B3A77
secondary
#AB8842
accent
#AF42E6
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #1B3A77

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

Preview Lab → · Contrast checker → · Palette generator →

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