#1B4D82#1B4D82

#1B4D82 is a dark, moderate cyan. Relative luminance 0.072; OKLCH L 41.6% C 0.103 H 252.8°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#1B4D82
RGBrgb(27, 77, 130)
HSLhsl(211, 66%, 31%)
HSVhsv(211, 79%, 51%)
CMYKcmyk(79.2%, 40.8%, 0%, 49%)
CIE-LABlab(32.15, 3.37, -34.55)
CIE-LCHlch(32.15, 34.72, 275.57°)
OKLaboklab(41.56% -0.0306 -0.0986)
OKLCHoklch(41.56% 0.103 252.8)
XYZxyz(7.1336, 7.1516, 22.1192)
Luminance0.0715 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4D82 #82501B
analogous
#1B8082 #1B4D82 #1D1B82
triadic
#1B4D82 #821B4D #4D821B
tetradic
#1B4D82 #821B80 #82501B #1B821D
square
#1B4D82 #821B80 #82501B #1B821D
split-complementary
#1B4D82 #821D1B #80821B
monochromatic
#06111D #102F4F #1B4D82 #266BB5 #4089D7

Accessibility & contrast

On white

8.64
#1B4D82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#1B4D82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4D82
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4D82#FFFFFF#000000##FFFFFF
##1B4D821.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345184
Deuteranopia (green-blind)
#234781
Tritanopia (blue-blind)
#005A61
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #1b4d82;
/* rgb */ color: rgb(27, 77, 130);
/* oklch */ color: oklch(41.6% 0.103 252.8);
Tailwind
colors: {
  custom: {
    50: '#687ea6',
    500: '#1b4d82',
    950: '#000000',
  },
}
SCSS
$custom: #1b4d82;
$custom-light: #687ea6;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4d82",
  "rgb": {
    "r": 27,
    "g": 77,
    "b": 130
  },
  "hsl": {
    "h": 210.874,
    "s": 65.605,
    "l": 30.784
  },
  "oklch": {
    "l": 0.41556,
    "c": 0.10329,
    "h": 252.8
  },
  "luminance": 0.07152
}

Semantic roles & 50–950 ramp

primary
#1B4D82
secondary
#B67E43
accent
#963FE9
background
#F6F7FA
surface
#EBEEF4
border
#C6C9CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #1B4D82

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

Preview Lab → · Contrast checker → · Palette generator →

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