#1B4B87#1B4B87

#1B4B87 is a dark, moderate cyan. Relative luminance 0.070; OKLCH L 41.4% C 0.113 H 255.8°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#1B4B87
RGBrgb(27, 75, 135)
HSLhsl(213, 67%, 32%)
HSVhsv(213, 80%, 53%)
CMYKcmyk(80%, 44.4%, 0%, 47.1%)
CIE-LABlab(31.84, 6.72, -38.14)
CIE-LCHlch(31.84, 38.73, 280.00°)
OKLaboklab(41.41% -0.0276 -0.1092)
OKLCHoklch(41.41% 0.113 255.8)
XYZxyz(7.3396, 7.0136, 23.8839)
Luminance0.0701 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4B87 #87571B
analogous
#1B8187 #1B4B87 #211B87
triadic
#1B4B87 #871B4B #4B871B
tetradic
#1B4B87 #871B81 #87571B #1B8721
square
#1B4B87 #871B81 #87571B #1B8721
split-complementary
#1B4B87 #87211B #81871B
monochromatic
#071221 #112F54 #1B4B87 #2567BA #4386D9

Accessibility & contrast

On white

8.74
#1B4B87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#1B4B87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4B87
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4B87#FFFFFF#000000##FFFFFF
##1B4B871.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5089
Deuteranopia (green-blind)
#184686
Tritanopia (blue-blind)
#005962
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #1b4b87;
/* rgb */ color: rgb(27, 75, 135);
/* oklch */ color: oklch(41.4% 0.113 255.8);
Tailwind
colors: {
  custom: {
    50: '#697caa',
    500: '#1b4b87',
    950: '#000000',
  },
}
SCSS
$custom: #1b4b87;
$custom-light: #697caa;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4b87",
  "rgb": {
    "r": 27,
    "g": 75,
    "b": 135
  },
  "hsl": {
    "h": 213.333,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.41414,
    "c": 0.11264,
    "h": 255.8
  },
  "luminance": 0.07014
}

Semantic roles & 50–950 ramp

primary
#1B4B87
secondary
#BA8544
accent
#9D3EEA
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070910
muted
#7A7B7F

Preview Lab

Preview with #1B4B87

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

Preview Lab → · Contrast checker → · Palette generator →

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