#1B4C82#1B4C82

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

Color values

HEX#1B4C82
RGBrgb(27, 76, 130)
HSLhsl(211, 66%, 31%)
HSVhsv(211, 79%, 51%)
CMYKcmyk(79.2%, 41.5%, 0%, 49%)
CIE-LABlab(31.84, 4.03, -35.05)
CIE-LCHlch(31.84, 35.29, 276.56°)
OKLaboklab(41.31% -0.0296 -0.1001)
OKLCHoklch(41.31% 0.104 253.5)
XYZxyz(7.0642, 7.0128, 22.0961)
Luminance0.0701 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4C82 #82511B
analogous
#1B7F82 #1B4C82 #1D1B82
triadic
#1B4C82 #821B4C #4C821B
tetradic
#1B4C82 #821B7F #82511B #1B821D
square
#1B4C82 #821B7F #82511B #1B821D
split-complementary
#1B4C82 #821D1B #7F821B
monochromatic
#06111D #102E4F #1B4C82 #266AB5 #4088D7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1B4C82#FFFFFF#000000##FFFFFF
##1B4C821.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)
#325084
Deuteranopia (green-blind)
#214781
Tritanopia (blue-blind)
#005960
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #1b4c82;
/* rgb */ color: rgb(27, 76, 130);
/* oklch */ color: oklch(41.3% 0.104 253.5);
Tailwind
colors: {
  custom: {
    50: '#687da6',
    500: '#1b4c82',
    950: '#000000',
  },
}
SCSS
$custom: #1b4c82;
$custom-light: #687da6;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4c82",
  "rgb": {
    "r": 27,
    "g": 76,
    "b": 130
  },
  "hsl": {
    "h": 211.456,
    "s": 65.605,
    "l": 30.784
  },
  "oklch": {
    "l": 0.41311,
    "c": 0.10443,
    "h": 253.5
  },
  "luminance": 0.07014
}

Semantic roles & 50–950 ramp

primary
#1B4C82
secondary
#B67F43
accent
#983FE9
background
#F6F7FA
surface
#EBEEF4
border
#C6C9CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #1B4C82

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

Preview Lab → · Contrast checker → · Palette generator →

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