#1B4E87#1B4E87

#1B4E87 is a dark, moderate cyan. Relative luminance 0.074; OKLCH L 42.1% C 0.109 H 253.9°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#1B4E87
RGBrgb(27, 78, 135)
HSLhsl(212, 67%, 32%)
HSVhsv(212, 80%, 53%)
CMYKcmyk(80%, 42.2%, 0%, 47.1%)
CIE-LABlab(32.77, 4.71, -36.65)
CIE-LCHlch(32.77, 36.96, 277.33°)
OKLaboklab(42.14% -0.0303 -0.1048)
OKLCHoklch(42.14% 0.109 253.9)
XYZxyz(7.5479, 7.4302, 23.9533)
Luminance0.0743 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4E87 #87541B
analogous
#1B8487 #1B4E87 #1E1B87
triadic
#1B4E87 #871B4E #4E871B
tetradic
#1B4E87 #871B84 #87541B #1B871E
square
#1B4E87 #871B84 #87541B #1B871E
split-complementary
#1B4E87 #871E1B #84871B
monochromatic
#071321 #113154 #1B4E87 #256BBA #438AD9

Accessibility & contrast

On white

8.45
#1B4E87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#1B4E87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4E87
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4E87#FFFFFF#000000##FFFFFF
##1B4E871.008.452.498.45
#FFFFFF8.451.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325289
Deuteranopia (green-blind)
#204986
Tritanopia (blue-blind)
#005C64
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #1b4e87;
/* rgb */ color: rgb(27, 78, 135);
/* oklch */ color: oklch(42.1% 0.109 253.9);
Tailwind
colors: {
  custom: {
    50: '#697faa',
    500: '#1b4e87',
    950: '#000000',
  },
}
SCSS
$custom: #1b4e87;
$custom-light: #697faa;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4e87",
  "rgb": {
    "r": 27,
    "g": 78,
    "b": 135
  },
  "hsl": {
    "h": 211.667,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.42136,
    "c": 0.10908,
    "h": 253.9
  },
  "luminance": 0.07431
}

Semantic roles & 50–950 ramp

primary
#1B4E87
secondary
#BA8244
accent
#993EEA
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070A10
muted
#7A7C7F

Preview Lab

Preview with #1B4E87

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

Preview Lab → · Contrast checker → · Palette generator →

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