#1B517F#1B517F

#1B517F is a dark, moderate cyan. Relative luminance 0.076; OKLCH L 42.4% C 0.095 H 248.1°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#1B517F
RGBrgb(27, 81, 127)
HSLhsl(208, 65%, 30%)
HSVhsv(208, 79%, 50%)
CMYKcmyk(78.7%, 36.2%, 0%, 50.2%)
CIE-LABlab(33.24, -0.46, -30.97)
CIE-LCHlch(33.24, 30.97, 269.16°)
OKLaboklab(42.36% -0.0353 -0.0881)
OKLCHoklch(42.36% 0.095 248.1)
XYZxyz(7.2237, 7.6493, 21.1703)
Luminance0.0765 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B517F #7F491B
analogous
#1B7F7B #1B517F #1B1F7F
triadic
#1B517F #7F1B51 #517F1B
tetradic
#1B517F #7B1B7F #7F491B #1F7F1B
square
#1B517F #7B1B7F #7F491B #1F7F1B
split-complementary
#1B517F #7F1B1F #7F7B1B
monochromatic
#06111A #10314D #1B517F #2671B1 #3E90D6

Accessibility & contrast

On white

8.30
#1B517F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#1B517F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B517F
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B517F#FFFFFF#000000##FFFFFF
##1B517F1.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5381
Deuteranopia (green-blind)
#2D4A7E
Tritanopia (blue-blind)
#005C62
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #1b517f;
/* rgb */ color: rgb(27, 81, 127);
/* oklch */ color: oklch(42.4% 0.095 248.1);
Tailwind
colors: {
  custom: {
    50: '#6781a4',
    500: '#1b517f',
    950: '#000000',
  },
}
SCSS
$custom: #1b517f;
$custom-light: #6781a4;
$custom-dark: #000000;
JSON
{
  "hex": "#1b517f",
  "rgb": {
    "r": 27,
    "g": 81,
    "b": 127
  },
  "hsl": {
    "h": 207.6,
    "s": 64.935,
    "l": 30.196
  },
  "oklch": {
    "l": 0.42355,
    "c": 0.09488,
    "h": 248.1
  },
  "luminance": 0.0765
}

Semantic roles & 50–950 ramp

primary
#1B517F
secondary
#B37643
accent
#8D40E8
background
#F6F7FA
surface
#EBEEF4
border
#C6C9CE
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #1B517F

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

Preview Lab → · Contrast checker → · Palette generator →

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