#1B517A#1B517A

#1B517A is a dark, moderate cyan. Relative luminance 0.075; OKLCH L 42.0% C 0.088 H 245.3°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#1B517A
RGBrgb(27, 81, 122)
HSLhsl(206, 64%, 29%)
HSVhsv(206, 78%, 48%)
CMYKcmyk(77.9%, 33.6%, 0%, 52.2%)
CIE-LABlab(32.97, -2.43, -28.30)
CIE-LCHlch(32.97, 28.40, 265.10°)
OKLaboklab(42.05% -0.0369 -0.0803)
OKLCHoklch(42.05% 0.088 245.3)
XYZxyz(6.9059, 7.5222, 19.4965)
Luminance0.0752 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B517A #7A441B
analogous
#1B7A74 #1B517A #1B227A
triadic
#1B517A #7A1B51 #517A1B
tetradic
#1B517A #741B7A #7A441B #227A1B
square
#1B517A #741B7A #7A441B #227A1B
split-complementary
#1B517A #7A1B22 #7A741B
monochromatic
#061119 #103048 #1B517A #2672AC #3C92D4

Accessibility & contrast

On white

8.38
#1B517A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#1B517A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B517A
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B517A#FFFFFF#000000##FFFFFF
##1B517A1.008.382.508.38
#FFFFFF8.381.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E527C
Deuteranopia (green-blind)
#314A79
Tritanopia (blue-blind)
#005B60
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #1b517a;
/* rgb */ color: rgb(27, 81, 122);
/* oklch */ color: oklch(42.0% 0.088 245.3);
Tailwind
colors: {
  custom: {
    50: '#6681a0',
    500: '#1b517a',
    950: '#000000',
  },
}
SCSS
$custom: #1b517a;
$custom-light: #6681a0;
$custom-dark: #000000;
JSON
{
  "hex": "#1b517a",
  "rgb": {
    "r": 27,
    "g": 81,
    "b": 122
  },
  "hsl": {
    "h": 205.895,
    "s": 63.758,
    "l": 29.216
  },
  "oklch": {
    "l": 0.42049,
    "c": 0.08834,
    "h": 245.3
  },
  "luminance": 0.07523
}

Semantic roles & 50–950 ramp

primary
#1B517A
secondary
#AE7143
accent
#8941E7
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#070A0F
muted
#7A7C7E

Preview Lab

Preview with #1B517A

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

Preview Lab → · Contrast checker → · Palette generator →

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