#1B4B82#1B4B82

#1B4B82 is a dark, moderate cyan. Relative luminance 0.069; OKLCH L 41.1% C 0.106 H 254.2°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#1B4B82
RGBrgb(27, 75, 130)
HSLhsl(212, 66%, 31%)
HSVhsv(212, 79%, 51%)
CMYKcmyk(79.2%, 42.3%, 0%, 49%)
CIE-LABlab(31.52, 4.70, -35.55)
CIE-LCHlch(31.52, 35.86, 277.53°)
OKLaboklab(41.07% -0.0287 -0.1016)
OKLCHoklch(41.07% 0.106 254.2)
XYZxyz(6.9958, 6.8761, 22.0733)
Luminance0.0688 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4B82 #82521B
analogous
#1B7E82 #1B4B82 #1F1B82
triadic
#1B4B82 #821B4B #4B821B
tetradic
#1B4B82 #821B7E #82521B #1B821F
square
#1B4B82 #821B7E #82521B #1B821F
split-complementary
#1B4B82 #821F1B #7E821B
monochromatic
#06111D #102E4F #1B4B82 #2668B5 #4087D7

Accessibility & contrast

On white

8.84
#1B4B82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#1B4B82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4B82
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4B82#FFFFFF#000000##FFFFFF
##1B4B821.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304F84
Deuteranopia (green-blind)
#1F4681
Tritanopia (blue-blind)
#005860
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #1b4b82;
/* rgb */ color: rgb(27, 75, 130);
/* oklch */ color: oklch(41.1% 0.106 254.2);
Tailwind
colors: {
  custom: {
    50: '#687ca7',
    500: '#1b4b82',
    950: '#000000',
  },
}
SCSS
$custom: #1b4b82;
$custom-light: #687ca7;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4b82",
  "rgb": {
    "r": 27,
    "g": 75,
    "b": 130
  },
  "hsl": {
    "h": 212.039,
    "s": 65.605,
    "l": 30.784
  },
  "oklch": {
    "l": 0.41067,
    "c": 0.1056,
    "h": 254.2
  },
  "luminance": 0.06877
}

Semantic roles & 50–950 ramp

primary
#1B4B82
secondary
#B68043
accent
#9A3FE9
background
#F6F7FA
surface
#EBEEF4
border
#C6C9CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #1B4B82

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

Preview Lab → · Contrast checker → · Palette generator →

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