#1B4E84#1B4E84

#1B4E84 is a dark, moderate cyan. Relative luminance 0.073; OKLCH L 41.9% C 0.105 H 252.8°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#1B4E84
RGBrgb(27, 78, 132)
HSLhsl(211, 66%, 31%)
HSVhsv(211, 80%, 52%)
CMYKcmyk(79.5%, 40.9%, 0%, 48.2%)
CIE-LABlab(32.58, 3.51, -35.10)
CIE-LCHlch(32.58, 35.27, 275.71°)
OKLaboklab(41.93% -0.031 -0.1002)
OKLCHoklch(41.93% 0.105 252.8)
XYZxyz(7.3397, 7.3469, 22.8566)
Luminance0.0735 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4E84 #84511B
analogous
#1B8284 #1B4E84 #1C1B84
triadic
#1B4E84 #841B4E #4E841B
tetradic
#1B4E84 #841B82 #84511B #1B841C
square
#1B4E84 #841B82 #84511B #1B841C
split-complementary
#1B4E84 #841C1B #82841B
monochromatic
#06121E #113051 #1B4E84 #256CB7 #418BD8

Accessibility & contrast

On white

8.50
#1B4E84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#1B4E84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4E84
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4E84#FFFFFF#000000##FFFFFF
##1B4E841.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345286
Deuteranopia (green-blind)
#234883
Tritanopia (blue-blind)
#005B62
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #1b4e84;
/* rgb */ color: rgb(27, 78, 132);
/* oklch */ color: oklch(41.9% 0.105 252.8);
Tailwind
colors: {
  custom: {
    50: '#687fa8',
    500: '#1b4e84',
    950: '#000000',
  },
}
SCSS
$custom: #1b4e84;
$custom-light: #687fa8;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4e84",
  "rgb": {
    "r": 27,
    "g": 78,
    "b": 132
  },
  "hsl": {
    "h": 210.857,
    "s": 66.038,
    "l": 31.176
  },
  "oklch": {
    "l": 0.41934,
    "c": 0.10493,
    "h": 252.8
  },
  "luminance": 0.07348
}

Semantic roles & 50–950 ramp

primary
#1B4E84
secondary
#B77F43
accent
#963FE9
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #1B4E84

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

Preview Lab → · Contrast checker → · Palette generator →

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