#1B3671#1B3671

#1B3671 is a dark, moderate blue. Relative luminance 0.041; OKLCH L 34.8% C 0.107 H 263.4°. Best body text is #FFFFFF at 11.58:1 contrast (WCAG AA passes).

Color values

HEX#1B3671
RGBrgb(27, 54, 113)
HSLhsl(221, 61%, 27%)
HSVhsv(221, 76%, 44%)
CMYKcmyk(76.1%, 52.2%, 0%, 55.7%)
CIE-LABlab(23.88, 12.29, -37.12)
CIE-LCHlch(23.88, 39.10, 288.32°)
OKLaboklab(34.8% -0.0124 -0.1066)
OKLCHoklch(34.8% 0.107 263.4)
XYZxyz(4.7507, 4.0631, 16.1535)
Luminance0.0406 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3671 #71561B
analogous
#1B6171 #1B3671 #2B1B71
triadic
#1B3671 #711B36 #36711B
tetradic
#1B3671 #711B61 #71561B #1B712B
square
#1B3671 #711B61 #71561B #1B712B
split-complementary
#1B3671 #712B1B #61711B
monochromatic
#060C19 #0F1E40 #1B3671 #274EA2 #3767CF

Accessibility & contrast

On white

11.58
#1B3671 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#1B3671 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3671
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3671#FFFFFF#000000##FFFFFF
##1B36711.0011.581.8111.58
#FFFFFF11.581.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#133D73
Deuteranopia (green-blind)
#003570
Tritanopia (blue-blind)
#00444E
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #1b3671;
/* rgb */ color: rgb(27, 54, 113);
/* oklch */ color: oklch(34.8% 0.107 263.4);
Tailwind
colors: {
  custom: {
    50: '#646c9a',
    500: '#1b3671',
    950: '#000000',
  },
}
SCSS
$custom: #1b3671;
$custom-light: #646c9a;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3671",
  "rgb": {
    "r": 27,
    "g": 54,
    "b": 113
  },
  "hsl": {
    "h": 221.163,
    "s": 61.429,
    "l": 27.451
  },
  "oklch": {
    "l": 0.34802,
    "c": 0.10736,
    "h": 263.4
  },
  "luminance": 0.04064
}

Semantic roles & 50–950 ramp

primary
#1B3671
secondary
#A68642
accent
#B243E5
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #1B3671

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

Preview Lab → · Contrast checker → · Palette generator →

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