#1B517C#1B517C

#1B517C is a dark, moderate cyan. Relative luminance 0.076; OKLCH L 42.2% C 0.091 H 246.5°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#1B517C
RGBrgb(27, 81, 124)
HSLhsl(207, 64%, 30%)
HSVhsv(207, 78%, 49%)
CMYKcmyk(78.2%, 34.7%, 0%, 51.4%)
CIE-LABlab(33.08, -1.64, -29.37)
CIE-LCHlch(33.08, 29.42, 266.80°)
OKLaboklab(42.17% -0.0362 -0.0834)
OKLCHoklch(42.17% 0.091 246.5)
XYZxyz(7.0311, 7.5723, 20.1559)
Luminance0.0757 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B517C #7C461B
analogous
#1B7C77 #1B517C #1B217C
triadic
#1B517C #7C1B51 #517C1B
tetradic
#1B517C #771B7C #7C461B #217C1B
square
#1B517C #771B7C #7C461B #217C1B
split-complementary
#1B517C #7C1B21 #7C771B
monochromatic
#051019 #10304A #1B517C #2672AE #3D91D5

Accessibility & contrast

On white

8.35
#1B517C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#1B517C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B517C
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B517C#FFFFFF#000000##FFFFFF
##1B517C1.008.352.518.35
#FFFFFF8.351.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D537E
Deuteranopia (green-blind)
#2F4A7B
Tritanopia (blue-blind)
#005B60
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #1b517c;
/* rgb */ color: rgb(27, 81, 124);
/* oklch */ color: oklch(42.2% 0.091 246.5);
Tailwind
colors: {
  custom: {
    50: '#6681a2',
    500: '#1b517c',
    950: '#000000',
  },
}
SCSS
$custom: #1b517c;
$custom-light: #6681a2;
$custom-dark: #000000;
JSON
{
  "hex": "#1b517c",
  "rgb": {
    "r": 27,
    "g": 81,
    "b": 124
  },
  "hsl": {
    "h": 206.598,
    "s": 64.238,
    "l": 29.608
  },
  "oklch": {
    "l": 0.4217,
    "c": 0.09093,
    "h": 246.5
  },
  "luminance": 0.07573
}

Semantic roles & 50–950 ramp

primary
#1B517C
secondary
#B07343
accent
#8A41E7
background
#F6F7FA
surface
#EBEEF3
border
#C6C9CD
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #1B517C

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

Preview Lab → · Contrast checker → · Palette generator →

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