#1B4D87#1B4D87

#1B4D87 is a dark, moderate cyan. Relative luminance 0.073; OKLCH L 41.9% C 0.110 H 254.5°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#1B4D87
RGBrgb(27, 77, 135)
HSLhsl(212, 67%, 32%)
HSVhsv(212, 80%, 53%)
CMYKcmyk(80%, 43%, 0%, 47.1%)
CIE-LABlab(32.46, 5.38, -37.15)
CIE-LCHlch(32.46, 37.54, 278.24°)
OKLaboklab(41.89% -0.0294 -0.1063)
OKLCHoklch(41.89% 0.11 254.5)
XYZxyz(7.4774, 7.2892, 23.9298)
Luminance0.0729 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4D87 #87551B
analogous
#1B8387 #1B4D87 #1F1B87
triadic
#1B4D87 #871B4D #4D871B
tetradic
#1B4D87 #871B83 #87551B #1B871F
square
#1B4D87 #871B83 #87551B #1B871F
split-complementary
#1B4D87 #871F1B #83871B
monochromatic
#071321 #113054 #1B4D87 #256ABA #4389D9

Accessibility & contrast

On white

8.54
#1B4D87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#1B4D87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4D87
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4D87#FFFFFF#000000##FFFFFF
##1B4D871.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315289
Deuteranopia (green-blind)
#1E4886
Tritanopia (blue-blind)
#005B63
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #1b4d87;
/* rgb */ color: rgb(27, 77, 135);
/* oklch */ color: oklch(41.9% 0.110 254.5);
Tailwind
colors: {
  custom: {
    50: '#697eaa',
    500: '#1b4d87',
    950: '#000000',
  },
}
SCSS
$custom: #1b4d87;
$custom-light: #697eaa;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4d87",
  "rgb": {
    "r": 27,
    "g": 77,
    "b": 135
  },
  "hsl": {
    "h": 212.222,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.41894,
    "c": 0.11026,
    "h": 254.5
  },
  "luminance": 0.0729
}

Semantic roles & 50–950 ramp

primary
#1B4D87
secondary
#BA8344
accent
#9A3EEA
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070910
muted
#7A7B7F

Preview Lab

Preview with #1B4D87

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

Preview Lab → · Contrast checker → · Palette generator →

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